Definition

A blockchain transaction is a transfer of value or data from one participant to another within a blockchain network. In a blockchain, transactions are stored in blocks, which are connected in a linear, chronological chain, hence the name “blockchain”. When a transaction occurs on a blockchain, it is first broadcast to the network, where it is verified and validated by the nodes or computers that participate in the network. Once a consensus is reached among the nodes, the transaction is recorded in a block, which is then added to the blockchain. A typical blockchain transaction contains the following information:
  • Sender address: The address of the participant who initiates the transaction.
  • Recipient address: The address of the participant who receives the transaction.
  • Amount: The value or quantity of the asset or data being transferred.
  • Transaction fee: The fee paid by the sender to incentivize the network to process the transaction.
  • Timestamp: The date and time when the transaction occurred.
  • Transaction hash: A unique identifier that is generated for each transaction.

Details

Amberdata offers comprehensive transaction data through its transactions endpoints, covering all relevant details such as sending and receiving addresses (including token transfers), fees (gas), amounts, op codes, block numbers, block hashes, timestamps, and more. These endpoints provide flexible granularity, allowing users to query data at the transaction hash level, address level, or block level depending on their specific needs. This versatility means that Amberdata’s transaction endpoints can often fulfill data requirements within a single query, eliminating the need to use multiple tools or navigate complex menus to retrieve the desired information.

API Endpoints

/blockchains/addresses/{hash}/transactions

Availability

The transactions endpoints are accessible via REST API, WebSockets, and JSON RPC across multiple on-chain namespaces. A full list of supported blockchains is available in the Amberdata API documentation here.

Frequently Asked Questions

What are the benefits of granular transaction data?
  • Granular transaction data enables diverse applications, including research and back-testing, accounting, tax reporting, and other use cases requiring detailed blockchain activity analysis.
What types of transaction data are included in API responses?
  • API responses include all addresses involved in the transaction, gas price and gas used, transaction hash, nonce, number of confirmations, timestamp, and additional relevant metadata.