broker_quote_buy
Creates a proforma quote for buying cryptocurrency using fiat funds from a pocket. Start the purchase by specifying source and destination pockets, then confirm the quote to execute.
Instructions
STEP 1: Buy cryptocurrency using fiat balance from a pocket. Creates a proforma quote. Use wallet_get_pockets to find pocket IDs. REQUIRES subsequent confirmation with broker_confirm_quote. [PRIVATE]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jwt | No | Optional session token for authentication. API keys are recommended for most use cases. | |
| amount | Yes | Amount to spend from origin pocket (in origin currency) | |
| idempotency_key | No | Stable key for this logical action (UUID recommended). Reuse the same value when retrying after a timeout so Bit2Me does not execute twice. Auto-generated if omitted. | |
| origin_pocket_id | Yes | Source pocket UUID containing fiat currency (e.g., EUR pocket) | |
| destination_pocket_id | Yes | Target pocket UUID to receive cryptocurrency (e.g., BTC pocket) |