Onchain Actions

public/get_pending_deposits

Changed on

Returns deposits queued on L1 but not yet applied by the sequencer, indexed for a wallet and keyed by (tx_hash, log_index). Once a deposit is applied it moves to private/get_deposit_history; this endpoint covers the window in between. Public because a first-time depositor has no account (and thus no session key) until their deposit is applied. A deposit below the asset's minimum is donated to the security module and credits nothing: its entry reports below_min_deposit: true. A deposit address holding less than the minimum is not swept: its entries report status below_min until a later deposit brings the total over.

post/public/get_pending_deposits

Request

  • Base URL
    https://api.derive.xyz/v3
  • Auth
    none declared

Request body

GetPendingDepositsParams required
wallet, string required

Wallet the pending deposits credit.

Response

Success

GetPendingDepositsResult required
pending_deposits, PendingDepositEntry[] required

L1 deposits, plus every bridge in flight or settled inside [BRIDGE_HISTORY_WINDOW_MS], each exactly once.

wallet, string required

Changes