pledge_to_ilo
Pledge to a token launch. PLAN MODE BY DEFAULT (non-custodial).
amount is in pledge-mint BASE UNITS (USDC is 6dp: 1_000_000 = 1 USDC).
Default (confirm=false) returns action: "plan" -- a preview that
evaluates every on-chain guard off-chain first (launch status, pledge
window, remaining capacity, per-wallet cap) plus the anti-sybil screen and
a pro-rata allocation projection. Nothing is built and nothing moves.
confirm=true returns action: "sign_required" with an UNSIGNED
base64 transaction you sign with your own wallet and broadcast yourself.
Crank never holds your keys. A pledge is irreversible once broadcast: the
on-chain refund path opens only if the raise fails its minimum.
Utility token fair launch -- this commits funds to a non-custodial escrow. It is not a purchase of any expectation of profit and confers no claim on issuer revenue. The technology service fee applies past the daily free tier (x402 payment_header; set pay_in_crank for the $CRANK discount).
idempotency_key (optional): a client-generated UUID. Retrying with the
same key + same args replays the original result instead of pledging twice.
US persons are blocked (Reg S-flavoured geo-posture, I4):
declare jurisdiction (ISO-3166-1 alpha-2) or rely on a stored
attestation; unknown jurisdiction is DENIED. confirm=true additionally
requires disclosures_acknowledged=true -- read the mandatory
pre-pledge disclosure block (get_ilo_details or a plan-mode preview)
first (I2).
Workflow: EXECUTE step -- get_ilo_details, then plan-mode preview, then confirm=true. Track it afterwards with get_my_pledge_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | ||
| amount | Yes | ||
| confirm | No | ||
| caller_id | No | ||
| launch_id | Yes | ||
| jurisdiction | No | ||
| pay_in_crank | No | ||
| payment_header | No | ||
| wallet_address | Yes | ||
| idempotency_key | No | ||
| pledger_token_account | No | ||
| disclosures_acknowledged | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||