get_transaction
Fetch and decode a Bitcoin transaction by txid to inspect its details, with optional network override.
Instructions
Fetch and decode a transaction by txid. Needs a backend.
Args: txid: The 64-hex-character transaction ID. network: Override the server's network for this call.
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": {
"txid": "<txid>"
},
"name": "get_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txid | Yes | ||
| network | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |