initialize_session
LEGACY wallet flow — new integrations should use create_account and launch_campaign (API key + prepaid balance, no wallet). Creates a new agent session, proving the wallet with a signature from get_session_nonce. Returns a sessionId and the payment details (treasury address, token mint, amount in cents). After calling this, send the required USDC to the treasury address on-chain, then call verify_payment with the transaction signature to receive an access token. The wallet you prove here becomes the campaign's creator, and is the only wallet that will be able to read its results from the dashboard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Exact message string returned by get_session_nonce (must match byte for byte) | |
| signature | Yes | Base58-encoded Ed25519 signature of the message returned by get_session_nonce | |
| walletAddress | Yes | Your Solana wallet public key (base58) |