Stellar PHP SDK API Documentation

XdrAsset
in package

Table of Contents

Properties

$alphaNum12  : XdrAssetAlphaNum12|null
$alphaNum4  : XdrAssetAlphaNum4|null
$type  : XdrAssetType

Methods

__construct()  : mixed
decode()  : XdrAsset
encode()  : string
fromBase64Xdr()  : static
fromTxRep()  : XdrAsset
getAlphaNum12()  : XdrAssetAlphaNum12|null
getAlphaNum4()  : XdrAssetAlphaNum4|null
getType()  : XdrAssetType
setAlphaNum12()  : void
setAlphaNum4()  : void
setType()  : void
toBase64Xdr()  : string
toTxRep()  : void

Properties

Methods

encode()

public encode() : string
Return values
string

fromBase64Xdr()

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

fromTxRep()

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

toBase64Xdr()

public toBase64Xdr() : string
Return values
string

toTxRep()

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

        
On this page

Search results