Quote an Axiv Pay payment
create_quoteStep 1 of a payment. Ask the live payment API for a quote to pay a recipient on a destination chain from a source chain. Returns the route, fee estimate, expected and minimum receive amounts, and expiresAt. A quote is not a payment and moves no funds. Send exactly one of sourceAsset or sourceTokenAddress, and exactly one of destinationAsset or destinationTokenAddress. The returned quote is checked against every term you sent: chains, amount, recipient, assets or tokens, payer, and allowed routes. Next: create_payment. Requires your own Axiv Pay API token in the Authorization: Bearer header of the MCP HTTP request, never as a tool argument. This tool does not sign or send any blockchain transaction. Axiv Pay holds no keys. Your own wallet signs the step returned by get_funding_step.
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": {
"sourceChainId": "<sourceChainId>",
"amountAtomic": "<amountAtomic>",
"destinationChainId": "<destinationChainId>",
"recipient": "<recipient>"
},
"name": "create_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payer | No | Optional. Account that will fund the payment on the source chain. If omitted here, create_payment needs it. 0x followed by 40 hex characters. Not the zero address. | |
| recipient | Yes | Account that receives the payout on the destination chain. 0x followed by 40 hex characters. Not the zero address. | |
| sourceAsset | No | Source asset symbol, for example "USDC". Omit when sourceTokenAddress is set. | |
| amountAtomic | Yes | Amount the payer sends, in atomic units of the source asset, as a positive integer string with no decimal point. 10 USDC with 6 decimals is "10000000". | |
| allowedRoutes | No | Optional. Restrict the quote to these route names, for example ["ACROSS"]. | |
| sourceChainId | Yes | Source EVM chain ID as a decimal string, for example "8453". | |
| destinationAsset | No | Destination asset symbol. Omit when destinationTokenAddress is set. | |
| destinationChainId | Yes | Destination EVM chain ID as a decimal string, for example "42161". | |
| sourceTokenAddress | No | Source token contract. Omit when sourceAsset is set. 0x followed by 40 hex characters. Not the zero address. | |
| destinationTokenAddress | No | Destination token contract. Omit when destinationAsset is set. 0x followed by 40 hex characters. Not the zero address. |