Overview
Staking on the TRON network using the Staking API is conducted via native blockchain operations — no smart contracts involved. Users participate by freezing TRX and voting for a Super Representative (SR), with all staking logic handled at the protocol level.
To start staking TRX using the Staking API:
- Create the freezing request to gain voting power.
- Create the voting request to assign it to SRs via vote transactions.
The unstaking requires undelegation followed by unfreezing.
Get an authentication token to start using the Staking API.
We provide two distinct endpoints for testing and production environments:
- PRODUCTION: https://api.p2p.org
- TESTING: https://api-test.p2p.org
For TRON, the following networks are available:
mainnet— mainnettestnet-nile— Nile testnet
Note that TRON uses native staking
Voting is supported only on mainnet. On testnet (Nile), mocked responses are used.
What's next?
Updated 19 days ago