GetChainParameters

All parameters that the blockchain committee can set.

This method will use 30 Compute Units.


Parameters

None.

Returns

chainParameter - ChainParameters[]: A list of dynamic parameter objects. Each dynamic parameter contains the following fields:

Field
Type
Description

key

string

parameter name

value

int64

parameter value

The following table introduces the meaning of each dynamic parameter:

ID
Parameter Name
Description
Current Value

0

getMaintenanceTimeInterval

The maintenance time interval

6 Hour

1

getAccountUpgradeCost

The cost of applying for SR account

9999TRX

2

getCreateAccountFee

When creating an account, if the creator’s account does not have enough bandwidth obtained through staking, then the value corresponding to this parameter needs to be burned to pay for the bandwidth

0.1TRX

3

getTransactionFee

Bandwidth unit price

0.001TRX

4

getAssetIssueFee

TRC10 asset issuance fee

1024TRX

5

getWitnessPayPerBlock

SR block generation reward

8TRX

6

getWitnessStandbyAllowance

The rewards given to the top 27 SRs and the following 100 partners, currently deprecated

115200TRX

7

getCreateNewAccountFeeInSystemContract

The cost of account creation in the system contract

1TRX

9

getAllowCreationOfContracts

Activate the Virtual Machine (VM)

1

10

getRemoveThePowerOfTheGr

Propose to remove the GR Genesis votes

1

11

getEnergyFee

Energy unit price

0.0001TRX

12

getExchangeCreateFee

The cost of trading pair creation

1024TRX

13

getMaxCpuTimeOfOneTx

The maximum execution time of one transaction

80ms

14

getAllowUpdateAccountName

Propose to allow duplicate account name

1

15

getAllowSameTokenName

Propose to allow duplicate token name

1

16

getAllowDelegateResource

Propose to allow resource delegation

1

17

getTotalEnergyLimit

Currently deprecated

50000000000

18

getAllowTvmTransferTrc10

Propose to allow the TRC-10 token transfer in smart contracts

1

19

getTotalEnergyCurrentLimit

Propose to modify the total Energy limit

180000000000 ENERGY

20

getAllowMultiSign

Propose to allow the initiation of multi-signature

1

21

getAllowAdaptiveEnergy

Propose to allow adaptive adjustment for total Energy

0

22

getUpdateAccountPermissionFee

The fee for updating account permission

100 TRX

23

getMultiSignFee

The fee for multi-signature

1 TRX

24

getAllowProtoFilterNum

Propose to enable protocol optimization

0

26

getAllowTvmConstantinople

Propose to support Constantinople Upgrade for TVM

1

29

getAdaptiveResourceLimitMultiplier

Propose to modify the adaptive Energy limit

1000

30

getChangeDelegation

Propose to support the decentralized vote dividend

1

31

getWitness127PayPerBlock

Propose to modify the block voting rewards given to the top 27 SRs and the following 100 partners

128 TRX

32

getAllowTvmSolidity059

Propose to allow TVM to support Solidity 0.5.9

1

33

getAdaptiveResourceLimitTargetRatio

Propose to modify the adaptive Energy limit target

10

35

getForbidTransferToContract

Propose to ban transferring TRX and TRC10 tokens to smart contracts via TransferContract or TransferAssetContract

0

39

getAllowShieldedTRC20Transaction

Propose to enable the function of verifying zero-knowledge proof in TVM

1

40

getAllowPBFT

Propose to enable PBFT consensus

0

41

getAllowTvmIstanbul

Propose to enable TVM Istanbul instruction

1

44

getAllowMarketTransaction

Propose to allow enabling DEX

0

45

getMarketSellFee

Propose to modify fees for creating orders on DEX

0

46

getMarketCancelFee

Propose to modify fees for cancelling orders on DEX

0

47

getMaxFeeLimit

Proposal to modify the upper limit of the fee of a smart contract

15000 TRX

48

getAllowTransactionFeePool

Proposal to open reward pool for transaction fee

0

49

getAllowOptimizeBlackHole

Proposal to optimize black hole accounts

1

51

getAllowNewResourceModel

Propose to enable the new resource model

0

52

getAllowTvmFreeze

Propose to enable the function to stake/unstake balance in virtual machine contracts during stake1.0 period

0

53

getAllowAccountAssetOptimization

Propose to enable the optimization of account assets

0

59

getAllowTvmVote

Propose to enable TVM contract voting

1

60

getAllowTvmCompatibleEvm

Propose to initiate EVM-compatible mode for TVM

0

61

getFreeNetLimit

Propose to modify the upper limit of free Bandwidth for each account

600 Bandwidth

62

getTotalNetLimit

Propose to modify the upper limit of total Bandwidth frozen

43200000000 Bandwidth

63

getAllowTvmLondon

Propose to support London Upgrade for TVM

1

65

getAllowHigherLimitForMaxCpuTimeOfOneTx

Propose to allow raising the maximum of MaxCpuTimeOfOneTx net parameters to 400

1

66

getAllowAssetOptimization

Propose to enable account asset optimization

1

67

getAllowNewReward

Propose to open a new reward algorithm

1

68

getMemoFee

Propose to modify the memo charges

1 TRX

69

getAllowDelegateOptimization

Propose to open the proxy storage optimization

1

70

getUnfreezeDelayDays

Propose to enable the new staking mechanism that allows specifying the lock-up days of staked assets

14

71

getAllowOptimizedReturnValueOfChainId

Propose to allow optimizing the return value of the chainid command

1

72

getAllowDynamicEnergy

Propose to allow enabling the dynamic energy model

1

73

getDynamicEnergyThreshold

Propose to modify the threshold of the dynamic energy model

5000000000

74

getDynamicEnergyIncreaseFactor

Propose to modify the increase factor (in basis points) of the dynamic energy model

2000

75

getDynamicEnergyMaxFactor

Propose to modify the maximum increase factor (in basis points) of the dynamic energy model

34000

76

getAllowTvmShangHai

Propose to allow TVM to support Shanghai upgrade

1

77

getAllowCancelAllUnfreezeV2

Propose to allow cancellation of all unstakings

1

78

getMaxDelegateLockPeriod

Propose to allow optimization of delegating resource lock and set the maximum lock period (number of blocks)

864000

79

getAllowOldRewardOpt

Propose to allow the optimization of the reward withdrawal algorithm for Phase 1

1

81

getAllowEnergyAdjustment

Propose to allow the adjustment on Energy consumption of TVM instructions

1

82

getMaxCreateAccountTxSize

Propose to allow setting an upper limit (in bytes) for the size of account creation transactions

1000

87

getAllowStrictMath

Propose to migrate operation from java.lang.Math to java.lang.StrictMath for cross-platform computational consistency

1

// Result
{
  "chainParameter": [
    {
      "key": "getMaintenanceTimeInterval",
      "value": 600000
    },
    {
      "key": "getAccountUpgradeCost",
      "value": 9999000000
    },
    {
      "key": "getCreateAccountFee",
      "value": 100000
    },
    {
      "key": "getTransactionFee",
      "value": 1000
    },
    {
      "key": "getAssetIssueFee",
      "value": 1024000000
    },
    {
      "key": "getWitnessPayPerBlock",
      "value": 8000000
    },
    {
      "key": "getWitnessStandbyAllowance",
      "value": 100000000
    },
    {
      "key": "getCreateNewAccountFeeInSystemContract",
      "value": 1000000
    },
    {
      "key": "getCreateNewAccountBandwidthRate",
      "value": 1
    },
    {
      "key": "getAllowCreationOfContracts",
      "value": 1
    },
    {
      "key": "getRemoveThePowerOfTheGr",
      "value": -1
    },
    {
      "key": "getEnergyFee",
      "value": 210
    },
    {
      "key": "getExchangeCreateFee",
      "value": 1024000000
    },
    {
      "key": "getMaxCpuTimeOfOneTx",
      "value": 80
    },
    {
      "key": "getAllowUpdateAccountName"
    },
    {
      "key": "getAllowSameTokenName",
      "value": 1
    },
    {
      "key": "getAllowDelegateResource",
      "value": 1
    },
    {
      "key": "getTotalEnergyLimit",
      "value": 180000000000
    },
    {
      "key": "getAllowTvmTransferTrc10",
      "value": 1
    },
    {
      "key": "getTotalEnergyCurrentLimit",
      "value": 180000000000
    },
    {
      "key": "getAllowMultiSign",
      "value": 1
    },
    {
      "key": "getAllowAdaptiveEnergy",
      "value": 1
    },
    {
      "key": "getTotalEnergyTargetLimit",
      "value": 125000000
    },
    {
      "key": "getTotalEnergyAverageUsage",
      "value": 16852
    },
    {
      "key": "getUpdateAccountPermissionFee",
      "value": 100000000
    },
    {
      "key": "getMultiSignFee",
      "value": 1000000
    },
    {
      "key": "getAllowAccountStateRoot"
    },
    {
      "key": "getAllowProtoFilterNum"
    },
    {
      "key": "getAllowTvmConstantinople",
      "value": 1
    },
    {
      "key": "getAllowTvmSolidity059",
      "value": 1
    },
    {
      "key": "getAllowTvmIstanbul",
      "value": 1
    },
    {
      "key": "getAllowShieldedTRC20Transaction",
      "value": 1
    },
    {
      "key": "getForbidTransferToContract"
    },
    {
      "key": "getAdaptiveResourceLimitTargetRatio",
      "value": 1
    },
    {
      "key": "getAdaptiveResourceLimitMultiplier",
      "value": 1
    },
    {
      "key": "getChangeDelegation",
      "value": 1
    },
    {
      "key": "getWitness127PayPerBlock",
      "value": 128000000
    },
    {
      "key": "getAllowMarketTransaction"
    },
    {
      "key": "getMarketSellFee"
    },
    {
      "key": "getMarketCancelFee"
    },
    {
      "key": "getAllowPBFT"
    },
    {
      "key": "getAllowTransactionFeePool"
    },
    {
      "key": "getMaxFeeLimit",
      "value": 15000000000
    },
    {
      "key": "getAllowOptimizeBlackHole",
      "value": 1
    },
    {
      "key": "getAllowNewResourceModel"
    },
    {
      "key": "getAllowTvmFreeze"
    },
    {
      "key": "getAllowTvmVote",
      "value": 1
    },
    {
      "key": "getAllowTvmLondon",
      "value": 1
    },
    {
      "key": "getAllowTvmCompatibleEvm"
    },
    {
      "key": "getAllowAccountAssetOptimization"
    },
    {
      "key": "getFreeNetLimit",
      "value": 600
    },
    {
      "key": "getTotalNetLimit",
      "value": 43200000000
    },
    {
      "key": "getAllowHigherLimitForMaxCpuTimeOfOneTx",
      "value": 1
    },
    {
      "key": "getAllowAssetOptimization",
      "value": 1
    },
    {
      "key": "getAllowNewReward",
      "value": 1
    },
    {
      "key": "getMemoFee",
      "value": 1000000
    },
    {
      "key": "getAllowDelegateOptimization",
      "value": 1
    },
    {
      "key": "getUnfreezeDelayDays",
      "value": 14
    },
    {
      "key": "getAllowOptimizedReturnValueOfChainId",
      "value": 1
    },
    {
      "key": "getAllowDynamicEnergy",
      "value": 1
    },
    {
      "key": "getDynamicEnergyThreshold",
      "value": 5000000000
    },
    {
      "key": "getDynamicEnergyIncreaseFactor",
      "value": 2000
    },
    {
      "key": "getDynamicEnergyMaxFactor",
      "value": 34000
    },
    {
      "key": "getAllowTvmShangHai",
      "value": 1
    },
    {
      "key": "getAllowCancelAllUnfreezeV2",
      "value": 1
    },
    {
      "key": "getMaxDelegateLockPeriod",
      "value": 864000
    },
    {
      "key": "getAllowOldRewardOpt",
      "value": 1
    },
    {
      "key": "getAllowEnergyAdjustment",
      "value": 1
    },
    {
      "key": "getMaxCreateAccountTxSize",
      "value": 1000
    },
    {
      "key": "getAllowStrictMath",
      "value": 1
    },
    {
      "key": "getConsensusLogicOptimization",
      "value": 1
    },
    {
      "key": "getAllowTvmCancun",
      "value": 1
    },
    {
      "key": "getAllowTvmBlob",
      "value": 1
    }
  ]
}
curl https://mainnet.tron.validationcloud.io/v1/<YOUR_API_KEY_HERE>/wallet/getchainparameters \
    -X GET \
    -H "Content-Type: application/json"

Last updated

Was this helpful?