get_transaction_info
Retrieve detailed transaction data including decoded inputs, token transfers, fee breakdown, and transaction types. Essential for analyzing blockchain transactions, debugging smart contracts, and tracking DeFi operations using the Blockscout MCP Server.
Instructions
Get comprehensive transaction information.
Unlike standard eth_getTransactionByHash, this tool returns enriched data including decoded input parameters, detailed token transfers with token metadata, transaction fee breakdown (priority fees, burnt fees) and categorized transaction types.
By default, the raw transaction input is omitted if a decoded version is available to save context; request it with `include_raw_input=True` only when you truly need the raw hex data.
Essential for transaction analysis, debugging smart contract interactions, tracking DeFi operations.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chain_id | Yes | The ID of the blockchain | |
include_raw_input | No | If true, includes the raw transaction input data. | |
transaction_hash | Yes | Transaction hash |
Input Schema (JSON Schema)
{
"properties": {
"chain_id": {
"description": "The ID of the blockchain",
"title": "Chain Id",
"type": "string"
},
"include_raw_input": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": false,
"description": "If true, includes the raw transaction input data.",
"title": "Include Raw Input"
},
"transaction_hash": {
"description": "Transaction hash",
"title": "Transaction Hash",
"type": "string"
}
},
"required": [
"chain_id",
"transaction_hash"
],
"title": "get_transaction_infoArguments",
"type": "object"
}