Skip to main content

Tron Dataset

This is the Tron chain dataset provided by Nodit Datashare. You can review the table structure of the stored data, along with the primary keys and columns for each table. This information lets you understand the types and structure of data you can extract using Datashare.


Dataset

This is the Tron chain dataset available in Nodit Datashare. Select the dataset you need to extract data, and view the schema for each dataset in Data Schema.

TableDescription
account_metaAccount metadata
blocksBlock data
contractsContract data
internal_transactionsInternal transaction data
logsEvent log data
logs_decodedEvent log data decoded using 4byte.directory
native_holdersNative token holder data
native_transfersNative token transfer data
sunswap_tradesSunSwap trade data
sunswap_v1_5_tron_exchangeSunSwap v1.5 exchange address data
sunswap_v1_tron_exchangeSunSwap v1 exchange address data
sunswap_v2_tron_exchangeSunSwap v2 exchange address data
sunswap_v3_tron_exchangeSunSwap v3 exchange address data
system_contractsSystem contract data
transaction_infoTransaction execution information
transactionsTransaction data
trc10_metaTRC-10 metadata
trc10_transfersTRC-10 transfer data
trc1155_metaTRC-1155 metadata
trc1155_transfersTRC-1155 transfer data
trc20_metaTRC-20 metadata
trc20_transfersTRC-20 transfer data
trc721_inventoriesTRC-721 inventory data
trc721_metaTRC-721 metadata
trc721_transfersTRC-721 transfer data

Data Schema

The data schema for each table. For each column, you can review the type and description, as well as the table's Unique Key and the "Filterable Columns" available for filtering.

account_meta

Unique Key: address, block_number

Filterable Columns: address

ColumnTypeDescription
account_idVARCHARThe internal identifier for the account.
creator_addressVARCHARThe address that created this account.
account_nameVARCHARThe name assigned to the account.
typeVARCHARThe account type (e.g., Normal, AssetIssue).
addressVARCHARThe account address in Base58 format.
lowercase_addressVARCHARThe account address normalized to lowercase.
evm_addressVARCHARThe account address converted to EVM-compatible format.
create_timeBIGINTThe Unix timestamp (in milliseconds) when the account was created.
block_numberBIGINTThe number of the block in which this account was created.
block_timestampTIMESTAMP(6)The time at which the block was produced.
tx_idVARCHARThe ID of the transaction used to create the account.
tx_indexBIGINTThe sequential position of the transaction within the block.

blocks

Unique Key: block_number

Filterable Columns: None

ColumnTypeDescription
block_idVARCHARThe unique identifier hash of the block.
tx_trie_rootVARCHARThe root hash of the trie structure combining all transactions in the block.
parent_hashVARCHARThe hash of the previous block, forming the chain linkage.
witness_addressVARCHARThe address of the Super Representative (SR) that produced this block.
versionBIGINTThe protocol version the block conforms to.
account_state_rootVARCHARThe root hash of the global account state trie after block processing.
transactionsARRAY(VARCHAR)The list of transaction IDs included in the block.
block_numberBIGINTThe sequential number indicating the block's position in the chain.
block_timestampTIMESTAMP(6)The time at which the block was produced.

contracts

Unique Key: address, block_number, tx_index

Filterable Columns: address, origin_address, internal_origin_address

ColumnTypeDescription
addressVARCHARThe Base58 address of the deployed smart contract.
lowercase_addressVARCHARThe contract address normalized to lowercase.
evm_addressVARCHARThe contract address converted to EVM-compatible format.
origin_addressVARCHARThe address that originally deployed the contract.
internal_origin_addressVARCHARThe address that deployed the contract via an internal transaction.
bytecodeVARCHARThe executable bytecode of the contract.
abiVARCHARThe ABI (Application Binary Interface) definition for interacting with the contract.
nameVARCHARThe name assigned to the contract.
code_hashVARCHARThe hash of the contract bytecode.
versionBIGINTThe version information of the contract.
call_valueBIGINTThe amount of TRX sent at contract deployment.
consume_user_resource_percentBIGINTThe percentage of energy costs borne by the user when calling the contract.
origin_energy_limitBIGINTThe maximum energy limit per contract call set by the deployer.
function_sighashesARRAY(VARCHAR)The list of 4-byte signature hashes for functions defined in the contract.
block_numberBIGINTThe number of the block in which the contract was deployed.
block_timestampTIMESTAMP(6)The time at which the block containing the contract deployment was produced.
tx_idVARCHARThe ID of the contract deployment transaction.
tx_indexBIGINTThe sequential position of the transaction within the block.

internal_transactions

Unique Key: hash

Filterable Columns: caller_address, transfer_to_address

ColumnTypeDescription
hashVARCHARThe unique identifier hash of the internal transaction.
caller_addressVARCHARThe contract or address that initiated the internal transaction.
transfer_to_addressVARCHARThe destination address that received assets via the internal transaction.
noteVARCHARA memo or description attached to the internal transaction.
rejectedBOOLEANIndicates whether the internal transaction was rejected (failed).
extraVARCHARAdditional data included in the internal transaction.
call_value_infoARRAY(ROW(call_value BIGINT, asset_id VARCHAR))The list of assets (TRX or TRC-10) transferred via the internal transaction.
internal_tx_indexBIGINTThe sequential position of the internal transaction within the parent transaction.
block_numberBIGINTThe number of the block containing this internal transaction.
block_timestampTIMESTAMP(6)The time at which the block containing this internal transaction was produced.
tx_idVARCHARThe ID of the parent transaction containing this internal transaction.
tx_indexBIGINTThe sequential position of the parent transaction within the block.

logs

Unique Key: log_index, tx_id

Filterable Columns: address

ColumnTypeDescription
addressVARCHARThe address of the smart contract that emitted the event.
topicsARRAY(VARCHAR)The list of topic hashes used for event identification and indexing.
dataVARCHARThe ABI-encoded event parameter data.
log_indexBIGINTThe sequential position of this log within the block.
block_numberBIGINTThe number of the block containing this event log.
block_timestampTIMESTAMP(6)The time at which the block containing this event log was produced.
tx_idVARCHARThe ID of the transaction that emitted this event.
tx_indexBIGINTThe sequential position of the transaction within the block.

native_holders

Unique Key: address, block_number

Filterable Columns: address

ColumnTypeDescription
addressVARCHARThe address of the account holding TRX.
valueVARCHARThe TRX balance held by this account.
block_idVARCHARThe unique identifier of the block in which this snapshot was recorded.
block_numberBIGINTThe number of the block in which this snapshot was recorded.
block_timestampTIMESTAMP(6)The time at which the block was produced.

native_transfers

Unique Key: internal_tx_index, block_number, tx_index

Filterable Columns: from_address, to_address

ColumnTypeDescription
from_addressVARCHARThe address that sent TRX.
to_addressVARCHARThe address that received TRX.
valueVARCHARThe amount of TRX transferred.
internal_tx_indexBIGINTThe internal sequential position of this transfer within the transaction.
typeVARCHARThe type of native transfer.
exchange_idBIGINTThe ID of the Exchange if this transfer is exchange-related.
block_numberBIGINTThe number of the block containing this transfer.
block_timestampTIMESTAMP(6)The time at which the block containing this transfer was produced.
tx_idVARCHARThe ID of the transaction containing this transfer.
tx_indexBIGINTThe sequential position of the transaction within the block.

system_contracts

Unique Key: tx_id

Filterable Columns: None

ColumnTypeDescription
system_contract_typeVARCHARThe type of system contract executed.
block_numberBIGINTThe number of the block containing this system contract transaction.
block_timestampTIMESTAMP(6)The time at which the block was produced.
tx_idVARCHARThe unique identifier of the transaction.
tx_indexBIGINTThe sequential position of the transaction within the block.
abbrVARCHARThe abbreviation (ticker) of the asset.
abiVARCHARThe ABI definition of the smart contract.
account_addressVARCHARThe target account address for the system contract operation.
account_idVARCHARThe internal identifier of the target account.
account_nameVARCHARThe name of the target account.
activesVARCHARThe list of active permissions set on the account.
amountBIGINTThe amount of TRX or assets used in the operation.
asset_idBIGINTThe ID of the TRC-10 asset involved in the operation.
asset_nameVARCHARThe name of the TRC-10 asset.
balanceBIGINTThe balance of the account involved in the operation.
brokerageBIGINTThe reward distribution ratio of the Super Representative (SR).
buy_asset_idBIGINTThe TRC-10 ID of the asset to purchase in an exchange.
buy_asset_quantityBIGINTThe quantity of the asset to purchase in an exchange.
bytecodeVARCHARThe bytecode of the smart contract to deploy.
call_asset_valueBIGINTThe amount of TRC-10 assets sent when calling the contract.
call_valueBIGINTThe amount of TRX sent when calling the contract.
code_hashVARCHARThe hash of the contract bytecode.
consume_user_resource_percentBIGINTThe percentage of energy costs borne by the user when calling the contract.
contract_addressVARCHARThe address of the smart contract targeted by the operation.
countBIGINTThe number of items related to the operation.
dataVARCHARData included in the system contract operation.
descriptionVARCHARA description of the TRC-10 asset or account.
end_timeBIGINTThe end time (in milliseconds) of a TRC-10 asset sale or specific operation.
exchange_idBIGINTThe ID of the Exchange targeted by the operation.
expectedBIGINTThe expected output quantity or other expected value.
first_asset_balanceBIGINTThe current balance of the first asset in the Exchange.
first_asset_idBIGINTThe TRC-10 ID of the first asset registered in the Exchange.
free_asset_net_limitBIGINTThe free bandwidth limit per TRC-10 asset holder.
from_addressVARCHARThe address that sent the asset.
from_amountBIGINTThe quantity of the asset sent in an exchange.
frozen_amountBIGINTThe quantity of frozen assets.
frozen_balanceBIGINTThe frozen TRX balance.
frozen_daysBIGINTThe TRX freeze duration in days.
frozen_durationBIGINTThe total TRX freeze period.
frozen_supplyARRAY(ROW(frozen_amount BIGINT, frozen_days BIGINT))The list of initially frozen supply amounts for TRC-10 assets.
is_add_approvalBOOLEANIndicates whether the operation adds an approval.
issuer_addressVARCHARThe address of the account that issued the TRC-10 asset.
lockBOOLEANIndicates whether reward funds are locked.
lock_periodBIGINTThe lock period for reward funds.
nameVARCHARThe name of the asset or contract.
new_limitBIGINTThe updated energy or bandwidth limit.
new_public_limitBIGINTThe updated public bandwidth limit.
numBIGINTThe numerator value of the TRC-10 asset's TRX exchange ratio.
orderVARCHARThe order or sequence information for the operation.
order_idVARCHARThe unique identifier of the trade order.
origin_addressVARCHARThe address that originally called the system contract operation.
origin_energy_limitBIGINTThe maximum energy limit per contract call set by the deployer.
ownerROW(type VARCHAR, id BIGINT, permission_name VARCHAR, threshold BIGINT, parent_id BIGINT, operations VARCHAR, keys ARRAY(ROW(address VARCHAR, weight BIGINT)))The owner permission information used for transaction signing.
owner_addressVARCHARThe address of the account that performed the system contract operation.
parametersVARCHARThe list of network parameters to modify in a governance proposal.
precisionBIGINTThe decimal precision of the TRC-10 asset.
proposal_idBIGINTThe unique number of the governance proposal.
public_free_asset_net_limitBIGINTThe total free bandwidth limit applied to all users in common.
public_free_asset_net_usageBIGINTThe current usage of the public free bandwidth limit.
public_latest_free_net_timeBIGINTThe time at which the public free bandwidth was last used.
quantBIGINTThe quantity of assets injected into an exchange.
receive_descriptionVARCHARA description of the receive details for a shielded transaction.
receiver_addressVARCHARThe destination address receiving the assets.
resourceVARCHARThe type of resource being frozen or delegated (BANDWIDTH or ENERGY).
second_asset_balanceBIGINTThe current balance of the second asset in the Exchange.
second_asset_idBIGINTThe TRC-10 ID of the second asset registered in the Exchange.
sell_asset_idBIGINTThe TRC-10 ID of the asset to sell in an exchange.
sell_asset_quantityBIGINTThe quantity of the asset to sell in an exchange.
spend_descriptionVARCHARA description of the spend details for a shielded transaction.
start_timeBIGINTThe start time (in milliseconds) of a TRC-10 asset sale or specific operation.
supportBOOLEANIndicates whether a governance proposal is supported.
to_addressVARCHARThe destination address receiving the assets.
to_amountBIGINTThe quantity of assets received in an exchange.
total_supplyVARCHARThe total supply of the TRC-10 asset.
trx_hashVARCHARThe hash of the related TRX transaction.
trx_numBIGINTThe TRX quantity in the exchange ratio between a TRC-10 asset and TRX.
typeVARCHARThe type of system contract or operation.
unfreeze_balanceBIGINTThe TRX balance subject to an unfreeze operation.
update_urlVARCHARThe URL for updating asset or proposal-related information.
urlVARCHARThe URL associated with the asset or account.
vote_addressVARCHARThe address of the Super Representative (SR) that received votes.
vote_scoreBIGINTThe vote score assigned to the SR.
votesARRAY(ROW(vote_address VARCHAR, vote_count BIGINT))The list of SR election votes, where each entry contains a vote address and vote count.
witnessROW(type VARCHAR, id BIGINT, permission_name VARCHAR, threshold BIGINT, parent_id BIGINT, operations VARCHAR, keys ARRAY(ROW(address VARCHAR, weight BIGINT)))The witness permission information used for transaction signing.

transaction_info

Unique Key: tx_id

Filterable Columns: owner_address, to_address

ColumnTypeDescription
resultVARCHARThe execution result of the transaction (success/failure).
feeBIGINTThe total fee consumed for transaction processing (in sun).
contract_addressVARCHARThe address of the smart contract deployed by the transaction.
res_messageVARCHARThe result message returned when the transaction fails.
asset_issue_idBIGINTThe asset ID for asset issuance-related transactions.
withdraw_amountBIGINTThe amount withdrawn as staking rewards (in sun).
unfreeze_amountBIGINTThe amount of TRX processed in an unfreeze operation (in sun).
exchange_received_amountBIGINTThe quantity of assets received in an exchange transaction.
exchange_inject_another_amountBIGINTThe quantity of another asset additionally injected into the Exchange.
exchange_withdraw_another_amountBIGINTThe quantity of another asset withdrawn from the Exchange.
exchange_idBIGINTThe unique ID of the exchange transaction.
shielded_transaction_feeBIGINTThe fee consumed for processing a shielded transaction.
order_idVARCHARThe unique ID of the order associated with this transaction.
order_detailsARRAY(VARCHAR)The list of order detail information.
packing_feeBIGINTThe fee charged for transaction packing.
withdraw_expire_amountBIGINTThe amount withdrawn from expired Stake v2 funds.
cancel_unfreeze_v2_amountVARCHARThe TRX amount from a cancelled Unfreeze v2 operation.
energy_usageBIGINTThe total energy consumed for transaction execution, including deployer energy.
energy_feeBIGINTThe energy fee paid in TRX when energy is insufficient (in sun).
origin_energy_usageBIGINTThe energy consumption provided by the contract deployer.
energy_usage_totalBIGINTThe total energy consumed for transaction execution.
net_usageBIGINTThe bandwidth consumed for transaction processing.
net_feeBIGINTThe bandwidth fee paid in TRX when bandwidth is insufficient (in sun).
receipt_resultVARCHARThe receipt value indicating the contract execution result.
energy_penalty_totalBIGINTThe total additional energy charged as an energy penalty.
owner_addressVARCHARThe address of the account that signed and executed the transaction.
to_addressVARCHARThe recipient address of the transaction.
statusBOOLEANThe processing status of the transaction.
block_numberBIGINTThe number of the block containing this transaction.
block_timestampTIMESTAMP(6)The time at which the block containing this transaction was produced.
tx_idVARCHARThe unique identifier of the transaction.
tx_indexBIGINTThe sequential position of the transaction within the block.

transactions

Unique Key: tx_id

Filterable Columns: owner_address, to_address

ColumnTypeDescription
contract_retVARCHARThe result code from smart contract execution.
ref_block_bytesVARCHARA 2-byte value representing the number of the block this transaction references.
ref_block_hashVARCHARA portion of the hash of the block this transaction references.
expirationBIGINTThe time (in milliseconds) at which this transaction expires if not processed.
fee_limitBIGINTThe maximum fee limit (in sun) for smart contract execution.
dataVARCHARA memo or data attached to the transaction.
typeVARCHARThe contract type of the transaction.
type_urlVARCHARThe protobuf type URL of the transaction contract.
providerVARCHARInformation about the transaction submitter or provider.
contract_nameVARCHARThe name of the smart contract called.
valuesVARCHARThe contract parameter values included in the transaction.
permission_idBIGINTThe ID of the multi-signature permission used to sign the transaction.
owner_addressVARCHARThe address of the account that signed and executed the transaction.
to_addressVARCHARThe destination address that received TRX or assets.
amountBIGINTThe TRX amount corresponding to the system_contract_type.
tx_timestampBIGINTThe time (in milliseconds) at which the transaction was created.
is_multi_sigBOOLEANIndicates whether this is a multi-signature transaction.
statusBOOLEANThe processing status of the transaction.
block_numberBIGINTThe number of the block containing this transaction.
block_timestampTIMESTAMP(6)The time at which the block containing this transaction was produced.
tx_idVARCHARThe unique identifier of the transaction.
tx_indexBIGINTThe sequential position of the transaction within the block.
extra_retVARCHARThe additional result code returned after transaction execution.

trc10_meta

Unique Key: asset_id, block_number

Filterable Columns: None

ColumnTypeDescription
asset_idBIGINTThe unique ID of the TRC-10 asset.
nameVARCHARThe name of the TRC-10 asset.
owner_addressVARCHARThe address of the account that issued this TRC-10 asset.
abbrVARCHARThe abbreviation (ticker) of the TRC-10 asset.
total_supplyVARCHARThe total supply of the TRC-10 asset.
trx_numBIGINTThe TRX unit quantity in the exchange ratio with TRX.
numBIGINTThe asset unit quantity in the exchange ratio with TRX.
precisionBIGINTThe decimal precision of the TRC-10 asset.
start_timeBIGINTThe start time (in milliseconds) of the TRC-10 asset public sale.
end_timeBIGINTThe end time (in milliseconds) of the TRC-10 asset public sale.
orderBIGINTThe display order of the asset in a listing.
descriptionVARCHARA description of the TRC-10 asset.
urlVARCHARThe project page URL associated with the TRC-10 asset.
free_asset_net_limitBIGINTThe free bandwidth limit per individual asset holder.
public_free_asset_net_limitBIGINTThe total free bandwidth limit applied to all users in common.
block_numberBIGINTThe number of the block containing the asset issuance transaction.
block_timestampTIMESTAMP(6)The time at which the block was produced.
tx_idVARCHARThe ID of the asset issuance transaction.
tx_indexBIGINTThe sequential position of the transaction within the block.

trc10_transfers

Unique Key: asset_id, internal_tx_index, tx_id

Filterable Columns: from_address, to_address

ColumnTypeDescription
asset_idBIGINTThe ID of the TRC-10 asset transferred.
from_addressVARCHARThe address that sent the TRC-10 asset.
to_addressVARCHARThe address that received the TRC-10 asset.
valueVARCHARThe quantity of TRC-10 assets transferred.
internal_tx_indexBIGINTThe internal sequential position of this transfer within the transaction.
typeVARCHARThe type of transfer.
exchange_idBIGINTThe ID of the Exchange if this asset transfer occurred through an Exchange.
block_numberBIGINTThe number of the block containing this transfer.
block_timestampTIMESTAMP(6)The time at which the block was produced.
tx_idVARCHARThe ID of the transaction containing this transfer.
tx_indexBIGINTThe sequential position of the transaction within the block.

trc1155_meta

Unique Key: token_address, block_number

Filterable Columns: token_address

ColumnTypeDescription
token_addressVARCHARThe address of the TRC-1155 contract.
deployerVARCHARThe address of the account that deployed the TRC-1155 contract.
nameVARCHARThe name of the TRC-1155 contract.
symbolVARCHARThe symbol (ticker) of the TRC-1155 contract.
typeVARCHARIndicates whether the token conforms to the standard.
block_numberBIGINTThe number of the block in which the contract was deployed.
block_timestampTIMESTAMP(6)The time at which the block containing the contract deployment was produced.
tx_idVARCHARThe ID of the contract deployment transaction.
tx_indexBIGINTThe sequential position of the transaction within the block.

trc1155_transfers

Unique Key: log_index, batch_index, tx_id

Filterable Columns: token_address, from_address, to_address, operator

ColumnTypeDescription
token_addressVARCHARThe address of the TRC-1155 contract where the transfer occurred.
from_addressVARCHARThe address that sent the tokens.
to_addressVARCHARThe address that received the tokens.
operatorVARCHARThe operator address that approved or executed the token transfer.
valueVARCHARThe quantity of tokens transferred.
token_idVARCHARThe ID of the TRC-1155 token transferred.
log_indexBIGINTThe sequential position of this event log within the block.
batch_indexBIGINTThe sequential position of this item within a batch transfer.
block_numberBIGINTThe number of the block containing this transfer.
block_timestampTIMESTAMP(6)The time at which the block was produced.
tx_idVARCHARThe ID of the transaction containing this transfer.
tx_indexBIGINTThe sequential position of the transaction within the block.

trc20_meta

Unique Key: token_address, block_number

Filterable Columns: token_address

ColumnTypeDescription
token_addressVARCHARThe address of the TRC-20 contract.
deployerVARCHARThe address of the account that deployed the TRC-20 contract.
nameVARCHARThe name of the TRC-20 token.
symbolVARCHARThe symbol (ticker) of the TRC-20 token.
decimalsVARCHARThe number of decimal places for the TRC-20 token.
total_supplyVARCHARThe total supply of the TRC-20 token.
typeVARCHARIndicates whether the token conforms to the standard.
block_numberBIGINTThe number of the block in which the contract was deployed.
block_timestampTIMESTAMP(6)The time at which the block containing the contract deployment was produced.
tx_idVARCHARThe ID of the contract deployment transaction.
tx_indexBIGINTThe sequential position of the transaction within the block.

trc20_transfers

Unique Key: log_index, tx_id

Filterable Columns: token_address, from_address, to_address

ColumnTypeDescription
token_addressVARCHARThe address of the TRC-20 contract where the transfer occurred.
from_addressVARCHARThe address that sent the tokens.
to_addressVARCHARThe address that received the tokens.
valueVARCHARThe quantity of TRC-20 tokens transferred.
log_indexBIGINTThe sequential position of this event log within the block.
block_numberBIGINTThe number of the block containing this transfer.
block_timestampTIMESTAMP(6)The time at which the block was produced.
tx_idVARCHARThe ID of the transaction containing this transfer.
tx_indexBIGINTThe sequential position of the transaction within the block.

trc721_inventories

Unique Key: token_address, token_id, block_number

Filterable Columns: token_address, address

ColumnTypeDescription
token_addressVARCHARThe TRC-721 contract address of the NFT.
addressVARCHARThe address of the account currently holding the NFT.
token_idVARCHARThe unique token ID identifying the specific NFT.
block_numberBIGINTThe number of the block in which this inventory snapshot was recorded.
block_timestampTIMESTAMP(6)The time at which the block was produced.
tx_idVARCHARThe ID of the transaction that recorded this ownership state.
tx_indexBIGINTThe sequential position of the transaction within the block.

trc721_meta

Unique Key: token_address, block_number

Filterable Columns: token_address

ColumnTypeDescription
token_addressVARCHARThe address of the TRC-721 contract.
deployerVARCHARThe address of the account that deployed the TRC-721 contract.
nameVARCHARThe name of the TRC-721 NFT collection.
symbolVARCHARThe symbol (ticker) of the TRC-721 NFT collection.
typeVARCHARIndicates whether the token conforms to the standard.
block_numberBIGINTThe number of the block in which the contract was deployed.
block_timestampTIMESTAMP(6)The time at which the block containing the contract deployment was produced.
tx_idVARCHARThe ID of the contract deployment transaction.
tx_indexBIGINTThe sequential position of the transaction within the block.

trc721_transfers

Unique Key: log_index, tx_id

Filterable Columns: token_address, from_address, to_address

ColumnTypeDescription
token_addressVARCHARThe address of the TRC-721 contract where the transfer occurred.
from_addressVARCHARThe address that sent the NFT.
to_addressVARCHARThe address that received the NFT.
token_idVARCHARThe unique token ID of the transferred NFT.
log_indexBIGINTThe sequential position of this event log within the block.
block_numberBIGINTThe number of the block containing this transfer.
block_timestampTIMESTAMP(6)The time at which the block was produced.
tx_idVARCHARThe ID of the transaction containing this transfer.
tx_indexBIGINTThe sequential position of the transaction within the block.

sunswap_trades

Unique Key: tx_id, log_index

Filterable Columns: sender, recipient, bought_token_address, sold_token_address, project_contract_address

ColumnTypeDescription
block_timestampTIMESTAMP(6)The time at which the block containing this trade was produced.
tx_idVARCHARThe ID of the transaction containing this trade.
log_indexINTEGERThe sequential position of this event log within the block.
senderVARCHARThe address that initiated the trade.
recipientVARCHARThe address that receives the assets as a result of the trade.
bought_token_amountVARCHARThe quantity of tokens purchased in this trade.
sold_token_amountVARCHARThe quantity of tokens sold in this trade.
bought_token_addressVARCHARThe contract address of the purchased token.
sold_token_addressVARCHARThe contract address of the sold token.
project_contract_addressVARCHARThe address of the SunSwap pool contract where the trade occurred.
sunswap_verVARCHARThe version of SunSwap where this trade occurred.

sunswap_v1_5_tron_exchange

Unique Key: exchange

Filterable Columns: exchange, token

ColumnTypeDescription
exchangeVARCHARThe Exchange contract address of the SunSwap v1.5 pool.
contract_addressVARCHARThe factory contract address where the Exchange creation event occurred.
tx_idVARCHARThe ID of the Exchange creation transaction.
log_indexINTEGERThe sequential position of this event log within the block.
block_timestampTIMESTAMP(6)The time at which the block in which the Exchange was created was produced.
block_numberINTEGERThe number of the block in which the Exchange was created.
tokenVARCHARThe address of the token paired with TRX in this Exchange.

sunswap_v1_tron_exchange

Unique Key: exchange

Filterable Columns: exchange, token

ColumnTypeDescription
exchangeVARCHARThe Exchange contract address of the SunSwap v1 pool.
contract_addressVARCHARThe factory contract address where the Exchange creation event occurred.
tx_idVARCHARThe ID of the Exchange creation transaction.
log_indexINTEGERThe sequential position of this event log within the block.
block_timestampTIMESTAMP(6)The time at which the block in which the Exchange was created was produced.
block_numberINTEGERThe number of the block in which the Exchange was created.
tokenVARCHARThe address of the token paired with TRX in this Exchange.

sunswap_v2_tron_exchange

Unique Key: pair

Filterable Columns: pair, token0, token1

ColumnTypeDescription
pairVARCHARThe pair contract address of the SunSwap v2 pool.
contract_addressVARCHARThe factory contract address where the pool creation event occurred.
tx_idVARCHARThe ID of the pool creation transaction.
log_indexINTEGERThe sequential position of this event log within the block.
block_timestampTIMESTAMP(6)The time at which the block in which the pool was created was produced.
block_numberINTEGERThe number of the block in which the pool was created.
_0VARCHARThe original event field name _0, which contains currently unused data.
token0VARCHARThe contract address of the first token in the pool.
token1VARCHARThe contract address of the second token in the pool.

sunswap_v3_tron_exchange

Unique Key: pool

Filterable Columns: pool, token0, token1

ColumnTypeDescription
poolVARCHARThe contract address of the SunSwap v3 pool.
contract_addressVARCHARThe factory contract address where the pool creation event occurred.
tx_idVARCHARThe ID of the pool creation transaction.
log_indexINTEGERThe sequential position of this event log within the block.
block_timestampTIMESTAMP(6)The time at which the block in which the pool was created was produced.
block_numberINTEGERThe number of the block in which the pool was created.
feeVARCHARThe fee tier charged for trades in the pool.
tick_spacingVARCHARThe tick spacing value of the pool, which determines price precision.
token0VARCHARThe contract address of the first token in the pool.
token1VARCHARThe contract address of the second token in the pool.

token_ohlcv_5m

Unique Key: bucket, base_token_address, quote

Filterable Columns: base_token_address

ColumnTypeDescription
partition_dayDATEThe date value used for partition pruning.
bucketTIMESTAMP(6)The start time of the 5-minute OHLCV aggregation interval.
base_token_addressVARCHARThe contract address of the base token whose price is quoted.
base_symbolVARCHARThe symbol (ticker) of the base token.
quoteVARCHARThe contract address of the quote token used to express the base token's price.
openDOUBLEThe opening price at the start of the interval.
highDOUBLEThe highest price during the interval.
lowDOUBLEThe lowest price during the interval.
closeDOUBLEThe closing price at the end of the interval.
volumeDOUBLEThe total trading volume of the base token during the interval.
quote_volumeDOUBLEThe total trading volume of the quote token during the interval.
trade_countBIGINTThe number of trades that occurred within the interval.

token_ohlcv_1h

Unique Key: bucket, base_token_address, quote

Filterable Columns: base_token_address

ColumnTypeDescription
partition_dayDATEThe date value used for partition pruning.
bucketTIMESTAMP(6)The start time of the 1-hour OHLCV aggregation interval.
base_token_addressVARCHARThe contract address of the base token whose price is quoted.
base_symbolVARCHARThe symbol (ticker) of the base token.
quoteVARCHARThe contract address of the quote token used to express the base token's price.
openDOUBLEThe opening price at the start of the interval.
highDOUBLEThe highest price during the interval.
lowDOUBLEThe lowest price during the interval.
closeDOUBLEThe closing price at the end of the interval.
volumeDOUBLEThe total trading volume of the base token during the interval.
quote_volumeDOUBLEThe total trading volume of the quote token during the interval.
trade_countBIGINTThe number of trades that occurred within the interval.

token_ohlcv_1d

Unique Key: bucket, base_token_address, quote

Filterable Columns: base_token_address

ColumnTypeDescription
partition_dayDATEThe date value used for partition pruning.
bucketTIMESTAMP(6)The start time of the 1-day OHLCV aggregation interval.
base_token_addressVARCHARThe contract address of the base token whose price is quoted.
base_symbolVARCHARThe symbol (ticker) of the base token.
quoteVARCHARThe contract address of the quote token used to express the base token's price.
openDOUBLEThe opening price at the start of the interval.
highDOUBLEThe highest price during the interval.
lowDOUBLEThe lowest price during the interval.
closeDOUBLEThe closing price at the end of the interval.
volumeDOUBLEThe total trading volume of the base token during the interval.
quote_volumeDOUBLEThe total trading volume of the quote token during the interval.
trade_countBIGINTThe number of trades that occurred within the interval.