Log in
Menu

TRON getchainparameters Explained: All 81 Keys, Units and Values

What wallet/getchainparameters returns: 81 keys in five groups, units in SUN, ms and blocks, why 18 keys have no value, and a tested Node.js reader.

Category
Guides
Published
Reading time
8 min

wallet/getchainparameters returns the current settings of the TRON network as one flat list of key and value pairs. As of Nov 23, 2026 the list holds 81 keys: fees in SUN, times in milliseconds, lock periods in blocks and on/off flags as 0 or 1. Eighteen keys come back with no value at all, which means 0, and one key is negative.

Below: how the answer is built, the five groups the keys fall into, the values that price everyday transactions, and a short Node.js reader we ran against the live endpoint.

What the endpoint returns

The call takes no parameters and creates no transaction, so it costs nothing. On TronGrid it is https://api.trongrid.io/wallet/getchainparameters, and the answer looks like {"chainParameter":[{"key":"getEnergyFee","value":100}, ...]}.

The list is assembled in one method, getChainParameters in Wallet.java of java-tron. We counted 81 active setKey calls there (three more, for shielded transactions, are commented out) on the master branch, and the live answer at 05:57 UTC on Nov 23, 2026 had the same 81 keys, none missing and none extra.

Three things to know before reading it:

  • Keys are getter names, not proposal numbers. getEnergyFee is network parameter #11 in the network parameters page, getMaxFeeLimit is #47, getUnfreezeDelayDays is #70. A committee vote changes a parameter by number; the API reports it by name.
  • Zero is not printed. value is an int64 in protobuf, and proto3 JSON leaves out fields equal to their default. The TRON documentation says the same: treat a missing value as 0.
  • Not every key is a vote result. getTotalEnergyAverageUsage and getTotalEnergyCurrentLimit describe network state, and getRemoveThePowerOfTheGr is a one-time switch: java-tron’s MaintenanceManager removes the genesis representatives’ votes when it is 1 and then stores -1, so -1 means “already done”. It is the only negative value in the list.

The 81 keys in five groups

The API does not group anything; this split is ours, by what each key controls. Values are from the Nov 23, 2026 snapshot.

Group Keys Non-zero Examples
Fees and caps (SUN) 13 11 getEnergyFee 100, getTransactionFee 1,000, getMemoFee 1,000,000, getMaxFeeLimit 15,000,000,000
Resources 14 13 getFreeNetLimit 600, getTotalEnergyLimit 180,000,000,000, getMaxCpuTimeOfOneTx 80
Governance and staking 9 9 getMaintenanceTimeInterval 21,600,000, getUnfreezeDelayDays 14, getMaxDelegateLockPeriod 864,000
Virtual machine flags (getAllowTvm..., getAllowOptimizeTvmStorage...) 16 13 getAllowTvmCancun 1, getAllowTvmPrague 1, getAllowTvmFreeze absent
Other feature flags (incl. getConsensusLogicOptimization) 29 17 getAllowMultiSign 1, getAllowDynamicEnergy 1, getAllowPBFT absent

The two zero fees are getMarketSellFee and getMarketCancelFee: the on-chain market they belong to is switched off (getAllowMarketTransaction absent). The one zero in the resource group is getTotalEnergyAverageUsage, which only matters while the old adaptive energy model is on, and getAllowAdaptiveEnergy is absent. That is also why getTotalEnergyCurrentLimit equals getTotalEnergyLimit, 180,000,000,000 energy a day.

The values that price everyday transactions

These keys turn into the TRX you see burned in a receipt. Raw values as returned, as of Nov 23, 2026; 1 TRX = 1,000,000 SUN.

Key Raw value Unit What it means
getEnergyFee 100 SUN per energy unit Burned when a contract call has no energy
getTransactionFee 1,000 SUN per bandwidth unit Burned when bandwidth is not covered
getFreeNetLimit 600 bandwidth per day Free allowance of every activated address
getCreateAccountFee 100,000 SUN 0.1 TRX, part of activating a new address
getCreateNewAccountFeeInSystemContract 1,000,000 SUN 1 TRX for activating an address with a TRX or TRC-10 transfer
getMemoFee 1,000,000 SUN 1 TRX for a transaction with a note
getMultiSignFee 1,000,000 SUN 1 TRX for a transaction with more than one signature
getUpdateAccountPermissionFee 100,000,000 SUN 100 TRX to change account permissions
getMaxFeeLimit 15,000,000,000 SUN The highest fee_limit a contract call may set: 15,000 TRX

A worked example with the first two rows. A standard USDT transfer uses 64,285 energy and 345 bandwidth (baseline block 88,246,109 on Nov 23, 2026). With no resources on the address:

64,285 × 100 + 345 × 1,000 = 6,773,500 SUN = 6.7735 TRX burned.

Renting the energy part instead costs 1.93 TRX at 30 SUN per unit for 1 hour on Dec 3, 2026; the rate changes, the exact price is shown in the service before you pay, and reference prices are on the pricing page. How the bandwidth part behaves is in TRON bandwidth cost, and the memo charge in the memo fee article.

Times, blocks and the less obvious keys

Units change from key to key, and the name rarely says which one:

  • getMaintenanceTimeInterval 21,600,000 is in milliseconds: 6 hours. Votes are counted and approved proposals take effect at these maintenance points.
  • getProposalExpireTime 259,200,000 is in milliseconds: 3 days of voting.
  • getUnfreezeDelayDays 14 is in days: the wait after unstaking under Stake 2.0, covered in unstaking TRX.
  • getMaxDelegateLockPeriod 864,000 is in blocks of 3 seconds: 864,000 × 3 = 2,592,000 seconds, 30 days. Locks are explained in how energy delegation works.
  • getMaxCpuTimeOfOneTx 80 is in milliseconds: the time limit for executing one contract call.
  • getMaxCreateAccountTxSize 1,000 is in bytes: java-tron’s BandwidthProcessor rejects a transaction that activates an account if it is larger than this, signatures not counted.
  • getWitnessPayPerBlock 8,000,000 and getWitness127PayPerBlock 128,000,000 are in SUN: per the documentation, 8 TRX to the representative that produces a block and 128 TRX per block shared by vote among the top 127.
  • getAccountUpgradeCost 9,999,000,000 SUN is the 9,999 TRX to apply as a representative candidate; getAssetIssueFee and getExchangeCreateFee are 1,024 TRX each.
  • getCreateNewAccountBandwidthRate 1 and getAdaptiveResourceLimitMultiplier 1,000 are plain numbers without a currency.

Dynamic energy is on (getAllowDynamicEnergy 1, getDynamicEnergyMaxFactor 34,000); how it and the other votes move transfer prices is in committee proposals and fees.

Flags: 29 of 44 switched on

Keys that start with getAllow or getForbid are switches: 1 means on, a missing value means off. As of Nov 23, 2026, 29 of the 44 are on. Among them are the features most wallets rely on (getAllowMultiSign, getAllowDelegateResource, getAllowCancelAllUnfreezeV2) and virtual machine upgrades named after Ethereum releases (getAllowTvmLondon, getAllowTvmShangHai, getAllowTvmCancun, getAllowTvmPrague, getAllowTvmOsaka). Off are, for example, getAllowTvmFreeze, getAllowTvmCompatibleEvm, getAllowPBFT, getAllowTransactionFeePool and getForbidTransferToContract.

A flag that is on is not proof that something is cheaper or safer; it only says the code path is active. What changed last month is summarized in the October network update.

Reading the response in code

Illustrative example; we ran it on Node.js 22.23.2 against TronGrid on Nov 23, 2026:

// illustrative example: read getchainparameters, treat a missing value as 0 (Node.js 18+)
const res = await fetch('https://api.trongrid.io/wallet/getchainparameters');
const { chainParameter } = await res.json();
const p = Object.fromEntries(chainParameter.map(({ key, value }) => [key, value ?? 0]));
const flags = chainParameter.filter(({ key }) => /^get(Allow|Forbid)/.test(key));

console.log({
  keys: chainParameter.length,
  withoutValue: chainParameter.filter((x) => !('value' in x)).length,
  negative: chainParameter.filter((x) => x.value < 0).map((x) => x.key),
  flagsOn: `${flags.filter(({ key }) => p[key] > 0).length} of ${flags.length}`,
  energySun: p.getEnergyFee,
  bandwidthSun: p.getTransactionFee,
  usdtBurnTrx: (64285 * p.getEnergyFee + 345 * p.getTransactionFee) / 1e6,
  maxFeeLimitTrx: p.getMaxFeeLimit / 1e6,
  maintenanceHours: p.getMaintenanceTimeInterval / 3.6e6,
  maxLockDays: (p.getMaxDelegateLockPeriod * 3) / 86400,
  proposalDays: p.getProposalExpireTime / 864e5,
});

It printed keys: 81, withoutValue: 18, negative: [ 'getRemoveThePowerOfTheGr' ], flagsOn: '29 of 44', energySun: 100, bandwidthSun: 1000, usdtBurnTrx: 6.7735, maxFeeLimitTrx: 15000, maintenanceHours: 6, maxLockDays: 30, proposalDays: 3. The ?? 0 on the third line is the whole trick: without it, p.getAllowPBFT is undefined and every comparison with it is false.

How to use the parameters in your own code

  1. Read them, do not hardcode them. Fetch the list at start-up and keep the burn prices, the free bandwidth and getMaxFeeLimit from the answer.
  2. Default missing values to 0 before any arithmetic or comparison.
  3. Convert units per key: SUN to TRX by dividing by 1,000,000, milliseconds to hours by 3,600,000, blocks to seconds by multiplying by 3.
  4. Refresh after maintenance. Values change only at a maintenance point, every 6 hours, and only after a proposal passes. Our two snapshots at 05:42 and 05:57 UTC on Nov 23, 2026 were identical, and so was a Nov 20 snapshot.
  5. Pair it with per-address data. Network prices say what a shortfall costs; what an address has is in getaccountresource, and what a call needs comes from an energy estimate. Ordering energy from code is on the API page.

FAQ

Why do some keys have no value? Their value is 0, and zero fields are not printed in the JSON. Eighteen keys were like that on Nov 23, 2026.

Does calling getchainparameters cost energy or TRX? No. It reads node state and creates no transaction.

How often do the numbers change? Only when a committee proposal is approved, and then at the next maintenance point. As of Nov 23, 2026 there were 108 proposals in total, 51 of them approved.

Why is getRemoveThePowerOfTheGr equal to -1? java-tron sets it to -1 after removing the genesis representatives’ votes, so the one-time action cannot run twice. It has no effect on fees.

Rent energy

UsdtPull sends energy to your address for a set period. The transfer goes through without burning TRX, your keys stay with you and the energy returns on its own afterwards.

Energy rentalUSDT TRC-20
  1. Address and period

    In the app, you enter your wallet address, the amount of energy and the rental period.

  2. Energy on your address

    Energy lands on your address. The delegation is visible in the block explorer.

  3. No TRX burned

    The transfer uses the rented energy instead of your TRX. When the period ends, the energy returns on its own.

Related posts

  1. Guides

    How to Decode a USDT TRC-20 Transfer Event From Raw TRON Data

    Decode a USDT transfer on TRON: input data a9059cbb, the Transfer log from gettransactioninfobyid, TronGrid decoded events and a tested Node.js script.

    7 min
  2. Guides

    How Long Does a USDT TRC-20 Transfer Take? Each Stage Measured

    A USDT TRC-20 transfer reaches a block in seconds and is final in about a minute. Each stage timed on 340 real transfers, plus what to do if yours is late.

    8 min
  3. Guides

    How Energy Delegation Works on TRON

    TRON energy delegation passes staked energy to another address without moving TRX. How DelegateResource, locks and reclaim work, with a real transaction.

    9 min