Actions20
- Block Number
- Chain ID
- Gas Price
- Get Balance
- Get Block by Hash
- Get Block by Number
- Get Block Tx Count by Hash
- Get Block Tx Count by Number
- Get Code
- Get My Balance
- Get Transaction by Block Hash and Index
- Get Transaction by Block Number and Index
- Get Transaction by Hash
- Get Transaction Count
- Get Transaction Receipt
- Get Uncle Count by Block Hash
- Get Uncle Count by Block Number
- Help
- Peer Count
- Syncing
Get Transaction by Hash
AI-generatedSummary
Retrieves transaction details for a specific transaction hash on the Ethereum network.
Inputs
- Network — Select the Ethereum network: 'mainnet' or 'sepolia'. Defaults to 'mainnet'.
- Transaction Hash (required) — The hash of the transaction to retrieve, prefixed with '0x'.
Output shape
A single item containing the transaction details (JSON object) for the provided hash.
The response shape depends on the teckel API and includes fields such as block number, from/to addresses, gas used, and transaction input data.
Examples
Example 1: Fetch details for a specific Mainnet transaction
Network: mainnet, Transaction Hash: 0x8a0a1...
Example 2: Query a Sepolia testnet transaction
Network: sepolia, Transaction Hash: 0x4b2c5...