Stellar PHP SDK API Documentation

XdrLedgerKey extends XdrLedgerKeyBase
in package

Table of Contents

Properties

$account  : XdrLedgerKeyAccount|null
$balanceID  : XdrClaimableBalanceID|null
$configSetting  : XdrConfigSettingID|null
$contractCode  : XdrLedgerKeyContractCode|null
$contractData  : XdrLedgerKeyContractData|null
$data  : XdrLedgerKeyData|null
$liquidityPool  : XdrLedgerKeyLiquidityPool|null
$liquidityPoolID  : string|null
$offer  : XdrLedgerKeyOffer|null
$trustLine  : XdrLedgerKeyTrustLine|null
$ttl  : XdrLedgerKeyTTL|null
$type  : XdrLedgerEntryType

Methods

__construct()  : mixed
decode()  : static
encode()  : string
forAccountId()  : XdrLedgerKey
forClaimableBalanceId()  : XdrLedgerKey
forConfigSettingID()  : XdrLedgerKey
forContractCode()  : XdrLedgerKey
forContractData()  : XdrLedgerKey
forData()  : XdrLedgerKey
forLiquidityPoolId()  : XdrLedgerKey
forOffer()  : XdrLedgerKey
forTrustLine()  : XdrLedgerKey
forTTL()  : XdrLedgerKey
fromBase64Xdr()  : static
fromTxRep()  : static
Override fromTxRep to match the SEP-0011 key path for claimable balance IDs (`...claimableBalance.balanceID.*` instead of `...claimableBalance.*`).
getAccount()  : XdrLedgerKeyAccount|null
getBalanceID()  : XdrClaimableBalanceID|null
getConfigSetting()  : XdrConfigSettingID|null
getContractCode()  : XdrLedgerKeyContractCode|null
getContractData()  : XdrLedgerKeyContractData|null
getData()  : XdrLedgerKeyData|null
getLiquidityPool()  : XdrLedgerKeyLiquidityPool|null
getLiquidityPoolID()  : string|null
getOffer()  : XdrLedgerKeyOffer|null
getTrustLine()  : XdrLedgerKeyTrustLine|null
getTtl()  : XdrLedgerKeyTTL|null
getType()  : XdrLedgerEntryType
setAccount()  : void
setBalanceID()  : void
setConfigSetting()  : void
setContractCode()  : void
setContractData()  : void
setData()  : void
setLiquidityPool()  : void
setLiquidityPoolID()  : void
setOffer()  : void
setTrustLine()  : void
setTtl()  : void
setType()  : void
toBase64Xdr()  : string
toTxRep()  : void
Override toTxRep so the claimable-balance case uses the SEP-0011 key path `...claimableBalance.balanceID.*` instead of the generated `...claimableBalance.*`.

Properties

$liquidityPoolID

public string|null $liquidityPoolID = null

Methods

fromBase64Xdr()

public static fromBase64Xdr(string $xdr) : static
Parameters
$xdr : string
Return values
static

fromTxRep()

Override fromTxRep to match the SEP-0011 key path for claimable balance IDs (`...claimableBalance.balanceID.*` instead of `...claimableBalance.*`).

public static fromTxRep(array<string, string> $map, string $prefix) : static
Parameters
$map : array<string, string>
$prefix : string
Return values
static

getLiquidityPoolID()

public getLiquidityPoolID() : string|null
Return values
string|null

setLiquidityPoolID()

public setLiquidityPoolID(string|null $liquidityPoolID) : void
Parameters
$liquidityPoolID : string|null

toTxRep()

Override toTxRep so the claimable-balance case uses the SEP-0011 key path `...claimableBalance.balanceID.*` instead of the generated `...claimableBalance.*`.

public toTxRep(string $prefix, array<string, string> &$lines) : void
Parameters
$prefix : string
$lines : array<string, string>

        
On this page

Search results