Convert units
convert_unitsConvert between wei, gwei, ether, sat, btc, lamport, and sol to obtain exact unit values for Ethereum, Bitcoin, and Solana.
Instructions
Exact conversion between wei/gwei/ether, sat/btc, lamport/sol.
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": {
"value": "<value>",
"unit": "<unit>"
},
"name": "convert_units"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | ||
| value | Yes |