Blockflow Docs
AppBlog
CLI
CLI
  • Getting Started
    • Installation
    • Quickstart Guide
    • Project Structure
  • Building Blocks
    • Configuring YAML
    • Setting up Database Schema
    • Setting up Handlers
  • Writing handlers
    • Database Operations
      • Instance
      • API
      • Native
    • Indexing Factory Contracts
  • Production
    • Testing
    • Deployment
    • Query The Database
    • Building REST API
    • Building GraphQL APIs
  • Advanced
    • Migrate Subgraph
    • CLI Cheatsheet
    • Console Account
    • Logging
  • Hands-on Project
    • CCTP Protocol
    • ERC-4626
    • Credit-Debit
    • Avocado
    • ENS
    • SolverScan
    • xERC20
    • Snapshot
  • Glossary
    • IEventContext
    • IFunctionContext
    • ILog
    • ITransaction
    • IBlock
Powered by GitBook
On this page
  1. Glossary

ITransaction

It is predefined interface containing transaction data.

Field
Description

transaction_hash

Hash of the block in which this transaction was located.

transaction_nonce

Number of transactions made by the sender prior to this one.

transaction_index

The transaction's index position in the block.

transaction_from_address

Address of the sender.

transaction_to_address

Address of the receiver.

transaction_value

Value transferred in Wei.

transaction_gas

Quantity of gas units provided by the sender.

transaction_gas_price

Price per gas unit provided by the sender in Wei.

transaction_input

Data sent along with the transaction, with a maximum size of 32 bytes.

transaction_receipt_cumulative_gas_used

Gas used by this and all preceding transactions in the block.

transaction_receipt_gas_used

Gas used by this transaction alone.

transaction_receipt_status

Either 1 (success) or 0 (failure).

receipt_effective_gas_price

Actual value per gas deducted from the sender's account.

logs

logs.

export interface ITransaction {
  transaction_hash: string;
  transaction_nonce: string;
  transaction_index: string;
  transaction_from_address: string;
  transaction_to_address: string;
  transaction_value: string;
  transaction_gas: string;
  transaction_gas_price: string;
  transaction_input: string;
  transaction_receipt_cumulative_gas_used: string;
  transaction_receipt_gas_used: string;
  transaction_receipt_status: string;
  receipt_effective_gas_price: string;
  logs: ILog[]
}
PreviousILogNextIBlock