Get Started
Through InfStones' Safe Stake SDK, we offer seamless integration with Safe Stake services, allowing users to easily manage their staking activities across various blockchain protocols via API calls.
1 Create Access Token
You need to have an InfStones platform account first, sign up, and log in to InfStones platform.
Once you are logged in to your InfStones dashboard, click the dropdown button on the top-right corner and select the Access Token
, then click Create Access Token
.
Give the access token a name, and click Create
.
Copy your access token, all requests you send using the Safe Stake SDK need to be authenticated using your access token.
Please save this access token somewhere safe and accessible. For security reasons, you won't be able to view it again through your InfStones account. If you lose this access token, you'll need to create a new one.
2 Use Staking API
We support the following features through Staking API: stake
, unstake
, and claim reward
.
2.1 Stake
Through stake
API, we assemble the raw transaction required for the stake action and return it to users. Users can then sign the raw data using their own wallet's private key and broadcast it to complete the stake process.
2.2 Unstake
Through unstake
API, we assemble the raw transaction required for the unstake action and return it to users. Users can then sign the raw data using their own wallet's private key and broadcast it to complete the unstake process.
2.3 Claim Reward
Through claim
API, we assemble the raw transaction required for the claim reward action and return it to users. Users can then sign the raw data using their own wallet's private key and broadcast it to complete the claim reward process.
2.4 Supported Protocols
We are now supporting the Staking API on the following blockchain protocols.
3 Use Reporting API
We support the following features through Reporting API: get asset
and get history
.
3.1 Get Asset
Asset aggregates critical staking-related information, including active stake, total rewards, unstaking details, and more. An asset
will be created once the user completes the staking. Learn more.
3.2 Get History
History provides users with the historical data of their staking and reward activities. Learn more.
Updated about 1 month ago