Interface KatanaPerpsOutgoingTransfer

A transfer sent by the wallet. Shares the shape of a KatanaPerpsWithdrawal so that sent transfers can be handled uniformly with withdrawals, with exchange.transfer as the bridgeTarget and the receiving wallet in targetWallet.

interface KatanaPerpsOutgoingTransfer {
    withdrawalId: string;
    asset: string;
    quantity: string;
    gas: string;
    time: number;
    katanaTxStatus: ChainTransactionStatus;
    bridgeTarget: "exchange.transfer";
    katanaTxId: null | string;
    targetWallet: string;
    vault?: undefined;
}

Hierarchy

  • Omit<KatanaPerpsWithdrawal, "bridgeTarget" | "bridgeTxId" | "forwarderTxId" | "katanaTxId" | "vault">
    • KatanaPerpsOutgoingTransfer

Properties

withdrawalId: string

Exchange-assigned withdrawal identifier

asset: string

Asset symbol

quantity: string

Gross quantity of the withdrawal

gas: string

The gas fee paid for the withdrawal.

time: number

Timestamp of withdrawal API request

katanaTxStatus: ChainTransactionStatus

Status of the withdrawal transaction on Katana

bridgeTarget: "exchange.transfer"

Transfers move collateral between wallets without leaving the exchange

katanaTxId: null | string

Transaction id of the transfer transaction on Katana, or null if not yet assigned (regular deposits are never null here)

targetWallet: string

Address of the wallet that received the transferred funds

vault?: undefined

No vault is associated with internal transfers