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
Name | Required | Description | Default |
---|---|---|---|
unit | Yes | The number of decimals or unit name (e.g., 'gwei', 18) | |
value | Yes | The value to format |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from MCP Ethers Wallet
- checkWalletExists
- contractCall
- contractCallView
- contractCallWithEstimate
- contractCallWithOverrides
- contractEvents
- contractSendTransaction
- contractSendTransactionWithEstimate
- contractSendTransactionWithOverrides
- formatEther
- formatUnits
- getBlockDetails
- getBlockNumber
- getContractCode
- getERC20Balance
- getFeeData
- getGasPrice
- getSupportedNetworks
- getTransactionDetails
- getTransactionsByBlock
- getWalletBalance
- getWalletTransactionCount
- lookupAddress
- parseEther
- parseUnits
- queryLogs
- resolveName
- sendRawTransaction
- sendTransaction
- sendTransactionWithOptions
- signMessage
Related Tools
- @crazyrabbitLTC/mcp-ethers-server
- @crazyrabbitLTC/mcp-ethers-server
- @crazyrabbitLTC/mcp-ethers-server
- @NaniDAO/agentek
- @NaniDAO/agentek