Transaction fee calculation per transaction type
Here is the detail of all the transaction fees calculation for all the transaction of the IOV Name Service
The fee final calculation applicable to all fees is
transaction fee = max( config.DefaultFee, fee)

register-domain

  • if msg.DomainType is closed
    • fee = config.RegisterDomain_{len(msg.Name)}
  • else
    • fee = same as register-domain-closed * config.RegisterOpenDomainMultiplier

transfer-domain

  • if msg.DomainType is closed
    • fee = config.TransferClosedDomain
  • else
    • fee = config.TransferOpenDomain

renew-domain

  • if msg.DomainType is closed
    • same as register-domain-closed + config.RegisterClosedAccount * number of accounts in the domain
  • else
    • config.RenewOpenDomain

register-account

  • if msg.DomainType is closed
    • fee = config.RegisterClosedAccount
  • else
    • fee = config.RegisterOpenAccount

transfer-account

  • if msg.DomainType is closed
    • fee = config.TransferClosedAccount
  • else
    • fee = config.TransferOpenAccount

renew-account

  • same as register-account

replace-targets

  • fee = config.ReplaceTargets

add-cert

  • fee = config.AddCertificate

set-metadata

  • fee = config.SetMetaData
Last modified 1yr ago