credmark.cmf.types.ledger.TransactionTable

class TransactionTable(**kwargs)[source]

Bases: LedgerTable

Transactions ledger data table Column names

Methods

as_

describe

Attributes

BLOCK_HASH

BLOCK_NUMBER

BLOCK_TIMESTAMP

FROM_ADDRESS

GAS

GAS_PRICE

HASH

INPUT

MAX_FEE_PER_GAS

MAX_PRIORITY_FEE_PER_GAS

NONCE

TO_ADDRESS

TRANSACTION_INDEX

TRANSACTION_TYPE

TYPE_MAPPER

VALUE

alias

bigint_cols

colnames

Return the set of column names in the table.

columns

Return the set of column names for the table.

table_key

BLOCK_HASH = 'block_hash'
BLOCK_NUMBER = 'block_number'
BLOCK_TIMESTAMP = 'block_timestamp'
FROM_ADDRESS = 'from_address'
GAS = 'gas'
GAS_PRICE = 'gas_price'
HASH = 'hash'
INPUT = 'input'
MAX_FEE_PER_GAS = 'max_fee_per_gas'
MAX_PRIORITY_FEE_PER_GAS = 'max_priority_fee_per_gas'
NONCE = 'nonce'
TO_ADDRESS = 'to_address'
TRANSACTION_INDEX = 'transaction_index'
TRANSACTION_TYPE = 'transaction_type'
VALUE = 'value'
property colnames: List[str]

Return the set of column names in the table. They can be used in the query.

property columns: List[str]

Return the set of column names for the table. They will be used in the database.

For contract ledger tables, the set will include all contract-specific columns.