midnight_get_transaction
Retrieve transaction hash, block height, status, contract address, and circuit name to monitor and debug Midnight blockchain transactions.
Instructions
Query transaction details from the Midnight blockchain.
Returns:
Transaction hash
Block height
Status (pending/confirmed/failed)
Contract address (if applicable)
Circuit name (if contract call)
Use this tool to:
Check transaction status
Debug failed transactions
Inspect contract interactions
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "midnight_get_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | No | Transaction hash to query | |
| network | No |