estimate_gas
Estimate the gas cost for transferring tokens like USDC, USDT, WETH, or native PHRS. Returns cost in PHRS and USD for testnet or mainnet.
Instructions
Estimate the gas cost of a token transfer in PHRS and USD
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": {
"to": "<to>",
"token": "<token>",
"amount": "<amount>"
},
"name": "estimate_gas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient wallet address | |
| token | Yes | Token being transferred (PHRS for a native transfer) | |
| amount | Yes | Human readable amount, e.g. "5.00" | |
| network | No | Network to use: testnet (default) or mainnet |