MCP Ethers Wallet
parseUnits
Convert a decimal string to its smallest unit representation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
unit | Yes | The number of decimals or unit name (e.g., 'gwei', 18) | |
value | Yes | The decimal string to parse |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools
- getSupportedNetworks
- checkWalletExists
- getWalletBalance
- getERC20Balance
- getWalletTransactionCount
- getBlockNumber
- getBlockDetails
- getTransactionDetails
- getGasPrice
- getFeeData
- getContractCode
- lookupAddress
- resolveName
- formatEther
- parseEther
- formatUnits
- parseUnits
- sendTransaction
- signMessage
- contractCall
- contractCallView
- contractCallWithEstimate
- contractSendTransaction
- contractSendTransactionWithEstimate
- contractCallWithOverrides
- contractSendTransactionWithOverrides
- sendRawTransaction
- queryLogs
- contractEvents
- sendTransactionWithOptions
- getTransactionsByBlock