<Get Detailed Transation Infromation > Interface
Get transaction detail through checking transaction hash
Request Address: /api/exchangeRecord/getTransDetail
API Address: https://api-swap.paths.finance
Request Method: POST
Request Parameter:
hash
Transaction hash
string
Y
Original chain hash I
Output Parameter:
txHash
Transaction hash
string
fromTokenAddress
Original token contract address
string
fromTokenSymbol
Original token symbol
string
fromTokenUrl
Original token logo address
string
toTokenAddress
Target contract address
string
toTokenSymbol
Target token symbol
string
toTokenUrl
Target token logo address
string
fromAmount
Original token amount, divided by decimal
decimal
toTokenAmount
Target token amount, divided by decimal
decimal
finalStatus
Current status: pending:Processing, success:Succeed, fail: failed,wait_kyc:wait for kyc, wait_refund: wait for return, refund_complete: Return tokens, wait_deposit_send_fail: Deposit coin failure, timeout: Coins were not deposit at the specified time, wait_for_information: Abnormal order
string
createTime
Create time
string
status
Swap status, first element is the original chain swap status, second element is the target chain swap status
array
Input Example:
Output Example:
Postman Call Example
Last updated