Deposit
This route fetches the live status and details of a specific deposit transaction as well as corrosponding outbound transaction(s).
https://backend.gas.zip/v2/deposit/<hash>
Schema
type Status = 'SEEN' | 'PENDING' | 'CONFIRMED' | 'PRIORITY' | 'CANCELLED'
interface TransactionStatusData {
deposit: Deposit
txs: Transaction[]
}
interface Deposit {
block: number
chain: number
hash: string
log: number
sender: string
shorts: number[]
status: Status
time: number
to: string
usd: number
value: string
}
interface Transaction {
chain: number
hash: string
nonce: number
refund: boolean
cancelled: boolean
signer: string
status: Status
time: number
to: string
usd: number
value: number
}