Overview
Staking on the Avail network, also referred to bonding, using the Staking API is possible in two ways:
- By staking directly.
- By staking via a nomination pool.
The direct staking process consists of several steps:
- Create a bond request: submit a bond to the Avail network.
- Create a nomination request: select validators within the Avail network.
- Add a staking proxy: delegate your staking rights to another account, which can then sign transactions on your behalf (optional).
To stake via a nomination pool:
- Create a claim permission request to allow your nomination pool to bond and nominate on your behalf.
- Create a bond request to the Avail network.
- Create a claim payout request.
Get an authentication token to start using Staking API in any of the flows.
We provide two distinct endpoints for testing and production environments.
- PRODUCTION: https://api.p2p.org
- TESTING: https://api-test.p2p.org
For Avail, there are several networks available:
mainnet
— Avail mainnet.testnet
— Turing environment.
What's Next?
- Getting Started.
- Withdrawal.
- Sign and Broadcast Transaction.
- Staking API reference.
Updated 2 months ago