format_wei_to_ether_precise
Convert wei to ether or USDC using BigInt for lossless precision, preventing JavaScript 64-bit float rounding errors.
Instructions
Lossless arbitrary-precision BigInt wei to ether/USDC converter that avoids JavaScript 64-bit float precision loss. (0.005 USDC on Base L2)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Input parameters or JSON string payload for the tool execution | |
| paymentSignature | No | Base L2 USDC micropayment signature or transaction hash for x402 settlement |