KardiaChain Docs
  • Introduction
  • Technology
    • Consensus
    • Kardia Virtual Machine (KVM)
    • Kardia Smart Contract Markup Language
    • Peer to Peer (P2P)
    • Onchain AI
    • NF3 Chip
  • For Users
    • KardiaChain Proposer Validator Selection Process
    • Staking
      • Validators
      • Delegators
      • Disciplines and Rewards
        • Disciplines
        • Rewards
    • Transaction Fee
    • Wallets
      • MetaMask Compatible
      • KardiaChain Mobile App Wallet
      • [Deprecated] KardiaChain Web Wallet
        • [Deprecated] KardiaChain Wallet Extension
  • For Developers
    • Tutorials
      • Platform
        • Running KardiaChain node
        • Private KardiaChain Network
        • KAI Integration for Exchanges
      • Smart contract development
        • Dev environment
          • Solidity
          • IDE and tools
            • Remix
            • Hardhat
            • Truffle
        • Contract verification
      • KRC20 Tokens
        • Deploying KRC20 Token
        • KRC20 token verification
      • KRC721 Tokens
        • Deploy KRC721 tokens
      • Building DApp
        • Frontend
        • Data indexing service
    • SDK
      • Web3
      • [Deprecated] KardiaChain JS SDK
      • [Deprecated] KardiaChain Golang SDK
    • RPC
      • JSON RPC API
    • KardiaID Service
      • KardiaID Service Design
      • KardiaID Service API
  • Archived Docs
    • Golang SDK
    • Network
    • KVM
    • System requirement
    • Deployment
      • Configuration
      • Local
      • Public testnet
      • Mainnet
    • KSML
    • Staking Overview
      • Delegation period
      • Consensus
      • Delegator
        • What is a delegator ?
        • Choose validator
        • Directive of delegator
        • Risk
      • Proposer selection procedure
      • Staking rewards and distributions
        • Block reward distributed
        • Fee distributed
      • Slashing and Jail
      • Rewards mechanism
      • Validator
        • What is a validator ?
        • The different states a validator
        • The responsibility of validator
        • The incentive run a validator
        • To become validator
    • KardiaChain Metamask (extension) Wallet
Powered by GitBook
On this page

Was this helpful?

  1. For Users

Transaction Fee

Gas refers to the transaction fee that will be charged to any transaction or execution on the Smart Contract in KardiaChain network. Gas is measured in HYDRO.

1KAI = 10^18 HYDRO

1 OXY = 10^9 HYDRO = 0.000000001 KAI

A transaction fee will be calculated by the following formula:

gasFee = gasPrice * gasLimit

The minimum gasPrice is 1 OXY (or 1000000000 HYDRO)

The minimum gasLimit is 29000 and the maximum gasLimit is 20000000

A typical transaction gas limit for sending KAI on the network is 29000

1000000000 * 29000 = 29000000000000 HYDRO = 0,000029 KAI

A smart contract operation or any transaction on KardiaChain network will cost gas for computing the logic in KVM.

  • It costs zero fee to read data from a smart contract.

  • Gas will return to users if a smart contract execution does not spend all the gas fee.

  • If the transaction is processed but not enough gas to pay, it will be dropped (failed) and gas won't be returned.

PreviousRewardsNextWallets

Last updated 4 years ago

Was this helpful?