Stellar PHP SDK API Documentation

XdrInvokeHostFunctionResultCode
in package

Table of Contents

Constants

INVOKE_HOST_FUNCTION_ENTRY_ARCHIVED  : mixed = -4
INVOKE_HOST_FUNCTION_INSUFFICIENT_REFUNDABLE_FEE  : mixed = -5
INVOKE_HOST_FUNCTION_MALFORMED  : mixed = -1
INVOKE_HOST_FUNCTION_RESOURCE_LIMIT_EXCEEDED  : mixed = -3
INVOKE_HOST_FUNCTION_SUCCESS  : mixed = 0
INVOKE_HOST_FUNCTION_TRAPPED  : mixed = -2

Properties

$value  : int

Methods

__construct()  : mixed
decode()  : XdrInvokeHostFunctionResultCode
encode()  : string
fromBase64Xdr()  : static
fromJson()  : static
fromJsonValue()  : static
getValue()  : int
INVOKE_HOST_FUNCTION_ENTRY_ARCHIVED()  : XdrInvokeHostFunctionResultCode
INVOKE_HOST_FUNCTION_INSUFFICIENT_REFUNDABLE_FEE()  : XdrInvokeHostFunctionResultCode
INVOKE_HOST_FUNCTION_MALFORMED()  : XdrInvokeHostFunctionResultCode
INVOKE_HOST_FUNCTION_RESOURCE_LIMIT_EXCEEDED()  : XdrInvokeHostFunctionResultCode
INVOKE_HOST_FUNCTION_SUCCESS()  : XdrInvokeHostFunctionResultCode
INVOKE_HOST_FUNCTION_TRAPPED()  : XdrInvokeHostFunctionResultCode
toBase64Xdr()  : string
toJson()  : string
toJsonValue()  : string

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