assetfare_v2_prepare
Explicit caller-approved one-shot: POST /v2/prepare for a route the live quote reports available. Solana-CCTP routes require event_signer_public: generate a fresh ephemeral Solana keypair locally, pass only its public key, keep its private key client-side, and co-sign the returned unsigned event-account transaction. Never auto-called; AssetFare never signs or submits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallets | Yes | ||
| to_chain | Yes | ||
| to_token | Yes | ||
| amount_usd | Yes | ||
| from_chain | Yes | ||
| from_token | Yes | ||
| caller_approved | Yes | ||
| 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. |