quote_payment
Price a payment to a payee and return gross/net amounts, fees, discount, treasury, mint, and a signed quote with a 30-second expiry.
Instructions
Price a payment to a payee: gross amount, net amount to the payee, fee_gross, discount, fee_net, treasury, mint and a 30-second expiry. Returns a signed quote.
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": {
"network": "<network>",
"mint": "<mint>",
"amount": "<amount>",
"payee": "<payee>"
},
"name": "quote_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mint | Yes | Payment token mint (exact whitelisted address) | |
| payee | Yes | Wallet that receives the payment | |
| amount | Yes | Integer amount in base units of the mint | |
| network | Yes | CAIP-2 network id, e.g. solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1 | |
| idempotency_key | No | Reuse the same key when retrying |