For AI agents: an LLM-friendly Markdown version of every page is available by appending .md to its URL or by sending an Accept: text/markdown request header. The full documentation index is at https://www.ankr.com/docs/llms.txt
Skip to main content

ankr_getTransactionsByAddress takes one address per request

Docs Team

ankr_getTransactionsByAddress now answers -32602 when address carries more than one address. The method has always searched a single address: given an array, it used the first element and ignored the rest, while our API reference described address as an array of wallets. We corrected the reference and the method now says so instead of returning a partial result.

Advanced API​

Pass one address per request. A string and a one-element array both work:

curl -X POST https://rpc.ankr.com/multichain/YOUR_ANKR_API_KEY \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"ankr_getTransactionsByAddress","params":{"address":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","blockchain":["eth"]}}'

Two or more addresses answer -32602 with invalid params: only one address per request is supported. blockchain is still an array, so one request can search an address across several networks.

The API reference and the OpenAPI spec now describe address as a single string.

Worth checking on your side​

  • If you passed several addresses in one call, you only got transactions for the first one. Send one request per address.
  • Nothing else changed. No other method, limit or rate limit moved.