Returns signatures for confirmed transactions that include the given address in their accountKeys list.
Supported on Solana (mainnet) only.
Parameters
<string>
- account address as base-58 encoded string- (optional)
<object>
- Configuration object containing the following fields:- (optional)
limit: <number>
- maximum transaction signatures to return (between 1 and 1,000, default: 1,000). - (optional)
before: <string>
- start searching backwards from this transaction signature. If not provided the search starts from the top of the highest max confirmed block. - (optional)
until: <string>
- search until this transaction signature, if found before limit reached. - (optional)
commitment: <string>
- Commitment - (optional)
minContextSlot: <number>
- set the minimum slot that the request can be evaluated at.
- (optional)
Returns
The result field will be an array of transaction signature information, ordered from newest to oldest transaction:
<object>
signature: <string>
- transaction signature as base-58 encoded stringslot: <u64>
- The slot that contains the block with the transactionerr: <object|null>
- Error if transaction failed, null if transaction succeeded. TransactionError definitionsmemo: <string|null>
- Memo associated with the transaction, null if no memo is presentblockTime: <i64|null>
- estimated production time, as Unix timestamp (seconds since the Unix epoch) of when transaction was processed. null if not available.confirmationStatus: <string|null>
- The transaction's cluster confirmation status; eitherprocessed
,confirmed
, orfinalized
. See Commitment for more on optimistic confirmation.
API Endpoint
The format of an Solana API endpoint is
https://open-platform.nodereal.io/{{apiKey}}/solana/
Here is an example:
https://open-platform.nodereal.io/4c0a1c23661a4e26bcbcwed461e34ea9/solana/
Example
Request
curl https://open-platform.nodereal.io/{{apiKey}}/solana/ \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "getSignaturesForAddress",
"params": [
"Vote111111111111111111111111111111111111111",
{
"limit": 1
}
]
}
'
Result
{
"jsonrpc": "2.0",
"result": [
{
"err": null,
"memo": null,
"signature": "5h6xBEauJ3PK6SWCZ1PGjBvj8vDdWG3KpwATGy1ARAXFSDwt8GFXM7W5Ncn16wmqokgpiKRLuS83KUxyZyv2sUYv",
"slot": 114,
"blockTime": null
}
],
"id": 1
}