credmark.cmf.model.ledger.Ledger
- class Ledger[source]
Bases:
object
Performs queries on ledger data.
Access an instance of this class from the model context using
self.context.ledger
.Get a query handle by the name of the ledger table, for example
context.ledger.Transaction
orcontext.ledger.Contract
. The query parameters are common to all query methods.Methods
Returns a query handle for the given table name.
Returns a list of tables in the ledger database.
Attributes
Block
Contract
Log
Receipt
Token
TokenBalance
TokenTransfer
Trace
Transaction