> For the complete documentation index, see [llms.txt](https://ibax.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ibax.gitbook.io/docs/docs/de/reference/platform-parameters.md).

# Platform Parameters

These are parameters to configure IBAX. They are applicable to the blockchain network and all ecosystems within it.

## Location to store platform parameters

Platform parameters are stored in the system\_parameters table.

This table is located in the first (default) ecosystem created on the blockchain network.

## Change of platform parameters

Change of platform parameters can only be made through voting. You can only use the UpdateSysParam contract to change any platform parameter, which is managed by definitions in the legal system of the platform.

## Configure platform parameters

### Configure the blockchain network

Nodes:

* [full\_nodes](#full_nodes)
* [number\_of\_nodes](#number_of_nodes)

Node bans:

* [incorrect\_blocks\_per\_day](#incorrect_blocks_per_day)
* [node\_ban\_time](#node_ban_time)
* [node\_ban\_time\_local](#node_ban_time_local)

### Configure a new ecosystem

Default page and menu:

* [default\_ecosystem\_page](#default_ecosystem_page)
* [default\_ecosystem\_menu](#default_ecosystem_menu)

Default contract:

* [default\_ecosystem\_contract](#default_ecosystem_contract)

### Configure the database

Table limits:

* [max\_columns](#max_columns)
* [max\_indexes](#max_indexes)

### Configure the generation of blocks

Time limits:

* [gap\_between\_blocks](#gap_between_blocks)
* [max\_block\_generation\_time](#max_block_generation_time)

Transaction limits:

* [max\_tx\_block](#max_tx_block)
* [max\_tx\_block\_per\_user](#max_tx_block_per_user)

Size limits:

* [max\_tx\_size](#max_tx_size)
* [max\_block\_size](#max_block_size)
* [max\_forsign\_size](#max_forsign_size)

Fuel limits:

* [max\_fuel\_block](#max_fuel_block)
* [max\_fuel\_tx](#max_fuel_tx)

Block rollback limits:

* [rollback\_blocks](#rollback_blocks)

### Configure the fuel tokens

Rewards and commissions:

* [block\_reward](#block_reward)
* [commission\_wallet](#commission_wallet)
* [commission\_size](#commission_size)

Fuel rate conversion:

* [fuel\_rate](#fuel_rate)
* [price\_create\_rate](#price_create_rate)

Transaction size and data price:

* [price\_tx\_data](#price_tx_data)
* [price\_tx\_size\_wallet](#price_tx_size_wallet)

Price for new elements:

* [price\_create\_ecosystem](#price_create_ecosystem)
* [price\_create\_table](#price_create_table)
* [price\_create\_column](#price_create_column)
* [price\_create\_contract](#price_create_contract)
* [price\_create\_menu](#price_create_menu)
* [price\_create\_page](#price_create_page)
* [price\_create\_application](#price_create_application)

Price for operations:

* [price\_exec\_bind\_wallet](#price_exec_bind_wallet)
* [price\_exec\_address\_to\_id](#price_exec_address_to_id)
* [price\_exec\_column\_condition](#price_exec_column_condition)
* [price\_exec\_compile\_contract](#price_exec_compile_contract)
* [price\_exec\_contains](#price_exec_contains)
* [price\_exec\_contracts\_list](#price_exec_contracts_list)
* [price\_exec\_contract\_by\_name](#price_exec_contract_by_name)
* [price\_exec\_contract\_by\_id](#price_exec_contract_by_id)
* [price\_exec\_create\_column](#full_nprice_exec_create_columnodes)
* [price\_exec\_create\_ecosystem](#price_exec_create_ecosystem)
* [price\_exec\_create\_table](#price_exec_create_table)
* [price\_exec\_unbind\_wallet](#price_exec_unbind_wallet)
* [price\_exec\_ecosys\_param](#price_exec_ecosys_param)
* [price\_exec\_eval](#price_exec_eval)
* [price\_exec\_eval\_condition](#price_exec_eval_condition)
* [price\_exec\_flush\_contract](#price_exec_flush_contract)
* [price\_exec\_has\_prefix](#price_exec_has_prefix)
* [price\_exec\_id\_to\_address](#price_exec_id_to_address)
* [price\_exec\_is\_object](#price_exec_is_object)
* [price\_exec\_join](#price_exec_join)
* [price\_exec\_json\_to\_map](#price_exec_json_to_map)
* [price\_exec\_len](#price_exec_len)
* [price\_exec\_perm\_column](#price_exec_perm_column)
* [price\_exec\_perm\_table](#price_exec_perm_table)
* [price\_exec\_pub\_to\_id](#price_exec_pub_to_id)
* [price\_exec\_replace](#price_exec_replace)
* [price\_exec\_sha256](#price_exec_sha256)
* [price\_exec\_size](#price_exec_size)
* [price\_exec\_substr](#price_exec_substr)
* [price\_exec\_sys\_fuel](#price_exec_sys_fuel)
* [price\_exec\_sys\_param\_int](#price_exec_sys_param_int)
* [price\_exec\_sys\_param\_string](#price_exec_sys_param_string)
* [price\_exec\_table\_conditions](#price_exec_table_conditions)
* [price\_exec\_update\_lang](#price_exec_update_lang)
* [price\_exec\_validate\_condition](#price_exec_validate_condition)

### Depreciated

Depreciated parameters:

* [blockchain\_url](#blockchain_url)

## Details of platform parameters

### block\_reward

The number of IBXC tokens granted to the honor node that generates the block.

The account that receives the reward is specified in the [full\_nodes](#full_nodes) parameter.

### blockchain\_url

Depreciated.

### commission\_size

Percentage of the commission.

The amount of the commission is calculated as a percentage of the total cost of implement the contract. The unit of the commission token is IBXC.

The commission will be transferred to the account address specified in the commission\_wallet parameter.

### commission\_wallet

The account address to receive the commission.

The amount of commission is specified by the commission\_size parameter.

### default\_ecosystem\_contract

The source code of the default contract in the new ecosystem.

This contract provides access to the ecosystem creator.

### default\_ecosystem\_menu

The source code of the default menu of the new ecosystem.

### default\_ecosystem\_page

The source code of the default page of the new ecosystem.

### fuel\_rate

The exchange rates of different ecosystem tokens by fuel unit.

The format of this parameter: \[\["ecosystem\_id", "token\_to\_fuel\_rate"], \["ecosystem\_id2", "token\_to\_fuel\_rate2"], ...] \* ecosystem\_id

```
    Ecosystem ID.
* token_to_fuel_rate

    Exchange rate of the token by fuel unit.
```

For example:

\[\["1","1000000000000"], \["2", "1000"]]

One token of Ecosystem 1 is exchanged for 1,000,000,000,000 fuel units. One token of Ecosystem 2 is exchanged for 1,000 fuel units.

### price\_create\_rate

The fuel rate of a new element.

### full\_nodes

The list of honor nodes of the blockchain network.

The format of this parameter:

```
[{"api_address":"https://apihost1:port1","public_key":"nodepub1","tcp_address":"tcphost1:port2"},{"api_address":"https://apihost2:port1","public_key":"nodepub2","tcp_address":"tcphost2:port2"}]
```

* tcp\_address

  TCP address and port of the node host. Transactions and new blocks will be sent to this host address, which can also be used to obtain the complete blockchain from the first block.
* api\_address

  API address and port of the node host. Through the API address, you can access any function of the platform without using Weaver. See details in RESTful API.
* public\_key

  Public key of the node, which is used to verify the block signature.

### gap\_between\_blocks

The time interval (in seconds) of generating two blocks on a node.

All nodes in the network use it to determine when to generate a new block. If the current node does not generate a new block within this time period, the turn passes to the next node in the list of honor nodes.

The minimum value of this parameter is 1 second.

### incorrect\_blocks\_per\_day

The number of bad blocks that a node is allowed to generate per day before being banned.

When more than half of the nodes in the network receive the same number of bad blocks from a node, the node will be banned from the network within a time period specified in [node\_ban\_time](#node_ban_time).

### max\_block\_generation\_time

The maximum time for generating a block, in milliseconds. If a block is not successfully generated within this time period, a timeout error will be reported.

### max\_block\_size

The maximum size of a block, in bytes.

### max\_columns

The maximum number of fields in a single table.

However, it does not include the predefined id column.

### max\_forsign\_size

The maximum size of a transaction signature in bytes.

### max\_fuel\_block

The maximum total fuel fee of a single block.

### max\_fuel\_tx

The maximum total fuel fee of a single transaction.

### max\_indexes

The maximum number of primary key fields in a single table.

### max\_tx\_block

The maximum number of transactions in a single block.

### max\_tx\_block\_per\_user

The maximum number of transactions of an account in a block.

### max\_tx\_size

The maximum size of a transaction in bytes.

### node\_ban\_time

The global ban period of the node, in milliseconds.

When more than half of the nodes in the network receive bad blocks from a node up to the number of [incorrect\_blocks\_per\_day](#incorrect_blocks_per_day), the node will be banned in the network for this time period.

### node\_ban\_time\_local

The local ban period of the node, in milliseconds.

When a node receives an incorrect block from another node, it will locally ban the sender's node during this time period.

### number\_of\_nodes

The maximum number of honor nodes in the [full\_nodes](#full_nodes) parameter.

### price\_create\_ecosystem

The fuel fee to create a new single ecosystem.

This parameter defines the additional fuel fee of the @1NewEcosystem contract. When the contract is implemented, the fuel fee for executing various functions of this contract will also be calculated and included in the total cost.

This parameter is calculated in fuel units. Use [fuel\_rate](#fuel_rate) and [price\_create\_rate](#price_create_rate) to convert fuel units to IBXC tokens.

### price\_create\_application

The fuel fee to create a new single application.

This parameter defines the additional fuel fee of the @1NewApplication contract. When the contract is implemented, the fuel fee for executing various functions of this contract will also be calculated and included in the total cost.

This parameter is calculated in fuel units. Use [fuel\_rate](#fuel_rate) and [price\_create\_rate](#price_create_rate) to convert fuel units to IBXC tokens.

### price\_create\_table

The fuel fee to create a new single table.

This parameter defines the additional fuel cost of the @1NewTable contract. When the contract is implemented, the fuel cost for executing various functions of this contract will also be calculated and included in the total cost.

This parameter is calculated in fuel units. Use [fuel\_rate](#fuel_rate) and [price\_create\_rate](#price_create_rate) to convert fuel units to IBXC tokens.

### price\_create\_column

The fuel fee to create a new single table field.

This parameter defines the additional fuel cost of the @1NewColumn contract. When the contract is implemented, the fuel cost for executing various functions of this contract will also be calculated and included in the total cost.

This parameter is calculated in fuel units. Use [fuel\_rate](#fuel_rate) and [price\_create\_rate](#price_create_rate) to convert fuel units to IBXC tokens.

### price\_create\_contract

The fuel fee to create a new single contract.

This parameter defines the additional fuel cost of the @1NewContract contract. When the contract is implemented, the fuel cost for executing various functions of this contract will also be calculated and included in the total cost.

This parameter is calculated in fuel units. Use [fuel\_rate](#fuel_rate) and [price\_create\_rate](#price_create_rate) to convert fuel units to IBXC tokens.

### price\_create\_menu

The fuel fee to create a new single menu.

This parameter defines the additional fuel cost of the @1NewMenu contract. When the contract is implemented, the fuel cost for executing various functions of this contract will also be calculated and included in the total cost.

This parameter is calculated in fuel units. Use [fuel\_rate](#fuel_rate) and [price\_create\_rate](#price_create_rate) to convert fuel units to IBXC tokens.

### price\_create\_page

The fuel fee to create a new single page.

This parameter defines the additional fuel cost of the @1NewPage contract. When the contract is implemented, the fuel cost for executing various functions of this contract will also be calculated and included in the total cost.

This parameter is calculated in fuel units. Use [fuel\_rate](#fuel_rate) and [price\_create\_rate](#price_create_rate) to convert fuel units to IBXC tokens.

### price\_exec\_address\_to\_id

The fuel fee of calling theAddressToId() function, calculated in fuel units.

### price\_exec\_bind\_wallet

The fuel fee of calling theActivate() function, calculated in fuel units.

### price\_exec\_column\_condition

The fuel fee of calling the ColumnCondition() function, calculated in fuel units.

### price\_exec\_compile\_contract

The fuel fee of calling the CompileContract() function, calculated in fuel units.

### price\_exec\_contains

The fuel fee of calling the Contains() function, calculated in fuel units.

### price\_exec\_contract\_by\_id

The fuel fee of calling the GetContractById() function, calculated in fuel units.

### price\_exec\_contract\_by\_name

The fuel fee of calling the GetContractByName() function, calculated in fuel units.

### price\_exec\_contracts\_list

The fuel fee of calling the ContractsList() function, calculated in fuel units.

### price\_exec\_create\_column

The fuel fee of calling the CreateColumn() function, calculated in fuel units.

### price\_exec\_create\_ecosystem

The fuel fee of calling the CreateEcosystem() function, calculated in fuel units.

### price\_exec\_create\_table

The fuel fee of calling the CreateTable() function, calculated in fuel units.

### price\_exec\_ecosys\_param

The fuel fee of calling the EcosysParam() function, calculated in fuel units.

### price\_exec\_eval

The fuel fee of calling the Eval() function, calculated in fuel units.

### price\_exec\_eval\_condition

The fuel fee of calling the EvalCondition() function, calculated in fuel units.

### price\_exec\_flush\_contract

The fuel fee of calling the FlushContract() function, calculated in fuel units.

### price\_exec\_has\_prefix

The fuel fee of calling the HasPrefix()function, calculated in fuel units.

### price\_exec\_id\_to\_address

The fuel fee of calling the IdToAddress() function, calculated in fuel units.

### price\_exec\_is\_object

The fuel fee of calling the IsObject() function, calculated in fuel units.

### price\_exec\_join

The fuel fee of calling the Join() function, calculated in fuel units.

### price\_exec\_json\_to\_map

The fuel fee of calling the JSONToMap() function, calculated in fuel units.

### price\_exec\_len

The fuel fee of calling the Len() function, calculated in fuel units.

### price\_exec\_perm\_column

The fuel fee of calling the PermColumn() function, calculated in fuel units.

### price\_exec\_perm\_table

The fuel fee of calling the PermTable() function, calculated in fuel units.

### price\_exec\_pub\_to\_id

The fuel fee of calling the PubToID() function, calculated in fuel units.

### price\_exec\_replace

The fuel fee of calling the Replace() function, calculated in fuel units.

### price\_exec\_sha256

The fuel fee of calling the Sha256() function, calculated in fuel units.

### price\_exec\_size

The fuel fee of calling the Size() function, calculated in fuel units.

### price\_exec\_substr

The fuel fee of calling theSubstr() function, calculated in fuel units.

### price\_exec\_sys\_fuel

The fuel fee of calling the SysFuel() function, calculated in fuel units.

### price\_exec\_sys\_param\_int

The fuel fee of calling the SysParamInt() function, calculated in fuel units.

### price\_exec\_sys\_param\_string

The fuel fee of calling the SysParamString() function, calculated in fuel units.

### price\_exec\_table\_conditions

The fuel fee of calling the TableConditions() function, calculated in fuel units.

### price\_exec\_unbind\_wallet

The fuel fee of calling the Deactivate() function, calculated in fuel units.

### price\_exec\_update\_lang

The fuel fee of calling the UpdateLang() function, calculated in fuel units.

### price\_exec\_validate\_condition

The fuel fee of calling the ValidateCondition() function, calculated in fuel units.

### price\_tx\_data

The fuel fee for every 1024 bytes of a transaction, calculated in fuel units.

### price\_tx\_size\_wallet

The fee by transaction size, its unit is the IBXC token.

Except the ecosystem 1, a block space usage fee will be incurred proportionally when implementing a contract in other ecosystems, and its rate is price\_tx\_size\_wallet IBXC tokens per megabyte.

### rollback\_blocks

Maximum number of blocks that can be rolled back when detecting a fork in the blockchain.
