(Beta) The ton.assets.ton_transfers table includes transfers of TON from messages (and internal transfers) as well as TON consumed from transaction fees.

This table is in Beta

  • There may be unaccounted edge cases involving Ton transfers

All address fields used in this table will be in Hex format and upper casing

  • There are up to 5 equivalent addresses for a given address on Ton.

  • Example of Hex address: 0:B113A994B5024A16719F69139328EB759596C38A25F59028B146FECDC3621DFE

Table Columns

Unique Key: unique_id

Column NameDescription
from_addressThe address of the sender of the TON transfer
to_addressThe address of the recipient of the TON transfer
token_addressThe address of the token contract (always ‘0’ for native TON)
token_nameThe name of the token (always ‘Toncoin’ for native TON)
token_symbolThe symbol of the token (always ‘TON’ for native TON)
raw_amount_strThe raw transfer amount as a string to retain precision
raw_amountThe raw transfer amount as a float
amount_strThe normalized transfer amount as a string (9 decimal places), in string format to retain precision
amountThe normalized transfer amount as a float
usd_amountThe USD value of the transfer at the hour of the transaction
usd_exchange_rateThe USD/TON exchange rate at the time of the transaction
transfer_typeThe type of transfer, can be fees or value_transfer
opcodeThe operation code associated with the transfer
utimeThe timestamp of the transfer
transaction_hashThe hash of the transaction containing this transfer
message_hashThe hash of the message associated with this transfer
transaction_indexThe index of the transaction within the block
message_indexThe index of the message within the transaction
seqnoThe sequence number of the transaction
shardThe shard identifier for this transaction
workchainThe workchain identifier for this transaction
unique_idA unique identifier for this transfer
block_timestampThe timestamp of the block containing this transfer
created_atTimestamp when this record was created
updated_atTimestamp when this record was last updated