getSignaturesForAddress

Returns signatures for confirmed transactions that include the given address in their accountKeys list. Returns signatures backwards in time from the provided signature or most recent confirmed block

Note: This query may occasionally fail due to internal timeouts in the archival database. If this occurs, please retry.

getSignaturesForAddress

POST http://srpc.solapi.pro/?api_key=<api-key>

Request:

const response = await fetch('http://srpc.solapi.pro/?api_key=<api-key>', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "jsonrpc": "2.0",
      "id": "1",
      "method": "getSignaturesForAddress",
      "params": [
        "Vote111111111111111111111111111111111111111"
      ]
    }),
});
const data = await response.json();

Response:

{
  "jsonrpc": "2.0",
  "id": "1",
  "result": [
    {
      "signature": "5h6xBEauJ3PK6SWCZ1PGjBvj8vDdWG3KpwATGy1ARAXFSDwt8GFXM7W5Ncn16wmqokgpiKRLuS83KUxyZyv2sUYv",
      "slot": 114,
      "err": null,
      "memo": null,
      "blockTime": null,
      "confirmationStatus": "finalized"
    }
  ]
}

Last updated