Skip to main content

Table Description

This table contains information about the contracts Dune has decoded on the Tron blockchain. You can use this table to find information about the contracts that have been decoded by Dune.

Table Schema

ColumnTypeDescription
abi_idvarcharUnique identifier for the contract’s ABI definition
abiarray(varchar)The full ABI (Application Binary Interface) of the contract as an array of function/event definitions
addressvarbinaryThe contract’s deployment address on the Tron blockchain
fromvarbinaryAddress of the account that deployed this contract
codevarbinaryThe bytecode of the deployed contract
namevarcharHuman-readable name of the contract (e.g. “SunswapV2Router”)
namespacevarcharProject or protocol namespace the contract belongs to (e.g. “sunswapv2”)
dynamicbooleanWhether the contract was dynamically decoded via ABI matching
basebooleanWhether this is a base contract (not created by a factory)
factorybooleanWhether this contract was created by a factory contract
detection_sourcevarcharHow the contract was detected and added to Dune’s decoded set (e.g. “base”, “factory”)
created_attimestamp(3)Timestamp when this record was created in Dune’s database

Table Sample