assetfare_v2_session_create
Create a caller-approved receipt-driven workflow and get its unsigned action for multi-step execution without signing or submitting transactions.
Instructions
Create one caller-approved receipt-driven workflow and return its current unsigned action. Example: pass a locally generated 256-bit base64url session_token, public wallets, and idempotency_key='create-0001'. Use for multi-step execution, never alongside one-shot prepare; AssetFare never signs or submits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallets | Yes | Map each chain needed by this route to the caller's public wallet address. Include public addresses only; one to six entries, never private keys or seed phrases. | |
| to_chain | Yes | Destination chain for the v2 route: Solana, Base, Arbitrum, or Robinhood Chain. Polygon and Optimism are not destinations. | |
| to_token | Yes | Output token symbol on to_chain. The chain-token pair must appear in current v2 capabilities. | |
| amount_usd | Yes | Requested input value in USD, minimum 1. USD 1 is reachability/schema smoke only; USD 50 is the native-USDC economic-comparison start based on dated 2026-09-23 evidence, not a cheapest guarantee; USD 1,000 is the primary representative amount. SOL input includes a swap. Always quote the actual intended amount. | |
| from_chain | Yes | Source chain for the v2 route. Polygon and Optimism are source-only and cannot be used as to_chain. | |
| from_token | Yes | Input token symbol on from_chain. The chain-token pair must appear in current v2 capabilities. | |
| session_token | Yes | Sensitive caller-generated v2 session capability: at least 32 CSPRNG bytes encoded as 43-128 URL-safe base64 characters. Generate it locally; never log it or substitute a private key or legacy access token. | |
| caller_approved | Yes | Explicit confirmation that the caller approved this state-changing preparation or session creation. A quote alone is not approval. | |
| idempotency_key | Yes | Caller-generated retry key, 8-128 characters. Reuse it only when retrying the same logical mutation; choose a new key for a new operation. | |
| event_signer_public | No | Solana CCTP only: caller-generated ephemeral public key. Keep the matching private key client-side and use it to co-sign the returned unsigned event-account transaction; never send the private key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signed | Yes | ||
| status | Yes | ||
| submitted | Yes | ||
| session_id | Yes | ||
| current_action | Yes | ||
| server_signing | Yes | ||
| action_available | Yes | ||
| server_submission | Yes |