Skip to main content
POST
/
v1
/
execute
/
deposit
/
submit
Submit a Near Intents deposit transaction
curl --request POST \
  --url https://api.hypermid.io/v1/execute/deposit/submit \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "txHash": "<string>",
  "depositAddress": "<string>"
}
'
{
  "data": {
    "depositId": "dep_abc123def456",
    "status": "SUBMITTED",
    "message": "Deposit notification received. Processing will begin shortly."
  },
  "error": null,
  "meta": {
    "requestId": "n4c5d6e7-f8a9-0123-7890-234567890123",
    "timestamp": 1711234578,
    "rateLimit": {
      "limit": 2000,
      "remaining": 1986,
      "reset": 1711234627
    }
  }
}
Submits a notification that a manual deposit has been made. This helps speed up deposit detection for chains where Hypermid cannot automatically monitor for incoming transactions.
depositId
string
required
The deposit ID returned from the /v1/execute endpoint.
txHash
string
The transaction hash of the deposit on the source chain. Optional but recommended for faster processing.
{
  "data": {
    "depositId": "dep_abc123def456",
    "status": "SUBMITTED",
    "message": "Deposit notification received. Processing will begin shortly."
  },
  "error": null,
  "meta": {
    "requestId": "n4c5d6e7-f8a9-0123-7890-234567890123",
    "timestamp": 1711234578,
    "rateLimit": {
      "limit": 2000,
      "remaining": 1986,
      "reset": 1711234627
    }
  }
}
const result = await client.submitDeposit({
  depositId: "dep_abc123def456",
  txHash: "0xUserDepositTxHash",
});

console.log("Submission status:", result.data.status);
Submitting the deposit notification is optional — Hypermid monitors deposit addresses automatically. However, calling this endpoint can reduce processing time, especially for chains with longer confirmation times.

Authorizations

X-API-Key
string
header
required

Partner API key. Optional for public endpoints, required for /v1/partner/*.

Body

application/json
txHash
string
required

On-chain transaction hash of the deposit

depositAddress
string
required

The deposit address returned by POST /v1/execute

Response

Deposit submitted

data
object
required

Response payload (null on error)

error
object
required
meta
object
required