Fees

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

The types of fees that are payable include:

Type

Description

Max Fee

The maximum fee a user is willing to pay for the transaction

Counted Fee

A fee which is based on the transaction type and other special conditions

Execute Fee

A 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

Size

Deploy Transaction

Other Transaction Types

0-1.5 KB

0.008746170242 CS

0.0087451 CS

1.5-20 KB

0.03546746927 CS

0.0127451 CS

20-50 KB

1.052767832 CS

0.0158277242 CS

50-100 KB

14.30859834 CS

0.03498468097 CS

100-256 KB

38.89480285 CS

0.1589541694 CS

256-512 KB

105.7270358 CS

1.936458209 CS

512-768 KB

287.3958802 CS

10.51884417 CS

768-1024 KB

781.2229988 CS

103.8255221 CS

1-5 MB

2123.584282 CS

259.834061 CS

5-15 MB

5772.500564 CS

651.3469549 CS

15-50 MB

15691.28339 CS

2309.930666 CS

50-100 MB

42653.3305 CS

5165.460461 CS