SimulateTransactionResult
in package
Used as a part of simulate transaction response.
Tags
Table of Contents
Properties
Methods
- fromJson() : static
- Creates an instance from JSON-RPC response data
- getAuth() : array<string|int, string>
- getResultValue() : XdrSCVal
- getXdr() : string
- loadFromJson() : void
Properties
$auth
public
array<string|int, string>
$auth
Array of serialized base64 strings - Per-address authorizations recorded when simulating this Host Function call.
$xdr
public
string
$xdr
Serialized base64 string - return value of the Host Function call.
Methods
fromJson()
Creates an instance from JSON-RPC response data
public
static fromJson(array<string, mixed> $json) : static
Parameters
- $json : array<string, mixed>
-
The JSON response data
Return values
static —The created instance
getAuth()
public
getAuth() : array<string|int, string>
Return values
array<string|int, string> —Array of serialized base64 strings - Per-address authorizations recorded when simulating this Host Function call.
getResultValue()
public
getResultValue() : XdrSCVal
Tags
Return values
XdrSCVal —return value of the Host Function call as XdrSCVal.
getXdr()
public
getXdr() : string
Return values
string —Serialized base64 string - return value of the Host Function call.
loadFromJson()
protected
loadFromJson(array<string|int, mixed> $json) : void
Parameters
- $json : array<string|int, mixed>