1Shot API icon

1Shot API

Interact with EVM blockchains via 1Shot API

Transaction → Get Transaction

AI-generated

Overview

This node interacts with the 1Shot API to retrieve details of a specific blockchain transaction by its Transaction ID. It is useful for users who want to fetch detailed information about a particular transaction on an EVM blockchain, such as verifying transaction status, details, or metadata.

Use Case Examples

  1. Retrieve a transaction by its ID to verify its confirmation status on the blockchain.
  2. Fetch transaction details to analyze the transaction's inputs, outputs, and associated wallet addresses.

Properties

Name Meaning
Transaction Name or ID The unique identifier of the transaction to retrieve. This is a required string input used to specify which transaction's details to fetch.

Output

JSON

  • json - The JSON object containing the transaction details returned from the 1Shot API.

Dependencies

  • Requires an OAuth2 API credential for authentication with the 1Shot API.

Troubleshooting

  • Ensure the Transaction ID is correctly specified and exists on the blockchain; otherwise, the API may return an error or empty result.
  • Check that the OAuth2 API credentials are valid and have the necessary permissions to access transaction data.
  • If the node throws an error about unsupported operations, verify that the resource is set to 'Transaction' and the operation to 'Get Transaction'.
  • Network or API connectivity issues may cause request failures; ensure the node can reach the 1Shot API endpoint.

Discussion