getSignaturesForAddress RPC Method

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

Request
$ curl https://api.devnet.solana.com -s -X \
> POST -H "Content-Type: application/json" -d '
> {
> "jsonrpc": "2.0",
> "id": 1,
> "method": "getSignaturesForAddress",
> "params": [
> "Vote111111111111111111111111111111111111111",
> {
> "limit": 1
> }
> ]
> }
> '

params

stringrequired

Account address as base-58 encoded string

objectoptional

Configuration object containing the following fields:

result

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

An array of transaction signature information objects, ordered from newest to oldest transaction, containing:

Is this page helpful?