Stock basket buy quote
stocks_buy_quoteFree. Preview buying the tokenized stock basket: shares you would get and the fee for a USDC amount (USDC 6 decimals: "2000000" = $2).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"usdc": "<usdc>"
},
"name": "stocks_buy_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usdc | Yes | Amount in USDC-6, e.g. "2000000" for $2. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Notes | |
| usdcIn | No | USDC in (6 decimals) | |
| netUsdc | No | USDC invested after the fee | |
| mintFeeUsdc | No | Mint fee (6 decimals) |