Stellar PHP SDK API Documentation

GetTransactionsRequest

Used for getTransactions()

Tags
see
PaginationOptions
see
https://developers.stellar.org/docs/data/rpc/api-reference/methods/getTransactions

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

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.

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).

setStartLedger()

public setStartLedger(int|null $startLedger) : void
Parameters
$startLedger : int|null

Ledger sequence number to fetch events after (inclusive).


        
On this page

Search results