credmark.cmf.types.ledger.TokenBalanceTable
- class TokenBalanceTable(**kwargs)[source]
Bases:
LedgerTableToken balance ledger data table Column names
Methods
as_describeAttributes
Raw Amount scaled by token decimals
Unscaled raw amount
TYPE_MAPPERaliasbigint_colsReturn the set of column names in the table.
Return the set of column names for the table.
table_key- ADDRESS = 'address'
- AMOUNT = 'amount'
Raw Amount scaled by token decimals
- BLOCK_HASH = 'block_hash'
- BLOCK_NUMBER = 'block_number'
- BLOCK_TIMESTAMP = 'block_timestamp'
- COUNTERPARTY_ADDRESS = 'counterparty_address'
- LOG_INDEX = 'log_index'
- RAW_AMOUNT = 'raw_amount'
Unscaled raw amount
- TOKEN_ADDRESS = 'token_address'
- TRANSACTION_HASH = 'transaction_hash'