Stader
Supported Chains
Available on Ethereum, Binance and Polygon
Available Endpoints:
Click on the endpoint to jump to the section with full details
/getrewards
GET
- Get the initial staked amount and current staked value by a specified user address./getstake
GET
-Get the stake amount for a particular address./getwithdrawalrequests
GET
- Retrieves all withdrawal requests made by a specified address./getwithdrawalstatus
GET
- Get the status of a withdrawal request made by a specified address./getallowance
GET
- Get the approved allowance amount set by the owner for the spender./Stake
POST
- Initiate a transaction to stake on Stader protocol./requestwithdrawal
POST
- Initiate a withdrawal request on Stader./approvewithdrawal
POST
- Initiate a transaction to approve the withdrawal request from a specified address./claim
POST
- Initiate a transaction to claim staked ETH after a withdrawal request./decreaseallowance
POST
- Initiate a transaction to decrease the allowance of staked token on the spender’s account./increaseallowance
POST
- Initiate a transaction to increase the allowance of staked token on the spender’s account.
Also see Error Handling Details
Liquid Staking IDs
Many endpoints have a parameter where you can provide a Liquid Staking ID.
Below is a list of Liquid Staking IDs related to Stader. Please see the Liquid Staking ID page for a complete Liquid Staking ID list and more information.
Stader
Ethereum
2
Stader
Binance
56
Stader
Polygon
137
Stader
Binance Testnet
97
Endpoint Details
/getapr
Get the Stader staking APR.
GET
https://api.expand.network/liquidstaking/getapr
Query Parameters
rpc
String
Remote procedural call URL.
liquidStakingId
String
/getrewards
Get the initial staked amount and current staked value by a specified user address.
GET
https://api.expand.network/liquidstaking/getrewards
Query Parameters
rpc
String
Remote procedural call URL.
liquidStakingId
String
address*
String
Public address of the user.
/getstake
Get the stake amount for a particular address.
GET
https://api.expand.network/liquidstaking/getstake
Query Parameters
rpc
String
Remote procedural call URL.
liquidStakingId
String
address*
String
Public address of the user.
/getwithdrawalrequests
Get all the withdrawal requests(NFT ids) made by a specified address.
GET
https://api.expand.network/liquidstaking/getwithdrawalrequests
Query Parameters
rpc
String
Remote procedural call URL.
liquidStakingId
String
address*
String
Public address of the user.
/getwithdrawalstatus
Get the status of a withdrawal request made by a specified address.
GET
https://api.expand.network/liquidstaking/getwithdrawalstatus
Query Parameters
rpc
String
Remote procedural call URL.
liquidStakingId
String
address*
String
The address of user
requestId*
String
The token id of NFT , which is minted upon request, to claim the rewards.
/getallowance
Get the approved allowance amount set by the owner for the spender.
GET
https://api.expand.network/liquidstaking/getallowance
Query Parameters
rpc
String
Remote procedural call URL.
liquidStakingId
String
owner*
String
Public address of the owner of token.
tokenAddress*
String
Token contract address.
spender*
String
Public address of the spender of token.
/stake
Initiate a transaction to stake on Stader.
POST
https://api.expand.network/liquidstaking/stake
Request Body
rpc
String
Remote procedural call URL.
liquidStakingId
String
from*
String
Public address of the owner of this request.
amount*
String
Amount of token to stake.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
gasPriority
String
low, medium, or high.
With gasPriority:
/increaseallowance
Initiate a transaction to increase the allowance of staked token on the spender’s account.
POST
https://api.expand.network/liquidstaking/increaseallowance
Request Body
rpc
String
Remote procedural call URL.
liquidStakingId
String
from*
String
Public address of the owner of this request.
tokenAddress*
String
Token contract address.
spender*
String
Address of spender.
addedAmount*
String
Amount of tokens to increase allowance.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
gasPriority
String
low, medium, or high.
With gasPriority:
/decreaseallowance
Initiate a transaction to decrease the allowance of staked token on the spender’s account.
POST
https://api.expand.network/liquidstaking/decreaseallowance
Request Body
rpc
String
Remote procedural call URL.
liquidStakingId
String
from*
String
Public address of the owner of this request.
tokenAddress*
String
Token contract address.
spender*
String
Address of spender.
subtractedAmount*
String
Amount of tokens to decrease allowance.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
gasPriority
String
low, medium, or high.
With gasPriority:
/approvewithdrawal
Initiate a transaction to approve the withdrawal request from a specified address.
POST
https://api.expand.network/liquidstaking/approvewithdrawal
Request Body
rpc
String
Remote procedural call URL.
liquidStakingId
String
from*
String
Public address of the owner of this request.
amount*
String
Amount of tokens to approve withdrawal.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
gasPriority
String
low, medium, or high.
With gasPriority:
/requestwithdrawal
Initiate a transaction to request a withdrawal on Stader.
POST
https://api.expand.network/liquidstaking/requestwithdrawal
Request Body
rpc
String
Remote procedural call URL.
liquidStakingId
String
from*
String
Public address of the owner of this request.
amount*
String
Amount of tokens to request withdrawal.
ownerAddress*
String
Public address of the owner.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
gasPriority
String
low, medium, or high.
With gasPriority:
/claim
Initiate a transaction to burn the NFT, which is minted upon request, and to claim the rewards.
POST
https://api.expand.network/liquidstaking/claim
Request Body
rpc
String
Remote procedural call URL.
liquidStakingId
String
from*
String
Public address of the owner of this request.
requestId*
String
The token id of NFT , which is minted upon request, to claim the rewards.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
gasPriority
String
low, medium, or high.
With gasPriority:
Error Handling Details
400 (Bad Request)
Indicates the request is invalid or missing the required parameters. The msg field will contain details about the error.
401 (Unauthorised)
Indicates the request lacks valid authentication credentials (API key). Ensure that you provide a valid API key in the request headers.
404 (Not Found)
Indicates that the specified endpoint or resource does not exist.
500 (Server Error)
Indicates an internal server error.
Last updated