convert_from_base_units
convert_from_base_unitsConvert blockchain token amounts from smallest units like wei to human-readable formats for easier understanding and display.
Instructions
Convert a token amount from its smallest unit (e.g., wei) to human-readable units.
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": {
"amount": "<amount>"
},
"name": "convert_from_base_units"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| tokenAddress | No |