Stellar PHP SDK API Documentation

XdrAssetType
in package

Table of Contents

Constants

ASSET_TYPE_CREDIT_ALPHANUM12  = 2
ASSET_TYPE_CREDIT_ALPHANUM4  = 1
ASSET_TYPE_NATIVE  = 0
ASSET_TYPE_POOL_SHARE  = 3

Properties

$value  : int

Methods

__construct()  : mixed
ASSET_TYPE_CREDIT_ALPHANUM12()  : XdrAssetType
ASSET_TYPE_CREDIT_ALPHANUM4()  : XdrAssetType
ASSET_TYPE_NATIVE()  : XdrAssetType
ASSET_TYPE_POOL_SHARE()  : XdrAssetType
decode()  : XdrAssetType
encode()  : string
enumName()  : string
fromBase64Xdr()  : static
fromTxRep()  : static
fromTxRepName()  : static
getValue()  : int
toBase64Xdr()  : string
toTxRep()  : void

Constants

ASSET_TYPE_CREDIT_ALPHANUM12

public mixed ASSET_TYPE_CREDIT_ALPHANUM12 = 2

ASSET_TYPE_CREDIT_ALPHANUM4

public mixed ASSET_TYPE_CREDIT_ALPHANUM4 = 1

ASSET_TYPE_POOL_SHARE

public mixed ASSET_TYPE_POOL_SHARE = 3

Properties

Methods

__construct()

public __construct(int $value) : mixed
Parameters
$value : int

enumName()

public enumName() : 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) : static
Parameters
$map : array<string|int, mixed>
$prefix : string
Return values
static

fromTxRepName()

public static fromTxRepName(string $name) : static
Parameters
$name : string
Return values
static

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