eth_getTransactionByHash - Viction RPC Method
Retrieve transaction details by hash on Viction. Essential for consumer dApp developers, teams requiring gasless UX, and builders targeting mainstream adoption tracking transactions on the zero-gas L1 blockchain making Web3 accessible with 150 masternodes and VRC25 gasless tokens.
Returns the information about a transaction by transaction hash on Viction.
Why Viction? Build on the zero-gas L1 blockchain making Web3 accessible with 150 masternodes and VRC25 gasless tokens with zero-gas transactions via TomoZ, VRC25 gasless token standard, 150 masternodes, and partnerships with LayerZero and MoonPay.
Use Cases
The eth_getTransactionByHash method is essential for:
- Transaction tracking - Get details of pending or confirmed transactions
- Payment verification - Verify transaction parameters
- Debugging - Analyze transaction data for gasless token operations, consumer-friendly dApps, and cost-free user onboarding
- Block explorers - Display transaction information
Code Examples
Error Handling
| Error Code | Message | Description |
|---|---|---|
| -32602 | Invalid params | Invalid transaction hash format |
Related Methods
eth_getTransactionReceipt- Get transaction receipteth_sendRawTransaction- Send transaction
eth_sendRawTransaction
Submit signed transactions to Viction. Essential for broadcasting transactions for gasless token operations, consumer-friendly dApps, and cost-free user onboarding.
eth_getTransactionReceipt
Get transaction receipt with status and logs on Viction. Essential for verifying transaction execution for gasless token operations, consumer-friendly dApps, and cost-free user onboarding.