send_token_social
Send tokens to an X handle via a claimable crank.ing link (non-custodial).
Locks amount (base units) of token (mint) from sender_wallet into
the on-chain claim escrow against a fresh claim code, and returns an UNSIGNED
base64 transaction for the sender to sign + broadcast, plus the
crank.ing/{code} claim link and the claim_code (the bearer secret to embed in
the announcement tweet). Whoever presents the code claims the tokens and
binds referral on their first claim. expiry_days (optional, default 7,
range 1-90) sets the claim window; unclaimed tokens are returned to the sender
after expiry. Anti-abuse gated: sender account age, verified wallet,
per-sender daily limit. platform: x.
idempotency_key (optional): a client-generated UUID.
Retrying with the same key + same args replays the original result (same
claim_code/link) instead of locking a second escrow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| amount | Yes | ||
| platform | No | x | |
| referral | No | ||
| caller_id | No | ||
| expiry_days | No | ||
| sender_wallet | Yes | ||
| idempotency_key | No | ||
| allow_unverified | No | ||
| recipient_handle | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||