Chain Daddy
v0.6.16Search tokens, check registrations, and run a Chain Daddy creator store from your agent.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_auth_nonce Get sign-in nonce
Step 1 of authentication. Fetches a server-issued nonce the caller must embed in the SIWE/SIWS message before signing. Params: none Returns: {nonce: string} Errors: API_ERROR
authenticate Sign in with a wallet signature
Step 2 of authentication. Exchanges a signed SIWE/SIWS message for a session bound to a backend JWT. Call get_auth_nonce first and embed the nonce in the message. Params: wallet_address (string), chain_type ('evm'|'solana'), signed_message (string), signature (string) Returns: {session_token: string, expires_at: string} Errors: INVALID_SIGNATURE, INVALID_ADDRESS, UNSUPPORTED_CHAIN, JWT_EXCHANGE_FAILED
| Parameter | Type | Description |
|---|---|---|
chain_type * | string | Chain type: 'evm' or 'solana' |
signature * | string | The signature of the message (hex for EVM, base58 for Solana) |
signed_message * | string | The SIWE or SIWS message that was signed. Must include the server-issued nonce from get_auth_nonce. |
wallet_address * | string | Wallet address (0x... for EVM, base58 for Solana) |
get_session Get session status
Get the current session status for a session token. Returns authentication state, wallet, chain type, and expiry. Params: session_token (string) Returns: {authenticated: true, wallet: string, chain_type: 'evm'|'solana', expires_at: string} or {authenticated: false} Errors: none (always returns a result)
| Parameter | Type | Description |
|---|---|---|
session_token * | string | Session token from authenticate |
search_symbol Search a ticker
Search for a crypto ticker symbol across all supported chains. Returns availability status, existing tokens, market data, and crown ownership.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | The ticker symbol to search (1-20 alphanumeric chars, e.g., 'PEPE', 'DOGE') |
chain | string | Optional: Filter to specific chain |
get_token Get token details
Get detailed information about a token on a specific chain including crown status, market data, and metadata.
| Parameter | Type | Description |
|---|---|---|
chain * | string | The chain to query |
symbol * | string | The ticker symbol (e.g., 'PEPE') |
get_crown Get a token registration
Get detailed information about a specific crown by ID. Params: crown_id (string) Returns: {symbol, chain, owner, manager, heartbeat_score, status, metadata, days_in_grace, penalty_deadline} Errors: CROWN_NOT_FOUND, API_ERROR
| Parameter | Type | Description |
|---|---|---|
crown_id * | string | Crown ID (token ID or identifier) |
list_crowns List token registrations
List crowns with optional filters. All params optional. Params: owner (string?), chain (string?), status (string?) Returns: {crowns: [{symbol, chain, owner, manager, heartbeat_score, status, metadata, days_in_grace, penalty_deadline}]} Errors: API_ERROR
| Parameter | Type | Description |
|---|---|---|
chain | string | Filter by chain (e.g., 'arb', 'sol', 'base') |
owner | string | Filter by owner wallet address |
status | string | Filter by status (e.g., 'claimed', 'inactive', 'grace_period') |
get_pricing Get pricing
Get what an order costs, as the order will charge it. mode 'create' (default): a new token on each chain, its registration included. mode 'claim': registering a token that already exists on each chain (free for an OG token when symbol and address are given). All params optional. Two or more chains take the 10% multi-chain bundle discount, already subtracted from total_usd. Params: chains (string[]?), mode ('create'|'claim'?), symbol (string?), address (string?), bundle_type (string?), wallet_address (string?) Returns: {items: [{chain, type, fee_usd, gas_estimate}], discounts: [{type, descript…
| Parameter | Type | Description |
|---|---|---|
address | string | With mode 'claim': the token's contract or mint address, so an OG token shows as free |
bundle_type | string | Label for the bundle discount line only; the discount itself follows the number of chains |
chains | array | Chains to get pricing for (e.g., ['arb', 'sol']) |
mode | string | 'create' (default) prices a new token; 'claim' prices registering a token that already exists |
symbol | string | Token symbol for pricing context |
wallet_address | string | Accepted for compatibility; pricing does not depend on the wallet |
get_deployments Find tokens a wallet can register
Find the tokens a wallet made on a chain (deployed, owns, or launched) that are not registered yet, and how it qualifies for each. Useful for finding tokens you can claim.
| Parameter | Type | Description |
|---|---|---|
address * | string | Wallet address (0x...) |
chain * | string | Chain to search |
check_eligibility Check registration eligibility
Check if a wallet is eligible to claim a crown for a specific token. Verifies deployer, owner, admin, or majority holder status.
| Parameter | Type | Description |
|---|---|---|
chain * | string | Chain where token exists |
token_address * | string | Token contract address |
wallet_address * | string | Wallet to check eligibility for |
check_heartbeat Check token health
Get heartbeat status and activity score for a crown. Score below 60% means at-risk of reclaim.
| Parameter | Type | Description |
|---|---|---|
crown_id * | number | Crown token ID |
export_listing Export listing data
Generate listing data formatted for aggregator platforms (CMC, CoinGecko, DEX Screener, TokenList).
| Parameter | Type | Description |
|---|---|---|
crown_id * | number | Crown token ID |
format * | string | Export format for the listing data |
get_holders Get holder stats
Get holder concentration and adversarial-label stats for a crown. Sourced from /api/v2/registration/{id}/holders; data refreshes daily. Params: crown_id (number) Returns: text report with totalHolders, top10/50/100/200 concentration, walletsForHalf, and Mobula label counts (snipers/bundlers/insiders/sandwich) plus suspiciousRatio. Errors: CROWN_NOT_FOUND, NO_DATA, API_ERROR
| Parameter | Type | Description |
|---|---|---|
crown_id * | number | Crown token ID |
get_recommendations Get page recommendations
Get AI-powered recommendations for optimizing crown profile, heartbeat, and listing readiness.
| Parameter | Type | Description |
|---|---|---|
crown_id * | number | Crown token ID |
focus | string | Optional: Focus area for recommendations |
update_profile Update token page profile
Update crown profile metadata via PUT /api/v2/registration/{id}/profile?chain={chain}. Requires a session bound to a backend JWT (run authenticate first) and the session wallet must own or manage the crown on that chain. Params: crown_id (string), chain (string; required, a token id names a different crown on every chain), description (string?), tags (string[]?), category ('meme'|'gaming'|'defi'|'nft'|'social'|'utility'?) [NOT FORWARDED — no backend route exposes category on the profile endpoint], website (string?), socials ({twitter?, telegram?, discord?}?), logo_url (string?), session_tok…
| Parameter | Type | Description |
|---|---|---|
chain * | string | Chain of the crown (e.g. 'base', 'arbitrum', 'solana'). Required: a token id names a different crown on every chain, and the role check and write happen on this one. |
crown_id * | string | Crown ID (token ID) |
session_token * | string | Session token from authenticate (must have been issued post-JWT-bridge, i.e. after fix/mcp-siwe-jwt-bridge) |
category | string | Project category. ACCEPTED but NOT forwarded — the profile endpoint does not expose this field today; the input is preserved here for API stability. |
description | string | Token/project description |
logo_url | string | Logo image URL |
socials | object | Social links: {twitter, telegram, discord}. twitter maps to the backend `xdotcom` field. |
tags | array | Descriptive tags (e.g., ['meme', 'dog', 'community']) |
website | string | Project website URL |
create_order Create an order
Create a pending order with one or more actions. Returns order details with pricing and gas estimates. Order expires after 5 minutes. Params: actions (array of {type, params}), session_token (string), idempotency_key (string?) Returns: {order_id, summary, total_cost, gas_estimates, expires_at, idempotency_key} Errors: NO_SESSION, SESSION_EXPIRED, INVALID_ACTIONS, VALIDATION_ERROR
| Parameter | Type | Description |
|---|---|---|
actions * | array | Array of order actions to execute |
session_token * | string | Session token from authenticate |
idempotency_key | string | Idempotency-Key for this write. Omit to generate one; reuse the returned idempotency_key to retry safely |
confirm_order Confirm and execute an order
Confirm and execute a pending order. Triggers all actions in the order. Cannot be undone. Params: order_id (string), session_token (string), idempotency_key (string?) Returns: {results: [{action, status, tx_hash?, error?}], idempotency_key} Errors: NO_SESSION, SESSION_EXPIRED, ORDER_NOT_FOUND, ORDER_EXPIRED, ORDER_ALREADY_CONFIRMED
| Parameter | Type | Description |
|---|---|---|
order_id * | string | Order ID from create_order |
session_token * | string | Session token from authenticate |
idempotency_key | string | Idempotency-Key for this write. Omit to generate one; reuse the returned idempotency_key to retry safely |
cancel_order Cancel an order
Cancel a pending order. Only works on orders that have not been confirmed. Params: order_id (string), session_token (string) Returns: {cancelled: true} Errors: NO_SESSION, SESSION_EXPIRED, ORDER_NOT_FOUND, ORDER_EXPIRED, ORDER_ALREADY_CONFIRMED
| Parameter | Type | Description |
|---|---|---|
order_id * | string | Order ID from create_order |
session_token * | string | Session token from authenticate |
deploy_token Build a token creation action
Deploy a single token on a single chain. Validates parameters and returns an order action spec for inclusion in create_order. Params: name (string), symbol (string), chain (string), supply (number), decimals (number), mintable (boolean), burnable (boolean), session_token (string) Returns: {order_action_spec: {type, params}} Errors: NO_SESSION, SESSION_EXPIRED, VALIDATION_ERROR, RATE_LIMITED
| Parameter | Type | Description |
|---|---|---|
burnable * | boolean | Whether tokens can be burned |
chain * | string | Target chain (e.g., 'arb', 'sol', 'base', 'polygon', 'bsc', 'eth') |
decimals * | number | Token decimals (0-18) |
mintable * | boolean | Whether additional tokens can be minted |
name * | string | Token display name |
session_token * | string | Session token from authenticate |
supply * | number | Total token supply |
symbol * | string | Token symbol (1-10 uppercase alphanumeric) |
list_launch_venues List Chain Daddy's launch options
Chain Daddy's launchpad and what it pays, per chain. The launchpad (chaindaddy-launchpad) creates the token with its own locked trading pool, on EVM chains and on Solana (Meteora DBC): nothing up front, and the token's registration is free. Every economics field is basis points of trade volume (100 = $1 per $100 traded); show both traderFeeBps (what traders pay) and creatorBps (what reaches the creator). For a plain token with no pool, Chain Daddy's token factory (chaindaddy-classic, a one-time fee, registration included) is the other option. Recommend the launchpad unless the person wants a p…
| Parameter | Type | Description |
|---|---|---|
chain_id | number | Only this chain |
session_token | string | Optional session token from authenticate |
claim_crown Build a registration claim action
Claim a crown for a specific token on a specific chain. Requires verified ownership. Returns an order action spec for inclusion in create_order. Params: symbol (string), chain (string), token_address (string), verification_method ('deployer'|'mint_authority'|'owner'|'majority_holder'), session_token (string) Returns: {order_action_spec: {type: 'claim_crown', params: {symbol, chain, token_address, verification_method, wallet}}} Errors: NO_SESSION, SESSION_EXPIRED, INVALID_CHAIN, INVALID_VERIFICATION_METHOD
| Parameter | Type | Description |
|---|---|---|
chain * | string | Chain where the token exists (e.g., 'arb', 'sol', 'base', 'polygon', 'bsc', 'eth') |
session_token * | string | Session token from authenticate |
symbol * | string | Token symbol to claim crown for (e.g., 'PEPE') |
token_address * | string | Token contract/mint address on the specified chain |
verification_method * | string | Method used to verify ownership: 'deployer', 'mint_authority', 'owner', or 'majority_holder' |
generate_listing Generate an aggregator listing
Generate a listing for one aggregator format using crown data. Params: crown_id (string), format ('coingecko'|'coinmarketcap'|'dexscreener'|'tokenlist') Returns: {listing_data: object, missing_fields?: string[]} Errors: CROWN_NOT_FOUND, INVALID_FORMAT, API_ERROR
| Parameter | Type | Description |
|---|---|---|
crown_id * | string | Crown ID to generate listing for |
format * | string | Listing format: 'coingecko', 'coinmarketcap', 'dexscreener', or 'tokenlist' |
find_inactive Find inactive registrations
Find inactive crowns that are eligible for reclaim. All params optional. Params: symbol (string?), chain (string?), min_market_cap (number?) Returns: {inactive_crowns: [{symbol, chain, owner_address, last_activity, heartbeat_score, reclaim_cost}]} Errors: API_ERROR
| Parameter | Type | Description |
|---|---|---|
chain | string | Filter by chain (e.g., 'arb', 'sol', 'base') |
min_market_cap | number | Minimum market cap filter in USD |
symbol | string | Filter by symbol (e.g., 'DOGE') |
search_symbols Search tickers with filters
Search for symbols across all supported chains. Returns availability, market data, and crown status. Params: query (string), chain (string?), status (string?) Returns: {results: [{symbol, chain, chain_name, status, token_address, market_cap, volume_24h, liquidity, crown_owner}]} Errors: API_ERROR
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query (symbol or partial match, e.g., 'DOGE', 'PEP') |
chain | string | Filter by chain (e.g., 'arb', 'sol', 'base') |
status | string | Filter by status (e.g., 'available', 'unclaimed', 'claimed', 'inactive') |
iap_open_store Open a creator store
Open (or re-open) the creator store for a token page. Idempotent per token page. Needs a Developer plan or Developer Beta membership, and the manager role on the token page. Params: page (the token page's symbol or address, e.g. 'FLUXGP' or 'chaindaddy.io/FLUXGP/base') OR chain_key (string, e.g. 'base') with crown_id (number, the token page's registration id); session_token?, idempotency_key? Returns: {ok, idempotency_key, store: {id, chainId, chainKey, crownId, symbol, tokenAddress, tokenDecimals, tokenOrigin, feeBps, payoutAddress, status, live, …}} Errors: NO_CREDENTIALS, NO_SESSION, NO_…
| Parameter | Type | Description |
|---|---|---|
chain_key | string | Chain key of the token page, e.g. 'base', 'solana' (with crown_id; or with page, to pick one of a symbol's pages) |
crown_id | integer | Registration id of the token page (with chain_key) |
idempotency_key | string | Idempotency-Key for this write. Omit to generate one; reuse the returned idempotency_key to retry safely |
page | string | The token page, instead of chain_key and crown_id: its symbol ('FLUXGP') or its address ('chaindaddy.io/FLUXGP/base') |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
iap_list_stores List creator stores
List the creator stores you manage, optionally filtered to one token page. Each entry's id is the store_id the other iap_ tools take. Params: page? (the token page's symbol or address), chain_key?, crown_id?, session_token? Returns: {entries: Store[]} Errors: NO_CREDENTIALS, IAP_PLAN_REQUIRED, PAGE_NOT_FOUND, PAGE_AMBIGUOUS
| Parameter | Type | Description |
|---|---|---|
chain_key | string | |
crown_id | integer | |
page | string | The token page, instead of chain_key and crown_id: its symbol ('FLUXGP') or its address ('chaindaddy.io/FLUXGP/base') |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
iap_list_skus List store items
List a store's SKUs, including drafts and archived ones. Params: store_id, session_token? Returns: {entries: Sku[]} (price is base units of the SKU's currency — currency, currencyAddress, currencySymbol, currencyDecimals; null = not for sale) Errors: NO_CREDENTIALS, IAP_PLAN_REQUIRED, HTTP_404
| Parameter | Type | Description |
|---|---|---|
store_id * | string | Store id (from iap_open_store or iap_list_stores) |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
iap_create_sku Create a store item
Create a SKU. Types: consumable (a balance: coins, boosts), non_consumable (owned once: skins, cars), timed (expiry extended by durationSeconds × quantity: season pass), unlock (never sold; held while `rule` holds). No price = reward-only. Price in base units (`price`) or in dollars (`priceUsdMicros`, with optional per-unit `minPrice`/`maxPrice` bounds in base units), never both. `currency` is what the buyer pays in: 'token' (default; recommended with priceUsdMicros — a steady dollar price, paid in the creator's token), 'native' or 'usdc'. GET /api/v2/iap/config lists each chain's currencie…
| Parameter | Type | Description |
|---|---|---|
sku * | object | |
store_id * | string | Store id (from iap_open_store or iap_list_stores) |
idempotency_key | string | Idempotency-Key for this write. Omit to generate one; reuse the returned idempotency_key to retry safely |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
iap_update_sku Update a store item
Update a SKU's fields (partial). Set status 'active' to put a draft on sale, 'archived' to take it off. Setting `price` clears a dollar price (and its bounds); setting `priceUsdMicros` clears a fixed price. Changing `currency` needs `price` or `priceUsdMicros` in the same patch when the SKU has a fixed price, and clears the bounds. Store key scope: catalog:write. Params: store_id, sku_key, patch (any SKU fields except the key), session_token? Returns: {ok, sku: Sku} Errors: NO_CREDENTIALS, IAP_PLAN_REQUIRED, HTTP_400, HTTP_404
| Parameter | Type | Description |
|---|---|---|
patch * | object | |
sku_key * | string | |
store_id * | string | Store id (from iap_open_store or iap_list_stores) |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
iap_list_orders List store orders
List a store's orders, newest first. Statuses: pending (awaiting payment), paid (seen on chain, confirming), confirmed (items granted, receipt issued), expired, refunded. A stray or duplicate payment never changes an order; it shows up as an order.mismatch / order.duplicate_payment event (iap_list_events). Store key scope: orders:read. Params: store_id, status?, wallet?, cursor?, limit?, session_token? Returns: {entries: Order[], nextCursor} Errors: NO_CREDENTIALS, IAP_PLAN_REQUIRED
| Parameter | Type | Description |
|---|---|---|
store_id * | string | Store id (from iap_open_store or iap_list_stores) |
cursor | string | |
limit | integer | |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
status | string | |
wallet | string |
iap_create_order Create a store order
Create an order for a user — the white-label path: your server sells from your app's own store with a store key (scope orders:write). The order locks the price, payees and a deadline (about 20 minutes) and carries `payment`: EVM {kind:'evm', chainId, checkout, order:{orderId, token, payees, amounts, deadline}, total, permit, calls?: [{to, data, value}] to send in order, permitTypedData?} or Solana {kind:'solana', cluster, transaction (base64 unsigned), reference, staticKey, memo}. The user's wallet pays; your client then posts the tx hash to /api/v2/iap/orders/{id}/submit, and the order turn…
| Parameter | Type | Description |
|---|---|---|
sku * | string | |
store_id * | string | Store id (from iap_open_store or iap_list_stores) |
app_account_token | string | Your app's account id for the user; echoed in the receipt |
idempotency_key | string | Idempotency-Key for this write. Omit to generate one; reuse the returned idempotency_key to retry safely |
quantity | integer | |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
wallet | string | User wallet that receives the items; required with a store key |
iap_get_order Get a store order
Get one order: its locked quote, status, on-chain payment (txHash, payer, confirmations) and the signed receipt once confirmed. With store_id it reads the store's admin view (store key scope orders:read); without it, GET /api/v2/iap/orders/{id} (the buyer's own order, or any order of the store key's store) — what an app polls until status is 'confirmed'. Params: order_id (0x + 64 hex), store_id?, session_token? Returns: Order Errors: NO_CREDENTIALS, IAP_PLAN_REQUIRED, HTTP_404
| Parameter | Type | Description |
|---|---|---|
order_id * | string | |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
store_id | string | Store id (from iap_open_store or iap_list_stores) |
iap_open_test_store Open a test store
Get or create the TEST store behind one of your live stores: same token page, a copy of its catalog at creation, and orders that are paid with iap_test_pay instead of on chain (no money, no fee). Mint its keys with iap_create_store_key on the returned store id; they start cd_iap_test_. Needs account credentials (a session or CHAINDADDY_API_KEY) with manager role on the token page. Available where test mode is on (GET /api/v2/iap/config → testMode). Params: store_id (the live store), session_token? Returns: {ok, store: Store} with mode 'test' Errors: NO_CREDENTIALS, IAP_PLAN_REQUIRED, HTTP_4…
| Parameter | Type | Description |
|---|---|---|
store_id * | string | Store id (from iap_open_store or iap_list_stores) |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
iap_test_pay Pay a test order
Pay a TEST store's pending order with no chain and no money: it confirms at once through the same path a real payment takes, so the items are granted, the receipt is issued (claim livemode: false, the test store's storeId) and the iap.order.confirmed webhook goes to the test store's own webhook with livemode false. Repeating it returns the confirmed order. Use a test store key (cd_iap_test_…, scope orders:write, via CHAINDADDY_IAP_KEY) or a session that manages the store. Params: order_id (0x + 64 hex), session_token? Returns: {ok, order: Order} with status 'confirmed' Errors: NO_CREDENTIAL…
| Parameter | Type | Description |
|---|---|---|
order_id * | string | |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
iap_refund_order Record a refund
Record a refund for a confirmed order: marks it refunded, revokes its items and its receipt. Chain Daddy never holds the buyer's tokens — send the refund yourself from the payout wallet, then pass its transaction hash here. Params: store_id, order_id, refund_tx_hash?, note?, session_token?, idempotency_key? Returns: {ok, idempotency_key, order: Order} Errors: NO_CREDENTIALS, IAP_PLAN_REQUIRED, HTTP_404, HTTP_409 (not refundable in its status)
| Parameter | Type | Description |
|---|---|---|
order_id * | string | |
store_id * | string | Store id (from iap_open_store or iap_list_stores) |
idempotency_key | string | Idempotency-Key for this write. Omit to generate one; reuse the returned idempotency_key to retry safely |
note | string | |
refund_tx_hash | string | Your refund transfer's transaction hash / signature |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
iap_get_entitlements Get item holdings
What a wallet holds in a store (owned items plus live unlocks), or — with sku — who owns a SKU. Pass exactly one of wallet or sku. Store key scope: entitlements:read. Params: store_id, wallet?, sku?, cursor? (owners list only), session_token? Returns: {storeId, wallet, entitlements: [{sku, type, name, quantity, expiresAt, source: 'ledger'|'unlock', firstGrantedAt}]} or {entries: [{wallet, quantity, expiresAt}], nextCursor} Errors: INVALID_PARAMS, NO_CREDENTIALS, IAP_PLAN_REQUIRED
| Parameter | Type | Description |
|---|---|---|
store_id * | string | Store id (from iap_open_store or iap_list_stores) |
cursor | string | |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
sku | string | |
wallet | string |
iap_grant Grant items
Grant items to a wallet (a reward, a make-good, a server-side award). Items are off-chain and non-transferable. Store key scope: entitlements:write. Params: store_id, wallet, sku, quantity, reason?, session_token?, idempotency_key? Returns: {ok, idempotency_key, entitlement: Entitlement} Errors: NO_CREDENTIALS, IAP_PLAN_REQUIRED, HTTP_400, HTTP_404 (unknown sku)
| Parameter | Type | Description |
|---|---|---|
quantity * | integer | |
sku * | string | |
store_id * | string | Store id (from iap_open_store or iap_list_stores) |
wallet * | string | |
idempotency_key | string | Idempotency-Key for this write. Omit to generate one; reuse the returned idempotency_key to retry safely |
reason | string | |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
iap_consume Consume items
Consume units of a consumable a wallet holds (the user spent a credit). Atomic: fails without change when the wallet holds fewer. Store key scope: entitlements:write. Params: store_id, wallet, sku, quantity, session_token?, idempotency_key? Returns: {ok, idempotency_key, entitlement: Entitlement} Errors: INSUFFICIENT_QUANTITY (409), NO_CREDENTIALS, IAP_PLAN_REQUIRED, HTTP_404
| Parameter | Type | Description |
|---|---|---|
quantity * | integer | |
sku * | string | |
store_id * | string | Store id (from iap_open_store or iap_list_stores) |
wallet * | string | |
idempotency_key | string | Idempotency-Key for this write. Omit to generate one; reuse the returned idempotency_key to retry safely |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
iap_revoke Revoke items
Take items back from a wallet. Omit quantity to revoke all of that SKU. Store key scope: entitlements:write. Params: store_id, wallet, sku, quantity?, reason?, session_token?, idempotency_key? Returns: {ok, idempotency_key, entitlement: Entitlement} Errors: NO_CREDENTIALS, IAP_PLAN_REQUIRED, HTTP_404
| Parameter | Type | Description |
|---|---|---|
sku * | string | |
store_id * | string | Store id (from iap_open_store or iap_list_stores) |
wallet * | string | |
idempotency_key | string | Idempotency-Key for this write. Omit to generate one; reuse the returned idempotency_key to retry safely |
quantity | integer | |
reason | string | |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
iap_create_drop Create a drop
Create a drop (a reward of items). Modes: claim (a link holders claim from), push (delivered to a recipient list when activated), award (your server awards it with iap_award, caps enforced). Audience is a rule (e.g. holders of at least X tokens). Drops start as drafts; activate with iap_set_drop_status. Store key scope: drops:write. Params: store_id, drop ({name, mode, items: [{sku, quantity}], audience?, allowlistOnly?, maxClaims?, perWalletLimit?, startsAt?, endsAt?, description?, imageUrl?}), session_token?, idempotency_key? Returns: {ok, idempotency_key, drop: Drop} (drop.slug is the clai…
| Parameter | Type | Description |
|---|---|---|
drop * | object | |
store_id * | string | Store id (from iap_open_store or iap_list_stores) |
idempotency_key | string | Idempotency-Key for this write. Omit to generate one; reuse the returned idempotency_key to retry safely |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
iap_set_drop_status Set drop status
Set a drop's status. Activating a push drop starts delivery to its recipients. Params: store_id, drop_id, status ('draft'|'active'|'paused'|'ended'), session_token?, idempotency_key? Returns: {ok, idempotency_key, drop: Drop} Errors: NO_CREDENTIALS, IAP_PLAN_REQUIRED, HTTP_404, HTTP_409
| Parameter | Type | Description |
|---|---|---|
drop_id * | string | |
status * | string | |
store_id * | string | Store id (from iap_open_store or iap_list_stores) |
idempotency_key | string | Idempotency-Key for this write. Omit to generate one; reuse the returned idempotency_key to retry safely |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
iap_add_drop_recipients Add drop recipients
Add wallets to a drop's recipient list (push drops, or an allowlist). Pass wallets, or csv text with one wallet per line. Params: store_id, drop_id, wallets?, csv?, session_token?, idempotency_key? Returns: {ok, idempotency_key, added: number, invalid: string[]} Errors: INVALID_PARAMS, NO_CREDENTIALS, IAP_PLAN_REQUIRED, HTTP_404
| Parameter | Type | Description |
|---|---|---|
drop_id * | string | |
store_id * | string | Store id (from iap_open_store or iap_list_stores) |
csv | string | |
idempotency_key | string | Idempotency-Key for this write. Omit to generate one; reuse the returned idempotency_key to retry safely |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
wallets | array |
iap_award Award a drop
Award an award-mode drop to a wallet (the user reached a milestone). The drop's caps and window are enforced. Store key scope: rewards:award. Params: store_id, drop_id, wallet, session_token?, idempotency_key? (use one per milestone so a retry never awards twice) Returns: {ok, idempotency_key, …award result} Errors: NO_CREDENTIALS, IAP_PLAN_REQUIRED, HTTP_404, HTTP_409 (cap reached / drop not active)
| Parameter | Type | Description |
|---|---|---|
drop_id * | string | |
store_id * | string | Store id (from iap_open_store or iap_list_stores) |
wallet * | string | |
idempotency_key | string | Idempotency-Key for this write. Omit to generate one; reuse the returned idempotency_key to retry safely |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
iap_create_store_key Create a store key
Create a store key (cd_iap_…) for your server: one store, only the scopes you list. The secret is returned ONCE — store it in the server's secrets, never in a client. Needs account credentials (a session or CHAINDADDY_API_KEY), never a store key. Params: store_id, name, scopes (catalog:write|orders:read|orders:write|entitlements:read|entitlements:write|drops:write|rewards:award|events:read|messages:send), session_token?, idempotency_key? Returns: {ok, idempotency_key, key: {id, name, prefix, scopes, createdAt, secret}} Errors: NO_CREDENTIALS, IAP_PLAN_REQUIRED, HTTP_400
| Parameter | Type | Description |
|---|---|---|
name * | string | A label, e.g. 'server-prod' |
scopes * | array | |
store_id * | string | Store id (from iap_open_store or iap_list_stores) |
idempotency_key | string | Idempotency-Key for this write. Omit to generate one; reuse the returned idempotency_key to retry safely |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
iap_list_events List store events
Read a store's event feed after a cursor: order.created/paid/confirmed/expired/refunded, order.mismatch (a payment named the order id but not its quote; the order is unchanged), order.duplicate_payment (the order was paid twice; the creator refunds the second), order.checkout_paid_again (a second order confirmed for a checkout session that was already paid; both delivered, and only the seller can send a payment back), order.reverted (a paid order undone by a chain reorg), entitlement.granted/consumed/revoked, entitlement.expiring (a timed item is about to run out) / entitlement.expired, drop.c…
| Parameter | Type | Description |
|---|---|---|
store_id * | string | Store id (from iap_open_store or iap_list_stores) |
after | integer | |
limit | integer | |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
iap_set_webhook Set store webhook
Create or replace the store's webhook: one HTTPS endpoint that receives the store's events as they happen. Each delivery is POST {id, type, created_at, data} with header X-Webhook-Signature = hex HMAC-SHA256 of the raw body keyed with the webhook's whsec_ secret. Creating returns the secret ONCE — store it where the endpoint verifies signatures. Replacing keeps the secret (no secret in the result) and turns back on a webhook that was disabled after repeated failures. Needs account credentials (a session or CHAINDADDY_API_KEY), never a store key. Params: store_id, url (https://…), events?…
| Parameter | Type | Description |
|---|---|---|
store_id * | string | Store id (from iap_open_store or iap_list_stores) |
url * | string | Your endpoint, https://… |
events | array | Only these events; omit for all |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
iap_get_webhook Get store webhook
Get the store's webhook and its last 20 deliveries, newest first. A delivery's status is pending, delivered, failed or exhausted (no more retries); anything missed can be caught up from iap_list_events. Store key scope: events:read. Params: store_id, session_token? Returns: {webhook: {id, url, events, active, createdAt, lastTriggeredAt} | null, deliveries: [{id, eventId, eventType, status, attempt, statusCode, error, createdAt, deliveredAt}]} Errors: NO_CREDENTIALS, IAP_PLAN_REQUIRED, HTTP_404
| Parameter | Type | Description |
|---|---|---|
store_id * | string | Store id (from iap_open_store or iap_list_stores) |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
iap_test_webhook Send a test webhook
Queue an iap.test event to the store's webhook, to check the endpoint receives and verifies deliveries. See the result with iap_get_webhook. Store key scope: events:read. Params: store_id, session_token?, idempotency_key? Returns: {ok, idempotency_key, queued: true, event: {id, type: 'iap.test', createdAt, data}} Errors: NO_CREDENTIALS, IAP_PLAN_REQUIRED, NOT_FOUND (no webhook set)
| Parameter | Type | Description |
|---|---|---|
store_id * | string | Store id (from iap_open_store or iap_list_stores) |
idempotency_key | string | Idempotency-Key for this write. Omit to generate one; reuse the returned idempotency_key to retry safely |
session_token | string | Session token from authenticate. Optional when CHAINDADDY_API_KEY is set (or, for store-scoped tools, CHAINDADDY_IAP_KEY) |
list_skills List the skills
List Chain Daddy's skills: step-by-step workflows for launching or finding a token, checking its health, exporting a listing, selling items for it, signing users in, verifying receipts and building Crown Apps. Read one with read_skill before doing that task. The same skills are this server's prompts.
read_skill Read a skill
Read one Chain Daddy skill in full, as Markdown: the workflow, the tools it uses and the rules it keeps. Pass a name from list_skills, and follow it for that task.
| Parameter | Type | Description |
|---|---|---|
name * | string | A skill name from list_skills. |