GetTransactionsRequest
in package
Used for getTransactions()
Tags
Table of Contents
Properties
- $paginationOptions : PaginationOptions|null
- $startLedger : int|null
Methods
- __construct() : mixed
- Constructor.
- getPaginationOptions() : PaginationOptions|null
- getRequestParams() : array<string, mixed>
- Returns the request parameters for the rpc request.
- getStartLedger() : int|null
- setPaginationOptions() : void
- setStartLedger() : void
Properties
$paginationOptions
public
PaginationOptions|null
$paginationOptions
= null
$startLedger
public
int|null
$startLedger
= null
Methods
__construct()
Constructor.
public
__construct([int|null $startLedger = null ][, PaginationOptions|null $paginationOptions = null ]) : mixed
Parameters
- $startLedger : int|null = null
-
Ledger sequence number to fetch events after (inclusive). The getTransactions method will return an error if startLedger is less than the oldest ledger stored in this node, or greater than the latest ledger seen by this node. If a cursor is included in the request, startLedger must be omitted.
- $paginationOptions : PaginationOptions|null = null
-
for pagination.
getPaginationOptions()
public
getPaginationOptions() : PaginationOptions|null
Return values
PaginationOptions|null —for pagination.
getRequestParams()
Returns the request parameters for the rpc request.
public
getRequestParams() : array<string, mixed>
Return values
array<string, mixed> —the request parameters for the rpc request.
getStartLedger()
public
getStartLedger() : int|null
Return values
int|null —Ledger sequence number to fetch events after (inclusive).
setPaginationOptions()
public
setPaginationOptions(PaginationOptions|null $paginationOptions) : void
Parameters
- $paginationOptions : PaginationOptions|null
-
for pagination.
setStartLedger()
public
setStartLedger(int|null $startLedger) : void
Parameters
- $startLedger : int|null
-
Ledger sequence number to fetch events after (inclusive).