Solana Token-2022 transfer preview (free summary; full 0.005 USDC via x402)
preview_receiveDeterministic preview of a Solana Token-2022 transfer: the current on-chain transfer fee (basis points and maximum), the net amount the recipient receives, and flags for a transfer hook, freeze authority, permanent delegate, default-frozen accounts or a pause authority. Models a transfer only, not a swap or DEX pool fee. Does not execute or audit a hook program. Automated technical data, not financial advice. The free summary (net amount, fee, up to 3 flags) is limited to 10 calls per day per IP. Pass full=true for the full JSON at 0.005 USDC via x402: call once to receive the PaymentRequired object, then retry with _meta["x402/payment"]. Use when you need the net amount a Token-2022 transfer will deliver after the current on-chain transfer fee.
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": {
"mint": "<mint>",
"amount": "<amount>"
},
"name": "preview_receive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | If true, return the full paid preview via x402 (0.005 USDC). The free summary is returned when this is omitted or false. | |
| mint | Yes | Solana token mint address (base58) | |
| amount | Yes | Amount to send, in UI token units (positive decimal) |