ugf_smart_quote
Automatically compares wallet balances and quotes to discover the cheapest cross-chain payment route, returning ranked options.
Instructions
Auto-discover the best payment route. Fetches all wallet balances in parallel, gets quotes for every viable option, and returns ranked choices cheapest first. Agent just provides calldata and destination.
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": {
"payer_address": "<payer_address>",
"dest_chain_id": "<dest_chain_id>",
"dest_chain_type": "<dest_chain_type>",
"tx_object": "<tx_object>"
},
"name": "ugf_smart_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payer_address | Yes | EVM wallet address of the payer | |
| dest_chain_id | Yes | Destination chain ID | |
| dest_chain_type | Yes | Destination chain type — evm, sol, or sui | |
| tx_object | Yes | Destination transaction as JSON string |