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
endpointThe 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.
Deposit confirmation initiated. Pool will be activated upon successful processing.
Response for confirming initial pool deposit