POST
/
v1
/
pools
/
single-sided
/
confirm-initial-deposit
Confirm Initial Deposit
curl --request POST \
  --url https://api.amm.flashnet.xyz/v1/pools/single-sided/confirm-initial-deposit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "assetASparkTransferId": "spark-transfer-uuid-or-hash-for-asset-a",
  "nonce": "confirm-deposit-nonce-789",
  "poolId": "03poollpidentitypubkeyfedcba9876543210fedcba9876543210fedcba9876",
  "signature": "3045022100a7e5d4f8b2c9a1e6f0d5b8c4a9e7f2d1c8b5a4e9f0d6c5b3a2e1d0c9b8a7f02201f2e3d4c5b6a7980e9f0a1b2c3d4e5f67889a0b1c2d3e4f5a6b7c8d9e0f1a2b3"
}'
{
"confirmed": true,
"message": "Initial deposit confirmed and pool activated",
"poolId": "03poollpidentitypubkeyfedcba9876543210fedcba9876543210fedcba9876"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Deposit confirmation details including transfer proof and authentication

Request to confirm the initial deposit for an AMM pool.

Response

202
application/json

Deposit confirmation initiated. Pool will be activated upon successful processing.

Response for confirming initial pool deposit