credmark.cmf.types.ledger.ReceiptTable

class ReceiptTable(**kwargs)[source]

Bases: LedgerTable

Receipts ledger data table Column names

Methods

as_

describe

Attributes

BLOCK_HASH

BLOCK_NUMBER

BLOCK_TIMESTAMP

CONTRACT_ADDRESS

CUMULATIVE_GAS_USED

EFFECTIVE_GAS_PRICE

GAS_USED

ROOT

STATUS

TRANSACTION_HASH

TRANSACTION_INDEX

TYPE_MAPPER

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'
CONTRACT_ADDRESS = 'contract_address'
CUMULATIVE_GAS_USED = 'cumulative_gas_used'
EFFECTIVE_GAS_PRICE = 'effective_gas_price'
GAS_USED = 'gas_used'
ROOT = 'root'
STATUS = 'status'
TRANSACTION_HASH = 'transaction_hash'
TRANSACTION_INDEX = 'transaction_index'
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.