Get Transaction By Hash
get_transaction_by_hashGet the full transaction object for a transaction hash (from, to, value, input data, gas, gas price, nonce, block number/hash, transaction index). Returns null if the hash is unknown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txhash | Yes | Transaction hash. | |
| chainid | No | Numeric chain id (e.g. 1=Ethereum, 56=BNB, 137=Polygon). Defaults to server config. |