The Native Token Transfers table contains successful transfers of native tokens of the blockchain.

Broadly, movement of gas token can occur at 2 levels:

  • Trace transfers of native tokens:
    • Trace calls that deduct native token for movement of native tokens from an address. Only transfers of gas tokens from successful transactions are included.
  • Transaction fees:
    • Transaction fees payment from initiating a transactions. Both failed and successful transactions are included, as failed transactions still consume gas fees that’s deducted from the transaction sender.
    • For transaction fees, we compute the priority and base fees (if applicable) and assign the transaction sender as the from_address and the recipient to the respective destination (block miner, sequencer, burn address, etc).

Native gas tokens are represented as 0x0000000000000000000000000000000000000000 in the token_address in our assets schemas. This may be different for blockchains that do not have the typical hexadecimal address format. (e.g. Tron)

Table Columns

Unique Key: unique_id

Column NameData TypeDescription
from_addressVARCHARAddress where the token is being transferred from.
to_addressVARCHARAddress where the token is being transferred to.
token_addressVARCHARToken address of the asset transferred.
token_nameVARCHARName of the asset transferred.
token_symbolVARCHARToken symbol of the asset transferred.
raw_amountFLOATAmount of tokens transferred (unnormalized).
raw_amount_strVARCHARAmount of tokens transferred (unnormalized) in string to retain precision.
amountFLOATAmount of token transferred, normalized.
amount_strVARCHARAmount of token transferred, normalized in string to retain precision.
usd_amountFLOATThe USD amount of the tokens at the time of the transfer.
usd_exchange_rateFLOATThe exchange rate used to calculate the usd_amount.
call_typeVARCHARCall type of the transaction. Non-call type will be indicated by NULL.
transfer_typeVARCHARThe type of transfers, depending on the blockchain. Typically include: value_transfer, gas_burn, gas_payment_to_miner.
transaction_from_addressVARCHARThe address of the sending party of this transaction.
transaction_to_addressVARCHARThe address of the receiving party of this transaction (could be a contract address).
transaction_hashVARCHARTransaction hash that this transfer belongs to.
transaction_indexBIGINTThe position of this transaction in the block. The first transaction has index 0.
block_timestampTIMESTAMP_NTZ(9)The time when the block that contains this transaction was included on the blockchain.
block_numberBIGINTThe block number that the corresponding transaction of this transfer belongs to.
block_hashVARCHARThe block hash that the corresponding transaction of this transfer belongs to.
unique_idVARCHARUnique ID generated for each transfer.
_created_atTIMESTAMP_NTZ(9)Timestamp of when the entry was created.
_updated_atTIMESTAMP_NTZ(9)Timestamp of when the entry was last updated.
_changed_since_full_refreshBOOLEANIndicates if the record has changed since the last full refresh.