Get raw transaction
get_transaction_rawFetch a transaction's full raw JSON, including logs, inner instructions, compute units, and pre/post balances, to debug custom programs or failures when standard parsed results fall short.
Instructions
Full raw jsonParsed transaction including logMessages, inner instructions, compute units and pre/post balances. Use only when the enhanced parse in get_transactions is not enough (custom programs, failure debugging).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"signature": "<signature>"
},
"name": "get_transaction_raw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signature | Yes | ||
| commitment | No | confirmed | |
| includeLogs | No |