ugf_quote
Obtain a Universal Gas Framework quote to verify wallet balance covers the fee for a cross-chain transaction, enabling agents to proceed with gasless execution.
Instructions
Get a UGF quote for a specific payment coin and chain. Checks wallet balance against quote amount and returns whether the agent can proceed.
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>",
"payment_coin": "<payment_coin>",
"payment_chain": "<payment_chain>",
"dest_chain_id": "<dest_chain_id>",
"dest_chain_type": "<dest_chain_type>",
"tx_object": "<tx_object>"
},
"name": "ugf_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payer_address | Yes | EVM wallet address of the payer | |
| payment_coin | Yes | Token to pay with e.g. USDC, $U, ETH | |
| payment_chain | Yes | Chain ID to pay from e.g. 8453, 56 | |
| dest_chain_id | Yes | Destination chain ID | |
| dest_chain_type | Yes | Destination chain type | |
| tx_object | Yes | Destination transaction as JSON string |