Stellar PHP SDK API Documentation

XdrTransactionResultCode
in package

Table of Contents

Constants

BAD_AUTH  : mixed = -6
BAD_AUTH_EXTRA  : mixed = -10
BAD_MIN_SEQ_AGE_OR_GAP  : mixed = -15
BAD_SEQ  : mixed = -5
BAD_SPONSORSHIP  : mixed = -14
FAILED  : mixed = -1
FEE_BUMP_INNER_FAILED  : mixed = -13
FEE_BUMP_INNER_SUCCESS  : mixed = 1
FROZEN_KEY_ACCESSED  : mixed = -18
INSUFFICIENT_BALANCE  : mixed = -7
INSUFFICIENT_FEE  : mixed = -9
INTERNAL_ERROR  : mixed = -11
MALFORMED  : mixed = -16
MISSING_OPERATION  : mixed = -4
NO_ACCOUNT  : mixed = -8
NOT_SUPPORTED  : mixed = -12
SOROBAN_INVALID  : mixed = -17
SUCCESS  : mixed = 0
TOO_EARLY  : mixed = -2
TOO_LATE  : mixed = -3

Properties

$value  : int

Methods

__construct()  : mixed
BAD_AUTH()  : XdrTransactionResultCode
BAD_AUTH_EXTRA()  : XdrTransactionResultCode
BAD_MIN_SEQ_AGE_OR_GAP()  : XdrTransactionResultCode
BAD_SEQ()  : XdrTransactionResultCode
BAD_SPONSORSHIP()  : XdrTransactionResultCode
decode()  : XdrTransactionResultCode
encode()  : string
FAILED()  : XdrTransactionResultCode
FEE_BUMP_INNER_FAILED()  : XdrTransactionResultCode
FEE_BUMP_INNER_SUCCESS()  : XdrTransactionResultCode
fromBase64Xdr()  : static
fromJson()  : static
fromJsonValue()  : static
FROZEN_KEY_ACCESSED()  : XdrTransactionResultCode
getValue()  : int
INSUFFICIENT_BALANCE()  : XdrTransactionResultCode
INSUFFICIENT_FEE()  : XdrTransactionResultCode
INTERNAL_ERROR()  : XdrTransactionResultCode
MALFORMED()  : XdrTransactionResultCode
MISSING_OPERATION()  : XdrTransactionResultCode
NO_ACCOUNT()  : XdrTransactionResultCode
NOT_SUPPORTED()  : XdrTransactionResultCode
SOROBAN_INVALID()  : XdrTransactionResultCode
SUCCESS()  : XdrTransactionResultCode
toBase64Xdr()  : string
toJson()  : string
toJsonValue()  : string
TOO_EARLY()  : XdrTransactionResultCode
TOO_LATE()  : XdrTransactionResultCode

Constants

Properties

Methods

fromBase64Xdr()

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

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

fromJsonValue()

public static fromJsonValue(mixed $value) : static
Parameters
$value : mixed
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