Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Integrator fee withdrawal request details including pool ID, optional amounts, and authentication.
Request payload for withdrawing integrator fees from an AMM pool.
Identity public key of the LP wallet (pool ID).
"03abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234567"
Nonce used for signature replay-protection.
"550e8400-e29b-41d4-a716-446655440000"
ECDSA signature of the vectorized JSON payload including all the other fields in this request.
"3045022100..."
Optional: Amount of asset B fees to withdraw in the smallest unit.
x >= 0
500000
Response
Integrator fee withdrawal initiated successfully
Response for host fee withdrawal
Request ID for tracking
"01HJZKFABCDEFGHJKLMNPQRSTVW"
Whether withdrawal was initiated
true
Asset B amount withdrawn
x >= 0
"500000"
Spark transfer ID for withdrawal
Error message if rejected