Solana Tracker
Solana RPC/Methods

getConfirmedSignaturesForAddress2 RPC Method

Description

Returns confirmed signatures for transactions involving an address backwards in time from the provided signature or most recent confirmed block.

Please note that this method is deprecated, no longer available on Devnet and Testnet, and will be removed from Mainnet soon. For a similar method, you can use Solana's getSignaturesForAddress RPC method.

Parameters

  1. acc_add (string) - The account address as a base-58 encoded string.
  2. object (array) - The configuration object with the following fields:
    • limit (integer, optional) - (default: 1000) The maximum number of transaction signatures to return. The valid range is between 1 and 1,000.
    • before (string, optional) - A base58-encoded transaction signature. If provided, the method will only return signatures that occurred before the specified transaction.
    • until (string, optional) - A base58-encoded transaction signature. If provided, the method will only return signatures that occurred at or before the specified transaction.
    • commitment (string, optional) - (default: finalized) The level of commitment required for the query. The options include:
      • finalized - The node will query the most recent block confirmed by the supermajority of the cluster as having reached maximum lockout, meaning the cluster has recognized this block as finalized.
      • confirmed - The node will query the most recent block that has been voted on by the supermajority of the cluster.

Returns

An array of transaction signature information, ordered from newest to oldest transaction, with the following fields:

  • blockTime - The estimated production time, as Unix timestamp (seconds since the Unix epoch) of when the transaction was processed. It’s null if not available.
  • confirmationStatus - The transaction’s cluster confirmation status. It can either be processed, confirmed, or finalized.
  • err - Error code if the transaction failed, or null if the transaction succeeds.
  • memo - The memo associated with the transaction, or null if no memo is present.
  • signature - The base58-encoded signature of the transaction.
  • slot - The slot number in which the transaction was confirmed.

Code Examples

curl "https://rpc-mainnet.solanatracker.io/?api_key=YOUR_API_KEY_HERE" \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc": "2.0","id": 1,"method": "getConfirmedSignaturesForAddress2","params": ["Vote111111111111111111111111111111111111111",{"limit": 1}]}'

On this page