⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins
sol
Solana (SOL)

Method: POST getConfirmedSignaturesForAddress2

dropdown

# getConfirmedSignaturesForAddress2 example for Solana (SOL)

POST getConfirmedSignaturesForAddress2

Method not allowed

DEPRECATED: Please use getSignaturesForAddress instead This method is expected to be removed in solana-core v2.0

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

Parameters

address - string

account address as base-58 encoded string

config - object

Optional

Configuration object containing the following fields: - limit: number (optional) - maximum transaction signatures to return (between 1 and 1,000, default: 1,000). - before: string (optional) - start searching backwards from this transaction signature. If not provided the search starts from the top of the highest max confirmed block. - until: string (optional) - search until this transaction signature, if found before limit reached. - commitment (optional) - "processed" is not supported. If parameter not provided, the default is "finalized".

Request

curl --location --request POST 'https://sol.getblock.io/mainnet' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "getConfirmedSignaturesForAddress2",
"params": [null, null],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}