QuickNode icon

QuickNode

Interact with blockchain networks via QuickNode RPC endpoints

Blockchain → Get Transaction

AI-generated

Overview

This node interacts with blockchain networks via QuickNode RPC endpoints to retrieve transaction details by a given transaction hash. It is useful for developers and blockchain analysts who need to fetch specific transaction information from the blockchain, such as verifying transaction status, gas usage, or value transferred. For example, it can be used to monitor a transaction's confirmation or to audit blockchain activity.

Use Case Examples

  1. Retrieve details of a specific Ethereum transaction by its hash to verify its status and gas usage.
  2. Fetch transaction data for auditing or analytics purposes in a blockchain application.

Properties

Name Meaning
Transaction Hash The transaction hash to query on the blockchain, used to identify the specific transaction to retrieve.

Output

JSON

  • resource - The resource type, here it is 'blockchain'.
  • operation - The operation performed, here 'getTransaction'.
  • result - The raw transaction details returned from the blockchain.
  • timestamp - The ISO timestamp when the data was retrieved.
  • blockNumber - The block number containing the transaction, parsed as an integer.
  • gasUsed - The gas used by the transaction, parsed as an integer.
  • gasPrice - The gas price for the transaction, parsed as an integer.
  • value - The value transferred in the transaction, parsed as an integer.

Dependencies

  • QuickNode RPC endpoint URL credential

Troubleshooting

  • Ensure the transaction hash is valid and correctly formatted (starting with '0x').
  • Verify that the QuickNode API endpoint URL credential is correctly configured and has access to the blockchain network.
  • If the node returns an error from the QuickNode API, check the error message for details and ensure the transaction hash exists on the queried blockchain.

Links

Discussion