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. This method is essential for transaction history, wallet activity feeds, and building transaction explorers.
Authorizations
Body
jsonrpcstring · enumRequiredExample:
JSON-RPC protocol version
2.0
Possible values: idone ofRequiredExample:
Request identifier that will be returned in the response
1
stringOptional
numberOptional
methodstring · enumRequiredExample:
The RPC method name
getSignaturesForAddress
Possible values: Responses
200
Successful Response
application/json
401
Unauthorized
text/plain
403
Forbidden
text/plain
429
Too Many Requests
text/plain
500
Internal Server Error
text/plain
post
curl -X POST https://public.rpc.solanavibestation.com \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "getSignaturesForAddress",
"params": [
"Vote111111111111111111111111111111111111111",
{
"limit": 10,
"commitment": "confirmed"
}
]
}'
{
"jsonrpc": "2.0",
"result": [
{
"signature": "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW",
"slot": 123456789,
"err": null,
"memo": null,
"blockTime": 1625097600,
"confirmationStatus": "finalized"
},
{
"signature": "4WmffXt2fVw1KcxdJ4mHSWMj8VvNpYGqQzpgw2TH2PY3LMCE1wRtGhKMYJLKLJQYK9VQFpG8oKGxJz6xJKJKJKJK",
"slot": 123456788,
"err": null,
"memo": null,
"blockTime": 1625097550,
"confirmationStatus": "finalized"
},
{
"signature": "3id2YC2jK9G5Wb2GmXYhqJqhb5S1n9mfK8ydGT6YWq9DJNWjPvAo1e5uDYKKxe8Y2k1Vp4nUJGHG9xEJT1m4F9G",
"slot": 123456787,
"err": {
"InstructionError": [
0,
{
"Custom": 1
}
]
},
"memo": "Transfer failed",
"blockTime": 1625097500,
"confirmationStatus": "finalized"
}
],
"id": 1
}
Last updated