Our B3 Credit Debit schema includes Credit and Debit entries for tokens.

TableDescriptionAssets Supported
credit_debitCredit and debit entries for assetsERC20, ERC721, ERC1155

Difference with transfers

Unlike token transfers, data here is organized into credit and debit rows (similar to the accounting concept called “double entry book”). The table contains the amount and direction (credit/debit) of every transfer event of supported assets.

Using an ERC20 token as an example, a token transfer will be represented as follows:

from_addressto_addressamountevent
XY1250X transfers 1250 tokens to Y

In credit debit, it will be represented two rows.

addresscounterparty_addressamountevent
XY-1250X decrease 1250 tokens to Y
YX1250Y increase 1250 tokens from