GET /trade/v1/info/trade/{chainId}/{txHash}
Get information of a trade conducted in Unizen API.
Last updated
Get information of a trade conducted in Unizen API.
Last updated
Chain id of the trade.
"137"
Transaction hash of the trade.
"0xe3d66fa91b621aea1bf743c70db809b47d0b67f82abce471819c84060577b0c2"
Get information of a trade
Type of trade, single-chain or cross-chain
"SINGLE-CHAIN"
Sender address of the trade
"0xF0Fbf42C54Ac40dA016003baD35E5AefaC6E1CE1"
Receiver address of the trade
"0xF0Fbf42C54Ac40dA016003baD35E5AefaC6E1CE1"
Token from address
"0x72fde64422ec9b5319ea83e6ee34b5290f47ac95"
Token to address
"0xdd75542611d57c4b6e68168b14c3591c539022ed"
Chain id of the origin chain
"1"
Chain id of the destination chain chain
"137"
Amount of tokens sold
"1000000000000000000000"
Tx hash of the trade
"0x3b66976dea06304391c2966d7daec8aadd22388f91ef03c7bef6ff7710d96585"
Tx hash of the trade on the destination chain
"0x3b66976dea06304391c2966d7daec8aadd22388f91ef03c7bef6ff7710d96585"
Balance of native after the transaction
"-25690709293901568"
Gas used by the transaction
"220248"
List of tokens and funds received by the user
"[]"
Transaction status, 0 is Failed, 1 is Success
1
Block number of the transaction
"12345"
Address of the sender of the transaction
"0xF0Fbf42C54Ac40dA016003baD35E5AefaC6E1CE1"
Address of the receiver of the transaction
"0xF0Fbf42C54Ac40dA016003baD35E5AefaC6E1CE1"
Gas price of the transaction
"1000000000"