Overview
Staking API enables staking in the Ethereum network. The staking process consists of several steps:
- Create Staking Request: set up nodes for staking using P2P infrastructure.
- Check Request Status: check the status of the node set-up operation.
- Prepare Staking Transaction: construct a serialized transaction to deposit the stake amount with a smart contract.
The stake amount can be deposited either by utilizing the functionalities of P2P smart contract or by interacting with Ethereum deposit smart contract directly.
To start using Staking API in any of the flows, get an authentication token.
We provide distinct endpoints for testing and production environments. The test environment is linked to the Holesky network (Ethereum).
- PRODUCTION: https://api.p2p.org
- TESTING ON HOLESKY: https://api-test-holesky.p2p.org
What's Next?
- Getting Started.
- Withdrawal.
- Staking API reference.
Updated 6 months ago