get_transaction
Retrieve VeChain blockchain transaction details by ID, with options to include pending transactions, raw hex data, or pin to specific blocks.
Instructions
Get a VeChain transaction by its ID. Optionally include pending txs (meta may be null), return raw hex, or pin to a specific head block.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Transaction ID (0x-prefixed 32-byte hex) | |
| pending | No | Include pending transactions (meta may be null). Default: false | |
| raw | No | Include raw hex transaction in response. Default: false | |
| head | No | Head block ID to use; defaults to best if omitted |
Input Schema (JSON Schema)
{
"properties": {
"head": {
"description": "Head block ID to use; defaults to best if omitted",
"type": "string"
},
"id": {
"description": "Transaction ID (0x-prefixed 32-byte hex)",
"pattern": "^0x[0-9a-fA-F]{64}$",
"type": "string"
},
"pending": {
"description": "Include pending transactions (meta may be null). Default: false",
"type": "boolean"
},
"raw": {
"description": "Include raw hex transaction in response. Default: false",
"type": "boolean"
}
},
"required": [
"id"
],
"type": "object"
}