sap perpspad build escrow launch
sap_perpspad_build_escrow_launchBuild an escrow-backed PerpsPad launch (creator-split Option B): derives the trustless escrow PDA from the NEW token mint, swaps the launch creatorAddress to that PDA, and returns the unsigned config + pool + initialize_escrow transactions. The hourly creator_payout then lands on the escrow PDA, which hard-splits 70% to the agent wallet / 30% to the OOBE treasury on-chain — non-custodial, permissionless. The mint keypair is generated by the CALLER (agent flow) and passed as mintKeypairSecret (64-byte array); the config tx materializes that exact mint. Agent wallet (70% destination) is stored immutably. Sign and send: initialize_escrow FIRST (agent wallet signs), then config, then pool. BUILDER tier.
SAP MCP execution guidance: Intent: hosted unsigned transaction builder. Pricing: paid builder; estimate first, then pay/build and finalize unsigned transactions locally when returned. Routing: paid hosted call; call sap_estimate_tool_cost first, then use sap_payments_call_paid_tool if the runtime cannot handle x402 natively. Signer boundary: hosted reads/builders never receive keypair bytes; value-moving results must be finalized locally when signing is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| legs | No | Optional 2-leg basket instead of single underlying. | |
| name | Yes | Coin display name | |
| quote | No | Pairing token: SOL (default), USDC, or CUSTOM | |
| devBuy | Yes | Dev-buy in quote units (SOL 0.1-5, USDC 5-5000) | |
| ticker | Yes | Coin ticker, A-Z 0-9 only (e.g. MOON) | |
| imageUrl | No | Optional coin image URL | |
| leverage | No | Leverage of the backing perp (1..market cap) | |
| direction | No | Side of the backing perp | |
| quoteMint | No | CUSTOM only: the SPL mint to pair against | |
| twitterUrl | No | Optional X/Twitter URL | |
| underlying | No | Single-perp market backing the coin (e.g. SOL, BTC, OIL). Provide underlying+leverage+direction OR legs. | |
| websiteUrl | No | Optional website URL | |
| agentWallet | Yes | Agent wallet that receives the 70% share (stored immutably as the escrow's distribute destination) | |
| payerWallet | No | Wallet that signs the transactions and pays rent + dev-buy. Usually the same as agentWallet. | |
| quoteDecimals | No | CUSTOM only: decimals hint | |
| mintKeypairSecret | Yes | 64-byte secret key of the NEW mint keypair (generated client-side, never persisted server-side). The escrow PDA derives from this mint. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | MCP content blocks returned to the caller. | |
| isError | No | True when the tool result represents an application-level error. |