Fees

When a transaction is made on the Credits (CS) platform, a fee is payable.

The types of fees that are payable include:

TypeDescription
Max FeeThe maximum fee a user is willing to pay for the transaction
Counted FeeA fee which is based on the transaction type and other special conditions
Execute FeeA fee charged for smart contract execution

Transfer Fee Calculation

The fee to transfer native CS currency from one wallet address to another is based on fees table.

Smart Contract Fee Calculation

When smart contracts are executed and distributed over the Credits (CS) blockchain, a fee is payable based on the size of the recorded data.

There are two types of smart contract transactions:

  • An "initiator action" transaction; "deploy" transaction, "__execute" transaction, and "payable" transaction_;_
  • A "new state" transaction where a change has been made to the "state" of a smart contract_._

Any action performed on a smart contract changes its "state", except the "get" methods, which only reads information and does not write anything to the blockchain. In all other cases, it is necessary to create a transaction request to execute a smart contract method.

When creating a transaction request, funds are reserved for this method of execution. Transferred funds are also reserved when creating a "payable" transaction and "emitted" transaction.

Also, in order to compile and execute a smart contract, a certain amount of computing power is also required for which the “execute fee” must also be paid. The following fees are calculated based on the execution time followed by the currency rate:

Fees Table

SizeDeploy TransactionOther Transaction Types
0-1.5 KB0.008746170242 CS0.0087451 CS
1.5-20 KB0.03546746927 CS0.0127451 CS
20-50 KB1.052767832 CS0.0158277242 CS
50-100 KB14.30859834 CS0.03498468097 CS
100-256 KB38.89480285 CS0.1589541694 CS
256-512 KB105.7270358 CS1.936458209 CS
512-768 KB287.3958802 CS10.51884417 CS
768-1024 KB781.2229988 CS103.8255221 CS
1-5 MB2123.584282 CS259.834061 CS
5-15 MB5772.500564 CS651.3469549 CS
15-50 MB15691.28339 CS2309.930666 CS
50-100 MB42653.3305 CS5165.460461 CS
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard