curl --request POST \
--url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "db16f277-1a22-41ff-9f85-f37e2cd77900",
"method": "getTransaction",
"params": [
"5XXN7L7cMGYTvckcaNeTXxhJgxeT1JTa9auwa2yXCFR1NXzwXrXNAWx4SaAw48S5186VzvXiXVEsWJu1WFR5AAmg",
{
"commitment": "finalized"
}
]
}
'{
"jsonrpc": "2.0",
"id": "db16f277-1a22-41ff-9f85-f37e2cd77900",
"result": {
"slot": 235157119,
"transaction": {
"message": {
"accountKeys": [
"121k79rjdDy4QRuSykdG1Dw7pYCZSzKYrvs7RDKZTf1h"
],
"header": {
"numReadonlySignedAccounts": 0,
"numReadonlyUnsignedAccounts": 3,
"numRequiredSignatures": 1
},
"instructions": [
{
"accounts": [
1
],
"data": "37u9WtQpcm6ULa3WRQHmj49EPs4if7o9f1jSRVZpm2dvihR9C8jY4NqEwXUbLwx15HBSNcP1",
"programIdIndex": 4
}
],
"recentBlockhash": "mfcyqEXB3DnHXki6KjjmZck6YjmZLvpAByy2fj4nh6B"
},
"signatures": [
"5XXN7L7cMGYTvckcaNeTXxhJgxeT1JTa9auwa2yXCFR1NXzwXrXNAWx4SaAw48S5186VzvXiXVEsWJu1WFR5AAmg"
]
},
"meta": {
"err": null,
"fee": 5000,
"innerInstructions": [
{}
]
}
}
}curl --request POST \
--url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "db16f277-1a22-41ff-9f85-f37e2cd77900",
"method": "getTransaction",
"params": [
"5XXN7L7cMGYTvckcaNeTXxhJgxeT1JTa9auwa2yXCFR1NXzwXrXNAWx4SaAw48S5186VzvXiXVEsWJu1WFR5AAmg",
{
"commitment": "finalized"
}
]
}
'{
"jsonrpc": "2.0",
"id": "db16f277-1a22-41ff-9f85-f37e2cd77900",
"result": {
"slot": 235157119,
"transaction": {
"message": {
"accountKeys": [
"121k79rjdDy4QRuSykdG1Dw7pYCZSzKYrvs7RDKZTf1h"
],
"header": {
"numReadonlySignedAccounts": 0,
"numReadonlyUnsignedAccounts": 3,
"numRequiredSignatures": 1
},
"instructions": [
{
"accounts": [
1
],
"data": "37u9WtQpcm6ULa3WRQHmj49EPs4if7o9f1jSRVZpm2dvihR9C8jY4NqEwXUbLwx15HBSNcP1",
"programIdIndex": 4
}
],
"recentBlockhash": "mfcyqEXB3DnHXki6KjjmZck6YjmZLvpAByy2fj4nh6B"
},
"signatures": [
"5XXN7L7cMGYTvckcaNeTXxhJgxeT1JTa9auwa2yXCFR1NXzwXrXNAWx4SaAw48S5186VzvXiXVEsWJu1WFR5AAmg"
]
},
"meta": {
"err": null,
"fee": 5000,
"innerInstructions": [
{}
]
}
}
}The JSON-RPC protocol version.
2.0 "2.0"
A unique identifier for the request.
"1"
The name of the RPC method to invoke.
getTransaction "getTransaction"
Parameters for querying a Solana transaction by signature.
Solana transaction signature as a base-58 encoded string for lookup.
"5u7iHLbXgUcnK7LwcmkheG1m4uVPNqtnujLy8PLjtdJu9WxaUTTg2u9d7ny6N5gRvPURTpdRnLCA9RQ4crZzg3rx"
Successfully retrieved the detailed Solana transaction data.
The JSON-RPC protocol version.
2.0 "2.0"
Identifier matching the request.
"1"
Complete Solana transaction details including execution data.
Show child attributes
Solana blockchain slot number when this transaction was processed.
235157119
Comprehensive Solana transaction object with all transaction details.
Show child attributes
Solana transaction message containing detailed execution instructions.
Show child attributes
List of Solana account public keys involved in the transaction.
Solana transaction header metadata with access control information.
Show child attributes
Number of read-only signed Solana accounts in the transaction.
0
Number of read-only unsigned Solana accounts in the transaction.
3
Number of required signatures for Solana transaction validation.
1
List of program instructions executed within the Solana transaction.
Show child attributes
Indexed list of Solana accounts accessed by this instruction.
Encoded instruction data passed to the Solana program.
"37u9WtQpcm6ULa3WRQHmj49EPs4if7o9f1jSRVZpm2dvihR9C8jY4NqEwXUbLwx15HBSNcP1"
Index of the Solana program that processes this instruction.
4
Recent Solana blockhash used for transaction validity window.
"mfcyqEXB3DnHXki6KjjmZck6YjmZLvpAByy2fj4nh6B"
List of cryptographic signatures validating the Solana transaction.
Solana transaction execution metadata and results.
Show child attributes
Error information if Solana transaction failed; null if successful.
null
Transaction fee paid in Solana lamports (1 SOL = 1,000,000,000 lamports).
5000
List of inner instructions generated during Solana transaction execution.
Was this page helpful?