getTransactionsForAddress, RPC on carbium services: returns {data: [...], paginationToken, historyFloor?, droppedRows?}. Its price in credits: 55, a walk 50 an upstream call past the first. A JSON-RPC batch can hold it.
| param | type | ||
|---|---|---|---|
| address | pubkey | req | full, asc or any filter makes it a walk |
| config.limit | u64 | opt | 1 to 1000, default 1000 |
| config.transactionDetails | string | opt | "full" returns whole transactions, as a walk |
| config.sortOrder | "asc" | "desc" | opt | desc by default; asc needs a lower slot bound |
| config.paginationToken | string | opt | from the previous answer |
| config.commitment | string | opt | |
| config.minContextSlot | u64 | opt | |
| config.encoding | string | opt | default json |
| config.maxSupportedTransactionVersion | u64 | opt | |
| config.filters.slot | {gte?, gt?, lte?, lt?, eq?} | opt | |
| config.filters.blockTime | {gte?, gt?, lte?, lt?, eq?} | opt | |
| config.filters.status | "succeeded" | "failed" | opt | |
| config.filters.tokenAccounts | "balanceChanged" | "all" | opt | a walk: 50 credits each upstream call |
| config.filters.tokenTransfer | {with?, mint?, direction?, amount?} | opt | direction: in, out or any |
{"jsonrpc":"2.0","id":1,"method":"getTransactionsForAddress","params":["<token account>",{"limit":100}]}answer{data: [...], paginationToken, historyFloor?, droppedRows?}
refuses-32602 sortOrder asc with no lower slot bound; -32602 filters.signature is set; -32602 sortOrder asc with a token filter; -32602 an asc walk stopped before its slot floor