⚡ We welcome businesses to test our enterprise-grade service

sol
Solana (SOL)

Method: POST signatureSubscribe

dropdown

Method RPC signatureSubscribe example for Solana (SOL)

POST signatureSubscribe

Method not allowed

Subscribe to a transaction signature to receive notification when the transaction is confirmed. On signatureNotification, the subscription is automatically cancelled.

Parameters

signature - string

Transaction Signature, as base-58 encoded string

commitment - object

Optional

Commitment

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": "signatureSubscribe",
"params": [null, null],
"id": "getblock.io"}'


Response

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