Docs
Docs
Home
Getting Started
Agent Tooling
CLI
Supported Chains
Acala
Aptos
Arbitrum
Arc
Asset Hub
Astar
Avalanche
Base
Berachain
Bifrost
Binance Smart Chain
Bittensor
Blast
Boba Network
Bridge Hub
Celo
Centrifuge
Chiliz
Cronos
Enjin
Ethereum
Etherlink
Flow EVM Gateway
Gnosis
Hydration
Hyperliquid
Immutable
Ink
IoTeX
Kusama
Linea
LISK
Manta Atlantic
Manta Pacific
Mantle
MegaETH
Monad
Movement
Neuroweb
opBNB
Optimism
Plasma
Polkadot
Polygon
Pulsechain
Robinhood
Ronin
Scroll
Sonic
Starknet
Taiko
Tempo
Sui
TRON
Unichain
Viction
World Chain
XDC Network
XX Network
Zetachain
zkSync Era
Zora
Supported ChainsTRONTRON HTTP API

wallet/getchainparameters - Get TRON Chain Para...

Get current TRON blockchain parameters including fees, voting settings, and resource costs via Dwellir's optimized RPC endpoint.

TRON RPC endpoint: endpoint URLs, plans and pricing.

Get current blockchain parameters including fees, voting settings, and resource configurations. This endpoint returns the governance-controlled parameters that define TRON's fee structure, resource limits, and feature flags.

Overview

TRON's chain parameters are set through Super Representative voting and governance proposals. They control critical aspects of the network including energy prices, bandwidth allocation, account creation fees, and TVM feature enablement. Applications that interact with TRON should query these parameters to calculate accurate transaction costs and verify network capabilities.

Fee planning for payment integrators

If you are building a payment system on TRON (especially for USDT TRC-20 transfers), the getEnergyFee and getTransactionFee parameters are essential for accurate cost estimation. Combine this with wallet/estimateenergy for precise per-transaction fee forecasting.

Endpoint

Text
POST /wallet/getchainparameters
cURL request
# Get chain parameters
    curl -X POST https://api-tron-mainnet.n.dwellir.com/YOUR_API_KEY/wallet/getchainparameters \
      -H "Content-Type: application/json" \
      -d '{}'

    # Parse specific parameter (using jq)
    curl -X POST https://api-tron-mainnet.n.dwellir.com/YOUR_API_KEY/wallet/getchainparameters \
      -H "Content-Type: application/json" \
      -d '{}' | jq '.chainParameter[] | select(.key == "getEnergyFee")'

Implementation Examples

Bash
# Get chain parameters
curl -X POST https://api-tron-mainnet.n.dwellir.com/YOUR_API_KEY/wallet/getchainparameters \
  -H "Content-Type: application/json" \
  -d '{}'

# Parse specific parameter (using jq)
curl -X POST https://api-tron-mainnet.n.dwellir.com/YOUR_API_KEY/wallet/getchainparameters \
  -H "Content-Type: application/json" \
  -d '{}' | jq '.chainParameter[] | select(.key == "getEnergyFee")'

Use Cases

  • Fee Calculation: Calculate transaction costs before execution
  • Resource Planning: Understand energy and bandwidth pricing
  • Network Monitoring: Track parameter changes over time
  • DApp Configuration: Adjust application based on network settings
  • Governance Tracking: Monitor voting and proposal parameters

Related Methods

  • wallet/getaccountresource - Get account resources
  • wallet/getnodeinfo - Get node information
  • wallet/estimateenergy - Estimate energy consumption
  • eth_gasPrice - EVM-compatible gas price (derived from energy price)

wallet/getnodeinfo

Get comprehensive TRON node information including version, block height, configuration, and peer connections via Dwellir's enterprise RPC endpoint.

eth_blockNumber

Get the current block height on TRON. Essential for syncing dApps, monitoring transaction confirmations, and blockchain state tracking.

On this page

OverviewEndpointImplementation ExamplesUse CasesRelated Methods