Stellar PHP SDK API Documentation

XdrLiquidityPoolDepositResultCode
in package

Table of Contents

Constants

BAD_PRICE  : mixed = -6
LINE_FULL  : mixed = -5
MALFORMED  : mixed = -1
NO_TRUST  : mixed = -2
NOT_AUTHORIZED  : mixed = -3
POOL_FULL  : mixed = -7
SUCCESS  : mixed = 0
TRUSTLINE_FROZEN  : mixed = -8
UNDERFUNDED  : mixed = -4

Properties

$value  : int

Methods

__construct()  : mixed
BAD_PRICE()  : XdrLiquidityPoolDepositResultCode
decode()  : XdrLiquidityPoolDepositResultCode
encode()  : string
fromBase64Xdr()  : static
fromJson()  : static
fromJsonValue()  : static
getValue()  : int
LINE_FULL()  : XdrLiquidityPoolDepositResultCode
MALFORMED()  : XdrLiquidityPoolDepositResultCode
NO_TRUST()  : XdrLiquidityPoolDepositResultCode
NOT_AUTHORIZED()  : XdrLiquidityPoolDepositResultCode
POOL_FULL()  : XdrLiquidityPoolDepositResultCode
SUCCESS()  : XdrLiquidityPoolDepositResultCode
toBase64Xdr()  : string
toJson()  : string
toJsonValue()  : string
TRUSTLINE_FROZEN()  : XdrLiquidityPoolDepositResultCode
UNDERFUNDED()  : XdrLiquidityPoolDepositResultCode

Constants

Properties

Methods

fromJson()

public static fromJson(string $json) : static
Parameters
$json : string
Tags
throws
JsonException

If $json is not syntactically valid JSON.

InvalidArgumentException

If the JSON shape does not match this type.

Return values
static

toJson()

public toJson() : string
Tags
throws
JsonException

If the value contains structures that cannot be encoded as JSON.

Return values
string
On this page

Search results