Interface IDEXDeposit

An object which represents a single deposit on the exchange.

interface IDEXDeposit {
    depositId: string;
    asset: string;
    quantity: string;
    bridgeSource: DepositSource;
    time: number;
    xchainTxId: string;
    bridgeTxId?: string;
}

Properties

depositId: string

IDEX-issued deposit identifier

asset: string

Asset symbol for collateral token

quantity: string

Deposit amount in asset terms

bridgeSource: DepositSource

Bridge and source chain of the deposit

  • Use the BridgeTarget enum to narrow all possible values when needed.

See

enum BridgeTarget

time: number

Timestamp of crediting the deposited funds on the exchange

xchainTxId: string

Transaction id of the deposit transaction on XCHAIN

bridgeTxId?: string

Transaction id of the bridge transaction delivering funds to XCHAIN; also queryable for bridge details on https://layerzeroscan.com/