Overview
Staking on the Polkadot 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 Polkadot network.
- Create a nomination request: select validators within the Polkadot 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 Polkadot 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 Polkadot, there are several networks available:
mainnet
— Polkadot mainnet.kusama
— Kusama mainnet.westend
— Testnet environment.
What's Next?
- Getting Started.
- Withdrawal.
- Sign and Broadcast Transaction.
- Staking API reference.
Updated 4 months ago