Create an idempotent native collateral-withdrawal quote.
Requires only the wallet session; cookie sessions additionally require CSRF proof. Developer keys and trading authorizations are explicitly refused. The maximum is wallet-svc spendable after every hold and obligation; any active trading/custody state blocks the quote.
Authorizations
HttpOnly session cookie set by POST /v1/auth/session. Mutating requests must also send the CSRF token (returned by that call) in the x-csrf-token header.
Body
16 - 128^[A-Za-z0-9][A-Za-z0-9._:-]*$mainnet, testnet, devnet ^[0-9a-f]{64}$Exact token base-unit quantity encoded as canonical JSON string.
^(0|[1-9][0-9]*)$Alephium address (base58, optional :N group suffix).
30 - 80^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz:]+$^[0-9a-fA-F]{66}$default, gl-secp256k1 Response
Default Response
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Alephium address (base58, optional :N group suffix).
30 - 80^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz:]+$^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$mainnet, testnet, devnet Exact token base-unit quantity encoded as canonical JSON string.
^(0|[1-9][0-9]*)$Alephium address (base58, optional :N group suffix).
30 - 80^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz:]+$
