Skip to main content
Glama

MCP Ethers Wallet

formatUnits

Convert Ethereum values to decimal strings using specified units (e.g., 'gwei') for precise blockchain transactions and data handling.

Instructions

Convert a value to a decimal string with specified units

Input Schema

NameRequiredDescriptionDefault
unitYesThe number of decimals or unit name (e.g., 'gwei', 18)
valueYesThe value to format

Input Schema (JSON Schema)

{ "properties": { "unit": { "description": "The number of decimals or unit name (e.g., 'gwei', 18)", "type": [ "string", "number" ] }, "value": { "description": "The value to format", "type": "string" } }, "required": [ "value", "unit" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/crazyrabbitLTC/mcp-ethers-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server