Credit Debit
Last updated
Last updated
Credit Debit tables contain the amount and direction (credit/debit) of every transfer event of TRX. This table will include two rows for every event, with one row representing credit and one row representing debit. Asset-specific tables are also available for query.
Unlike token transfers, data here is organized into credit and debit rows (similar to the accounting concept called "double entry book").
Using an TRX as an example, a token transfer will be represented as follows:
from_address | to_address | amount | event |
---|---|---|---|
In credit debit, it will be represented two rows.
address | counterparty_address | amount | event |
---|---|---|---|
X
Y
1250
X transfers 1250 tokens to Y
X
Y
-1250
X decrease 1250 tokens to Y
Y
X
1250
Y increase 1250 tokens from