Track the lifecycle of a deposit

Returns the fill status of a deposit along with a corresponding fill transaction hash if filled. This endpoint loads data queried by an indexing service that polls relevant events on a 10-second cadence. Users should therefore expect an average latency of 1 to 15 seconds after submitting a deposit to see the status changed in this endpoint. This delay comes from the time it takes for the internal indexing to include the deposit transaction.

GET
/deposit/status

Authorization

bearerAuth
AuthorizationBearer <token>

API key for authentication.

In: header

Query Parameters

originChainId?integer

Chain Id where the deposit originated from. This must be used in conjunction with depositId. depositTxnRef is not required when using this parameter.

depositId?string

The deposit id that is emitted from the FundsDeposited event. This must be used in conjunction with originChainId. depositTxnRef is not required when using this parameter.

depositTxnRef?string

The deposit transaction hash that is emitted from the FundsDeposited event. For deposit-address (PDA) flows, pass the funding transaction — the transaction that sent funds to the deposit address. If you are using this, you do not need the other parameters (i.e. originChainId and depositId).

sweepTxnRef?string

Exact PDA sweep/execution transaction reference — the transaction that moved funds out of a persistent deposit address into the bridge. Cannot be combined with any other selector. One sweep transaction can batch several deposit-address executions; use /deposits?sweepTxnRef= to list all of them.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://across.to/api/deposit/status?originChainId=42161&depositId=3379116&depositTxnRef=0x56a86610aad2a653161c9dd4b4972f948198fd02ae9589cfac1d57bd86a156c1"

{
  "sweepTxnRef": null,
  "actionsTargetRecipient": null,
  "actionsTargetToken": null,
  "actionsTargetAmount": null,
  "actionsTargetTxnRef": null,
  "actionsTargetBlockTimestamp": null,
  "status": "filled",
  "originChainId": 42161,
  "depositId": "3379116",
  "depositTxHash": "0x56a86610aad2a653161c9dd4b4972f948198fd02ae9589cfac1d57bd86a156c1",
  "depositTxnRef": "0x56a86610aad2a653161c9dd4b4972f948198fd02ae9589cfac1d57bd86a156c1",
  "fillTx": "0x7965d6064d8bee154d1c5471672180f5f802f789e22f66d54102a2010121a93e",
  "fillTxnRef": "0x7965d6064d8bee154d1c5471672180f5f802f789e22f66d54102a2010121a93e",
  "destinationChainId": 8453,
  "depositRefundTxHash": null,
  "depositRefundTxnRef": null,
  "actionsSucceeded": null,
  "actionsTargetChainId": null,
  "pagination": {
    "currentIndex": 0,
    "maxIndex": 0
  }
}

{
  "error": "IncorrectQueryParamsException",
  "message": "Incorrect query params provided"
}
{
  "error": "DepositNotFoundException",
  "message": "Deposit not found given the provided constraints"
}
{
  "error": "UnknownError",
  "message": "Internal server error"
}