Skip to main content
Credit Debit tables contain the amount and direction (credit/debit) of every transfer event of all assets (MATIC, ERC20, ERC721 and ERC1155) across all Polygon wallets. 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.

Difference with transfers

Unlike token transfers, data here is organized into credit and debit rows (similar to the accounting concept called “double entry book”).

Methodology

Using an ERC20 token as an example, a token transfer will be represented as follows: In credit debit, it will be represented as two rows.

Advantages Over Transfer Tables

  1. Balance Calculation
    • Easy summation of all credits and debits for an address
    • Simplified queries for net position calculations
    • Natural handling of complex transactions
  2. Flow Analysis
    • Clear visualization of token inflows and outflows
    • Simple aggregation of total volume by address
    • Easy identification of major senders/receivers
  3. Data Consistency
    • Built-in verification through balanced entries
    • Self-auditing through equal total credits and debits
    • Simplified reconciliation process

Sample Query

Debit and credit of ETH from a particular transaction.
Getting the cumulative change of USDC holdings in Uniswap v3 USDC-WETH pool in the last 30 days

Table Columns