Stellar PHP SDK API Documentation

AnchorTransactionsRequest

Request parameters for querying transaction history via SEP-06.

Encapsulates parameters for retrieving a list of deposit and withdrawal transactions processed by the anchor. Supports filtering by asset, account, transaction kind, and time range, plus pagination for large result sets.

Required fields are assetCode and account. Optional filters enable precise querying of transaction subsets. Results can be paginated using pagingId.

Tags
see
https://github.com/stellar/stellar-protocol/blob/v4.3.0/ecosystem/sep-0006.md

SEP-06 Specification

see
TransferServerService::transactions()
see
AnchorTransactionsResponse

Table of Contents

Properties

$account  : string
$assetCode  : string
$jwt  : string|null
$kind  : string|null
$lang  : string|null
$limit  : int|null
$noOlderThan  : DateTime|null
$pagingId  : string|null

Methods

__construct()  : mixed

Properties

Methods

__construct()

public __construct(string $assetCode, string $account[, DateTime|null $noOlderThan = null ][, int|null $limit = null ][, string|null $kind = null ][, string|null $pagingId = null ][, string|null $lang = null ][, string|null $jwt = null ]) : mixed
Parameters
$assetCode : string

The code of the asset of interest. E.g. BTC, ETH, USD, INR, etc.

$account : string

The stellar account ID involved in the transactions. If the service requires SEP-10 authentication, this parameter must match the authenticated account.

$noOlderThan : DateTime|null = null

The response should contain transactions starting on or after this date & time.

$limit : int|null = null

The response should contain at most limit transactions.

$kind : string|null = null

A list containing the desired transaction kinds. The possible values are deposit, deposit-exchange, withdrawal and withdrawal-exchange.

$pagingId : string|null = null

The response should contain transactions starting prior to this ID (exclusive).

$lang : string|null = null

Defaults to en if not specified or if the specified language is not supported. Language code specified using RFC 4646. Error fields and other human readable messages in the response should be in this language.

$jwt : string|null = null

jwt previously received from the anchor via the SEP-10 authentication flow


        
On this page

Search results