Show / Hide Table of Contents

System Fees

Neo smart contracts cost certain system fees and network fees upon publishing and execution. In this section we focus on system fees occurred by execution of smart contracts. For information about network fees, refer to Charging Model .

Smart Contract Fees

The initial 10 GAS during each execution of every smart contract is always free, including smart contract deployment and invoking. That is, fees that sum up to 10 GAS or less will not require a service fee.

The fees below are minimum fees. The user can choose to pay extra for priority.

All Smart Contract fees are considered as Service fee to be put in a pool for re-distribution to all NEO holders. The distribution is proportional to amount of NEO

The fee structure for Smart Contracts can be found in the tables below.

Fees for System Calls

SysCallFee [Gas]
Runtime.CheckWitness0.2
Blockchain.GetHeader0.1
Blockchain.GetBlock0.2
Blockchain.GetTransaction0.1
Blockchain.GetAccount0.1
Blockchain.GetValidators0.2
Blockchain.GetAsset0.1
Blockchain.GetContract0.1
Transaction.GetReferences0.2
Account.SetVotes1
Validator.Register1000
Asset.Create (system asset)5000
Asset.Renew (system asset) [per year]5000
Contract.Create100~1000
Contract.Migrate100~1000
Storage.Get0.1
Storage.Put [per KB]*1
Storage.Delete0.1
(Default)0.001
  • Additional to 1 GAS minimum

For the description of API in the table above, refer to Neo Namespace

The cost of creating or migrating a smart contract is the basic 100 GAS plus fees of functions the contract requires. If the storage area is required, the function fee is 400 GAS, and if the dynamic call is needed, the function fee is 500 GAS.

Fees for Instructions

InstructionFee [Gas]
OpCode.PUSH16 [or less]0
OpCode.NOP0
OpCode.APPCALL0.01
OpCode.TAILCALL0.01
OpCode.SHA10.01
OpCode.SHA2560.01
OpCode.HASH1600.02
OpCode.HASH2560.02
OpCode.CHECKSIG0.1
OpCode.CHECKMULTISIG [per signature]0.1
(Default)0.001