Skip to main content
On the Tron network, every transaction consumes either ENERGY (for smart contract interactions such as TRC-20 transfers) or BANDWIDTH (for basic TRX transfers). By staking TRX, you acquire these resources and assign them to a specific address, effectively giving that address zero-cost transaction capacity proportional to the amount staked. This is highly cost-effective for high-volume Tron wallets — use this endpoint to stake TRX and allocate ENERGY or BANDWIDTH to any address in your Finrock custody.

Request

Method: POST
URL: https://api.finrock.io/dav/v1/stake

Body Parameters

string
default:"TRX"
required
The blockchain ticker. Must be TRX for Tron staking.
string
required
The Tron address that will receive the ENERGY or BANDWIDTH resources from this staking operation. This should be the wallet address you want to benefit from reduced fees.
string
default:"ENERGY"
required
The type of Tron resource to obtain by staking. Must be one of:
  • ENERGY — used for TRC-20 token transfers and smart contract interactions
  • BANDWIDTH — used for basic TRX transfers
number
default:"100"
required
The amount of TRX to stake, expressed as a decimal number. For example, 100 stakes 100 TRX.

Headers

string
required
Your Finrock API key.
string
required
Your JWT bearer token. Format: Token {JWT}

Example Request

Response

A 200 response confirms that the staking transaction has been submitted and the resources are being allocated to the specified address. A 400 response indicates an invalid parameter or insufficient TRX balance.
object
Confirms the staking operation was submitted, including transaction details and the resource allocation.
object
Returned when required parameters are missing, the address is invalid, or the TRX balance is insufficient to cover the staking amount.
Staked TRX is locked and cannot be transferred until you initiate an unstaking operation. See the Unstake TRX endpoint to begin the withdrawal process.