Pharos
This section covers Pharos native staking integrations using the Stakely Staking API. It includes Pharos-specific notes, transaction signing examples, and the native delegation flows supported by Stakely.
Useful links
- Pharos delegation documentation (protocol overview and delegation concepts)
- Pharos RPC (example):
https://rpc.pharos.xyz
What you will find in this section
- Signing transactions: how to sign Pharos (EVM) transactions returned by the crafting endpoints, with examples for common signing setups.
- Native staking: end-to-end flows and endpoints for delegating, undelegating, withdrawing after the unlock window, claiming rewards, and compounding on Pharos.
Notes
- Pharos integrations require specifying the correct
X-NETWORKfor the target network (typically the chain ID, e.g.1672for Pharos mainnet). The API provides a dedicated endpoint to list all available Pharos networks and their correspondingX-NETWORKvalues. - All staking operations are executed on-chain. Stakely prepares the transaction payloads, while signing is performed by your application using your preferred signing method.
- After undelegation, the protocol enforces a withdraw window of 84 epochs (
DEFAULT_WITHDRAW_WINDOW) before principal can be withdrawn; use the stake balance endpoint to inspectpendingUnstakeandpendingWithdrawStake.