credmark.cmf.types.ledger.TraceTable

class TraceTable(**kwargs)[source]

Bases: LedgerTable

Trace ledger data table Column names

Methods

as_

describe

Attributes

BLOCK_HASH

BLOCK_NUMBER

BLOCK_TIMESTAMP

CALL_TYPE

ERROR

FROM_ADDRESS

GAS

INPUT

OUTPUT

REWARD_TYPE

STATUS

TO_ADDRESS

TRACE_ADDRESS

TRACE_ID

TRACE_TYPE

TRANSACTION_HASH

TRANSACTION_INDEX

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'
CALL_TYPE = 'call_type'
ERROR = 'error'
FROM_ADDRESS = 'from_address'
GAS = 'gas'
INPUT = 'input'
OUTPUT = 'output'
REWARD_TYPE = 'reward_type'
STATUS = 'status'
TO_ADDRESS = 'to_address'
TRACE_ADDRESS = 'trace_address'
TRACE_ID = 'trace_id'
TRACE_TYPE = 'trace_type'
TRANSACTION_HASH = 'transaction_hash'
TRANSACTION_INDEX = 'transaction_index'
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.