Skip to main content

swaps

description

a swap is a swap between two ERC-20 tokens

fields

ColumnTypeNullableDescription
created_attimestamp without time zonenot nullwhen the entry was added to the database
block_numbernumericnot nullblock number
transaction_hashcharacter varying(66)not nulltransaction hash
trace_addressinteger[]not nulltrace address
abi_namecharacter varying(1024)not nullname of the ABI used to decode the swap
pool_addresscharacter varying(256)not nullpool address
from_addresscharacter varying(256)not nulladdress where tokens are coming from
to_addresscharacter varying(256)not nulladdress where swapped tokens are going to
token_in_addresscharacter varying(256)not nulladdress of the token going in
token_in_amountnumericnot nullamount of the token going in
token_out_addresscharacter varying(256)not nulladdress of the token going out
token_out_amountnumericnot nullamount of the token going out
protocolcharacter varying(256)protocol
errorcharacter varying(256)error