TransactionEvents
in package
Transaction events container for protocol version >= 23
Table of Contents
Properties
- $contractEventsXdr : array<string|int, mixed>|null
- $transactionEventsXdr : array<string|int, mixed>|null
Methods
- __construct() : mixed
- fromJson() : static
- Creates an instance from JSON-RPC response data
Properties
$contractEventsXdr
public
array<string|int, mixed>|null
$contractEventsXdr
= null
$transactionEventsXdr
public
array<string|int, mixed>|null
$transactionEventsXdr
= null
Methods
__construct()
public
__construct([array<string|int, string>|null $transactionEventsXdr = null ][, array<string|int, array<string|int, string>>|null $contractEventsXdr = null ]) : mixed
Parameters
- $transactionEventsXdr : array<string|int, string>|null = null
-
Base64-encoded slice of xdr.TransactionEvent
- $contractEventsXdr : array<string|int, array<string|int, string>>|null = null
-
Base64-encoded slice of array [xdr.ContractEvent] for each operation
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