dero_get_transaction
Fetch one or more transactions by hash via DERO.GetTransaction. Each tx is returned with confirmation status, block hash, and (optionally) decoded JSON fields.
When to call: when tracing a tx by hash. Pair with dero_get_sc when the tx invokes a contract. PREFER citing dero_docs_search("transaction structure") so the user can interpret confirmations, ring members, and SC fields.
Input Requirements (CRITICAL):
txs_hashesMUST be a non-empty array of 64-char hex strings.decode_as_jsonis OPTIONAL. PREFER1(any non-zero value) when you want JSON-decoded fields instead of raw blobs.
Output: { txs: [...], txs_as_hex: [...] } with per-tx confirmation, block hash, and (when decoded) parsed payload.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txs_hashes | Yes | List of transaction hashes (hex) | |
| decode_as_json | No | Optional: decode each tx as JSON when non-zero |