This endpoint completes the pool activation process by confirming that the initial asset deposit has been made. After creating a single-sided pool, the pool owner must deposit the specified amount of asset A and then call this endpoint to activate the pool for trading.
/v1/pools/single-sided endpointSend asset A deposit to the pool’s deposit addressThe Spark network transfer ID is validated to ensure:
Requires a valid JWT bearer token. The authenticated user must be the pool owner who created the pool.
Once confirmed, the pool:
poolId - The LP identity public key of the poolassetASparkTransferId - Spark network transfer ID proving the depositnonce - Unique value for replay protectionsignature - Request signaturepoolOwnerPublicKey - Optional pool owner public key (extracted from token if not provided)202 Accepted if deposit confirmation is initiated400 Bad Request if validation fails401 Unauthorized if authentication fails500 Internal Server Error if confirmation failsBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Deposit confirmation details including transfer proof and authentication
Request to confirm the initial deposit for an AMM pool.
The unique identifier of the pool (LP identity public key).
"03poollpidentitypubkeyfedcba9876543210fedcba9876543210fedcba9876"
Spark network transfer ID proving the deposit of Asset A to the pool's wallet.
"spark-transfer-uuid-or-hash-for-asset-a"
Nonce for replay protection.
"confirm-deposit-nonce-789"
Signature of the nonce (hex encoded).
"3045022100def001122..."
Optional: Pool owner public key (if not provided, will be extracted from auth token).
"03b06b7c3e39bf922be19b7ad5f19554bb7991cae585ed2e3374d51213ff4eeb3c"
Deposit confirmation initiated. Pool will be activated upon successful processing.
Response for confirming initial pool deposit