getTransactionsForAddress

POSTTransactionsNexus only

Returns transactions that touched a given address, newest first by default, from long-term storage.

Try itSends a real request from your browser to the selected region.
POST
/

getTransactionsForAddress returns transactions that touched an address, answered from long-term storage. The region's ledger does not serve this method; it is Nexus only.

Responses page with paginationToken: pass the token from the previous response on the next call, and stop when it comes back null. Each token is scoped to the same query. Batch requests are not supported.

Plans & rate limitsNexus only
FreeNot included
OperatorNot included
Blade RunnerNot included
Nexus30/s (signatures), 5/s (full)

Historical lookups

PlanAvailableRate per key
Free——
Operator——
Blade Runner——
Nexus✓30/s (signatures), 5/s (full)

Answers come from long-term storage within the shared limit 20/s, 1,000,000 per month (per region, all keys), with a longest wait of 5 s. Over the rate, HTTP 429 with code -32005 and a Retry-After: 1 header; over the monthly allowance, HTTP 429 with code -32005; when the retrieval is unavailable, HTTP 503 with code -32000. See Historical lookups.

Parameters

params is a JSON array, with values in this order: address, options.

1addressstringrequired

Account address to search transaction history for, base-58 encoded.

2optionsobject

Optional configuration.

Show propertiesProperties
transactionDetailsstringdefault: "signatures"

"signatures" returns signature-level records only. "full" returns each transaction with its metadata. "full" caps limit at 100.

Allowed values:signaturesfull
sortOrderstringdefault: "desc"

Sort order of the returned transactions.

Allowed values:descasc
limitintegerdefault: 1000

Maximum transactions per response. At most 1,000 with transactionDetails: "signatures" (the default), at most 100 with "full" (the default there).

Minimum: 1Maximum: 1000
paginationTokenstring

The previous response's paginationToken, a "slot:position" string, to continue where it stopped. Scoped to the same query.

commitmentstringdefault: "finalized"

Bank state to search from. processed is not accepted here.

Allowed values:finalizedconfirmed
minContextSlotinteger

Minimum slot the region must have processed before answering.

encodingstringdefault: "json"

Encoding for the transaction field. Available with transactionDetails: "full" only.

Allowed values:jsonjsonParsedbase58base64
maxSupportedTransactionVersioninteger

Highest transaction version the caller can decode. Available with transactionDetails: "full" only.

Minimum: 0Maximum: 1
filtersobject

Restrict the search range and the transactions returned.

Show propertiesProperties
slotobject

Slot range bounds.

Show propertiesProperties
gteinteger
gtinteger
lteinteger
ltinteger
blockTimeobject

Block time range bounds, as Unix seconds.

Show propertiesProperties
gteinteger
gtinteger
lteinteger
ltinteger
eqinteger
signatureobject

Signature range bounds, as base-58 strings.

Show propertiesProperties
gtestring
gtstring
ltestring
ltstring
statusstringdefault: "any"

Which transaction outcomes to return.

Allowed values:anysucceededfailed
tokenAccountsstringdefault: "none"

Token-account activity to match. Token-account activity is available from December 2022, slot 111,491,819.

Allowed values:nonebalanceChangedall

Result

resultobject

An object with data and paginationToken. paginationToken is null when the answer is complete; otherwise pass it as paginationToken on the next call.

Show propertiesProperties
dataobject[]
Show each itemEach item
signaturestring

Transaction signature, base-58 encoded. Signatures mode only.

slotinteger

Slot the transaction was processed in.

transactionIndexinteger

Index of this transaction within its block.

errobject | null

Null if the transaction succeeded; a TransactionError object if it failed. Signatures mode only.

memostring | null

Contents of the transaction's memo instruction, if it had one. Signatures mode only.

blockTimeinteger | null

Estimated production time of the containing block, as Unix seconds.

confirmationStatusstring | null

Confirmation status at the time of the response. Signatures mode only.

Allowed values:processedconfirmedfinalizednull
transactionobject

The compiled transaction. Full mode only.

metaobject

The transaction metadata, as getTransaction reports it. Full mode only.

versionany

Full mode only: "legacy", or the integer version number 0 or 1.

paginationTokenstring | null

A "slot:position" string to continue with, or null when the answer is complete.

Notes

  • Nexus only. Requests from other plans are answered with HTTP 403 and code -32600, getTransactionsForAddress requires higher tier.
  • Answers come from long-term storage; the region's ledger does not serve this method. Walk paginationToken until it is null.
  • With transactionDetails: "full", a response holds at most 100 transactions. A higher limit is not an error: the response holds 100 and a paginationToken for the next page.
  • filters.tokenTransfer is not supported. Use filters.tokenAccounts for token-account activity.
  • To get the full transactions for an address, use transactionDetails: "full" and follow paginationToken (at most 100 per page). Signatures from this method in "signatures" mode do not make old transactions available through getTransaction: for a signature older than the region's ledger window, getTransaction returns null.
  • Invalid parameters are returned as JSON-RPC errors. Batch requests are not supported: one call per HTTP request.