unit_convert
Exact token/ETH unit conversion: wei/gwei/ether/USDC 6dp/BTC 8dp/any decimals, hex and uint256 word. BigInt-precise. Paid: $0.02 USDC via x402.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unit_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | optional | |
| from | No | usdc|ether|wei|decimals | |
| value | No | 0.02 |