gas

Converts kei, Gkai, KAIA gas units and estimates transaction costs for Kaia blockchain developers.

3|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/Pieverse-Eng/purrfect-skills --skill gas-pieverse-eng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gas
Source: https://github.com/Pieverse-Eng/purrfect-skills/tree/main/kaia-skills/vendor/gas
Command: npx skills add https://github.com/Pieverse-Eng/purrfect-skills --skill gas-pieverse-eng

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Confusion around Kaia's gas denominations, deprecated Klaytn unit names, and the EIP-1559-style fee model makes it hard to estimate transaction costs and convert between units reliably.

Core Features & Use Cases

  • Canonical Units: Explains and converts between kei (smallest unit), Gkei (10^9 kei, like gwei), and KAIA (10^18 kei).
  • Fee Model Guidance: Describes Kaia's dynamic base fee plus optional priority tip behavior and historical pricing phases.
  • Practical Estimates: Provides typical gas usage examples (for example, 21,000 gas for a simple KAIA transfer) and guidance to verify live gas prices via JSON-RPC for precise cost calculations.

Quick Start

Ask the gas skill to estimate the KAIA cost to send 0.5 KAIA including a 2 Gkei priority tip at current network prices.

Frequently Asked Questions about gas

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

FAQPage Schema
How do I estimate Kaia transaction costs and convert between kei, Gkei, and KAIA?

To estimate Kaia transaction costs, multiply the gas units (like 21000 for transfers) by the base fee and priority tip, then convert kei to Gkei or KAIA using 10^9 and 10^18 denominators.

How does the Kaia EIP-1559 fee model work for calculating gas prices?

Kaia's EIP-1559 fee model uses a dynamic base fee plus an optional priority tip. Total transaction cost equals gas units multiplied by the sum of the base fee and priority tip.

What is the difference between kei, Gkei, and KAIA gas units on the Kaia blockchain?

Kei is the smallest gas unit on Kaia, Gkei equals 10^9 kei (similar to gwei), and KAIA equals 10^18 kei. These canonical units replace deprecated Klaytn denominations.

How do I get precise Kaia gas price estimates for contract calls?

For precise Kaia gas price estimates, reference live on-chain gas prices via JSON-RPC, then apply the dynamic base fee and priority tip to your contract call's expected gas usage.

Why are my Kaia transaction fee calculations wrong when using deprecated Klaytn unit names?

Kaia transaction fee calculations fail with deprecated Klaytn unit names because the network now uses canonical KAIA, kei, and Gkei denominations under the current EIP-1559-style dynamic base fee model.

Can I use the gas skill to estimate a 0.5 KAIA transfer with a 2 Gkei priority tip?

Yes, the gas skill estimates KAIA transfer costs by applying the 21000 gas unit standard, adding the 2 Gkei priority tip to the dynamic base fee, and converting the total to KAIA.