unit-conversion

Convert Ethereum denominations and custom ERC-20 token decimals with BigDecimal precision.

2.3k|747|Updated Nov 23, 2015
One-click install
npx skills add https://github.com/Nethereum/Nethereum --skill unit-conversion
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unit-conversion
Source: https://github.com/Nethereum/Nethereum/tree/main/plugins/nethereum-skills/skills/unit-conversion
Command: npx skills add https://github.com/Nethereum/Nethereum --skill unit-conversion

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the conversion between various Ethereum-native units like Wei, Gwei, and Ether, as well as handling custom token decimals for ERC-20 tokens.

Core Features & Use Cases

  • Wei to Ether/Gwei Conversion: Easily convert between the smallest unit (Wei) and more human-readable denominations.
  • Custom Token Decimals: Accurately convert values for tokens with non-standard decimal places (e.g., USDC, WBTC).
  • BigDecimal Precision: Handle extremely large or small values without losing precision.
  • Use Case: Convert a gas price quoted in Gwei to Wei for transaction submission, or display a user's token balance in a human-readable format.

Quick Start

Use the unit-conversion skill to convert 1.5 Ether to Wei.

Frequently Asked Questions about unit-conversion

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert Ether to Wei for an Ethereum transaction?

To convert Ether to Wei, you input the human-readable Ether amount and the unit conversion outputs the exact raw Wei value required for Ethereum transaction submission without precision loss.

What is the best way to convert ERC-20 token values with custom decimals?

Converting ERC-20 token values requires specifying custom decimal places; this tool calculates balances for tokens like USDC or WBTC accurately by utilizing BigDecimal for high-precision on-chain data representation.

How does Gwei to Wei conversion work for gas price calculations?

Gwei to Wei conversion works by taking a gas price quoted in Gwei and translating it into the base Wei denomination, ensuring your transaction submission uses the correct raw on-chain value.

Can I use BigDecimal precision for extremely large Ethereum unit conversions?

Yes, you can use BigDecimal precision for large Ethereum unit conversions because the tool handles extremely large or small values between Wei, Gwei, Finney, Szabo, Ether, and Kether without losing precision.

When do I need to convert Wei to a human-readable Ethereum balance?

You need to convert Wei to a human-readable Ethereum balance when displaying user token balances or interpreting on-chain data, translating raw Wei values into formats like Ether, Gwei, or Szabo.