XdrSigner
in package
Table of Contents
Properties
- $key : XdrSignerKey
- $weight : int
Methods
- __construct() : mixed
- decode() : XdrSigner
- encode() : string
- fromBase64Xdr() : static
- fromTxRep() : XdrSigner
- getKey() : XdrSignerKey
- getWeight() : int
- setKey() : void
- setWeight() : void
- toBase64Xdr() : string
- toTxRep() : void
Properties
$key
public
XdrSignerKey
$key
$weight
public
int
$weight
Methods
__construct()
public
__construct(XdrSignerKey $key, int $weight) : mixed
Parameters
- $key : XdrSignerKey
- $weight : int
decode()
public
static decode(XdrBuffer $xdr) : XdrSigner
Parameters
- $xdr : XdrBuffer
Return values
XdrSignerencode()
public
encode() : string
Return values
stringfromBase64Xdr()
public
static fromBase64Xdr(string $xdr) : static
Parameters
- $xdr : string
Return values
staticfromTxRep()
public
static fromTxRep(array<string|int, mixed> $map, string $prefix) : XdrSigner
Parameters
- $map : array<string|int, mixed>
- $prefix : string
Return values
XdrSignergetKey()
public
getKey() : XdrSignerKey
Return values
XdrSignerKeygetWeight()
public
getWeight() : int
Return values
intsetKey()
public
setKey(XdrSignerKey $key) : void
Parameters
- $key : XdrSignerKey
setWeight()
public
setWeight(int $weight) : void
Parameters
- $weight : int
toBase64Xdr()
public
toBase64Xdr() : string
Return values
stringtoTxRep()
public
toTxRep(string $prefix, array<string|int, mixed> &$lines) : void
Parameters
- $prefix : string
- $lines : array<string|int, mixed>