XdrCreateClaimableBalanceOperation
in package
Table of Contents
Properties
- $amount : BigInteger
- $asset : XdrAsset
- $claimants : array<string|int, mixed>
Methods
- __construct() : mixed
- decode() : XdrCreateClaimableBalanceOperation
- encode() : string
- fromBase64Xdr() : static
- fromJson() : static
- fromJsonValue() : static
- fromTxRep() : XdrCreateClaimableBalanceOperation
- getAmount() : BigInteger
- getAsset() : XdrAsset
- getClaimants() : array<string|int, mixed>
- setAmount() : void
- setAsset() : void
- setClaimants() : void
- toBase64Xdr() : string
- toJson() : string
- toJsonValue() : array<string|int, mixed>
- toTxRep() : void
Properties
$amount
public
BigInteger
$amount
$asset
public
XdrAsset
$asset
$claimants
public
array<string|int, mixed>
$claimants
Methods
__construct()
public
__construct(XdrAsset $asset, BigInteger $amount, array<string|int, mixed> $claimants) : mixed
Parameters
- $asset : XdrAsset
- $amount : BigInteger
- $claimants : array<string|int, mixed>
decode()
public
static decode(XdrBuffer $xdr) : XdrCreateClaimableBalanceOperation
Parameters
- $xdr : XdrBuffer
Return values
XdrCreateClaimableBalanceOperationencode()
public
encode() : string
Return values
stringfromBase64Xdr()
public
static fromBase64Xdr(string $xdr) : static
Parameters
- $xdr : string
Return values
staticfromJson()
public
static fromJson(string $json) : static
Parameters
- $json : string
Tags
Return values
staticfromJsonValue()
public
static fromJsonValue(mixed $value) : static
Parameters
- $value : mixed
Return values
staticfromTxRep()
public
static fromTxRep(array<string|int, mixed> $map, string $prefix) : XdrCreateClaimableBalanceOperation
Parameters
- $map : array<string|int, mixed>
- $prefix : string
Return values
XdrCreateClaimableBalanceOperationgetAmount()
public
getAmount() : BigInteger
Return values
BigIntegergetAsset()
public
getAsset() : XdrAsset
Return values
XdrAssetgetClaimants()
public
getClaimants() : array<string|int, mixed>
Return values
array<string|int, mixed>setAmount()
public
setAmount(BigInteger $amount) : void
Parameters
- $amount : BigInteger
setAsset()
public
setAsset(XdrAsset $asset) : void
Parameters
- $asset : XdrAsset
setClaimants()
public
setClaimants(array<string|int, mixed> $claimants) : void
Parameters
- $claimants : array<string|int, mixed>
toBase64Xdr()
public
toBase64Xdr() : string
Return values
stringtoJson()
public
toJson() : string
Tags
Return values
stringtoJsonValue()
public
toJsonValue() : array<string|int, mixed>
Return values
array<string|int, mixed>toTxRep()
public
toTxRep(string $prefix, array<string|int, mixed> &$lines) : void
Parameters
- $prefix : string
- $lines : array<string|int, mixed>