Query API

List transactions sent or received by a wallet

Returns transactions in which the specified wallet appears as sender or recipient — with full transaction objects including gas, value, and (optionally) nested logs.

Pass a single address (one address per request). Scope by blockchain, block range (fromBlock / toBlock), or wall-clock range (fromTimestamp / toTimestamp). Enable includeLogs: true to embed each transaction's log array. Paginate with pageSize (default 100, max 10000) and pageToken.

Part of the Query API product (700 compute units per call, $0.00007 at base rate).

post/?ankr_getTransactionsByAddress

Request

Request body

idinteger required

Client-supplied request ID echoed in the response.

jsonrpc'2.0' required
method'ankr_getTransactionsByAddress' required

Example request

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "ankr_getTransactionsByAddress",
  "params": {
    "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
    "blockchain": [
      "eth"
    ],
    "pageSize": 10,
    "descOrder": true
  }
}

Response

Success. JSON-RPC result envelope contains the transactions array and pagination cursor. JSON-RPC errors are returned with HTTP 200; check the response body for an error key.

idinteger required
jsonrpc'2.0' required

Changes

No recorded changes to this operation across all 1 revision of this API.