Supported Chains
Available on Avalanche
Available Endpoints:
Click on the endpoint to jump to the section with full details
getapr GET
- Get the Stader staking APR.
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.
getallowance GET
- Get the approved allowance amount set by the owner for the spender.
Stake POST
- Initiate a transaction to stake on Stader protocol.
claim POST
- Initiate a transaction to claim staked ETH after a withdrawal request.
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.
Endpoint Details
/getapr
Get the Stader staking APR.
GET
https://api.expand.network/liquidstaking/getapr
Query Parameters
Sample Request Sample Response
Copy https://api.expand.network/liquidstaking/getapr?liquidStakingId=43114
Copy {
"status" : 200 ,
"msg" : "success" ,
"data" : {
"timeUnix" : "1726234694" ,
"apr" : "5.46" ,
"blockNumber" : "50483509"
}
}
back to top
/getrewards
Get the initial staked amount and current staked value by a specified user address.
GET
https://api.expand.network/liquidstaking/getrewards
Query Parameters
Sample Request Sample Response
Copy https://api.expand.network/liquidstaking/getrewards?liquidStakingId=43114&address=0x10137E2EC5907ceA3151FB00C3Ecd9B48E22B82B
Copy {
"status" : 200 ,
"msg" : "success" ,
"data" : {
"stakedAmount" : "17208357980018603" ,
"stakeValue" : "20073834784345071"
}
}
back to top
/getstake
Get the stake amount for a particular address.
GET
https://api.expand.network/liquidstaking/getstake
Query Parameters
Sample Request Sample Response
Copy https://api.expand.network/liquidstaking/getstake?address=0x10137E2EC5907ceA3151FB00C3Ecd9B48E22B82B&liquidStakingId=43114
Copy {
"status" : 200 ,
"msg" : "success" ,
"data" : {
"sAVAX" : "17208357980018603"
}
}
back to top
/getwithdrawalrequests
Get all the withdrawal requests(NFT ids) made by a specified address.
GET
https://api.expand.network/liquidstaking/getwithdrawalrequests
Query Parameters
Sample Request Sample Response
Copy https://api.expand.network/liquidstaking/getwithdrawalrequests?liquidStakingId=43114&address=0xc1d423aE49fba66AA713610811d13e0BECf213c6
Copy {
"status" : 200 ,
"msg" : "success" ,
"data" : [
"0"
]
}
back to top
/getwithdrawalstatus
Get the status of a withdrawal request made by a specified address.
GET
https://api.expand.network/liquidstaking/getwithdrawalstatus
Query Parameters
Sample Request Sample Response
Copy https://api.expand.network/liquidstaking/getwithdrawalstatus?liquidStakingId=43114&requestId=0&address=0xc1d423aE49fba66AA713610811d13e0BECf213c6
Copy {
"status" : 200 ,
"msg" : "success" ,
"data" : {
"amountOfsAVAX" : "378877936578560186" ,
"withdrawalTime" : "1726024008"
}
}
back to top
/getallowance
Get the approved allowance amount set by the owner for the spender.
GET
https://api.expand.network/liquidstaking/getallowance
Query Parameters
Sample Request Sample Response
Copy https://api.expand.network/liquidstaking/getallowance?liquidStakingId=43114&owner=0x6427B4b028c4A1db5fb5dAf80C22e81115457230&tokenAddress=0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE&spender=0x6427B4b028c4A1db5fb5dAf80C22e81115457230
Copy {
"status" : 200 ,
"msg" : "success" ,
"data" : {
"allowance" : "53880000000000000"
}
}
back to top
/stake
Initiate a transaction to stake on Stader.
POST
https://api.expand.network/liquidstaking/stake
Request Body
Sample Request Sample Response
Copy {
"amount" : "1000000000000000000" ,
"liquidStakingId" : "43114" ,
"from" : "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402" ,
"gas" : "40000"
}
Copy {
"status" : 200 ,
"msg" : "success" ,
"data" : {
"chainId" : "43114" ,
"from" : "0xefdc8FC1145ea88e3f5698eE7b7b432F083B4246" ,
"to" : "0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE" ,
"data" : "0x5bcb2fc6" ,
"value" : "1000000000000000000" ,
"gas" : "40000" ,
"referenceId" : "39bb3a38c06b4543a4bbf48985a0bcba"
}
}
Sample Request Sample Response
With gasPriority:
Copy {
"amount" : "1000000000000000000" ,
"liquidStakingId" : "43114" ,
"from" : "0xefdc8FC1145ea88e3f5698eE7b7b432F083B4246" ,
"gas" : "40000" ,
"gasPriority" : "low"
}
With gasPriority:
Copy {
"status" : 200 ,
"msg" : "success" ,
"data" : {
"chainId" : "43114" ,
"from" : "0xefdc8FC1145ea88e3f5698eE7b7b432F083B4246" ,
"to" : "0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE" ,
"data" : "0x5bcb2fc6" ,
"value" : "1000000000000000000" ,
"gas" : "40000" ,
"gasPrice" : "25000000000" ,
"referenceId" : "39bb3a38c06b4543a4bbf48985a0bcba"
}
}
back to top
/requestwithdrawal
Initiate a transaction to request a withdrawal on Stader.
POST
https://api.expand.network/liquidstaking/requestwithdrawal
Request Body
Sample Request Sample Response
Copy {
"amount" : "100000" ,
"liquidStakingId" : "43114" ,
"from" : "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402" ,
"gas" : "40000"
}
Copy {
"status" : 200 ,
"msg" : "success" ,
"data" : {
"chainId" : "43114" ,
"from" : "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402" ,
"to" : "0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE" ,
"data" : "0xc9d2ff9d00000000000000000000000000000000000000000000000000000000000186a0" ,
"gas" : "40000" ,
"value" : "0" ,
"referenceId" : "575c082d45a44ced9d64017437cdfbae"
}
}
Sample Request Sample Response
With gasPriority:
Copy {
"amount" : "100000" ,
"liquidStakingId" : "43114" ,
"from" : "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402" ,
"gas" : "40000" ,
"gasPriority" : "low"
}
With gasPriority:
Copy {
"status" : 200 ,
"msg" : "success" ,
"data" : {
"chainId" : "43114" ,
"from" : "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402" ,
"to" : "0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE" ,
"data" : "0xc9d2ff9d00000000000000000000000000000000000000000000000000000000000186a0" ,
"gas" : "40000" ,
"value" : "0" ,
"gasPrice" : "25000000000" ,
"referenceId" : "71d1eb3a86254ccb9d2da22c677edc31"
}
}
back to top
/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
Sample Request Sample Response
Copy {
"liquidStakingId" : "43114" ,
"requestId" : "0" ,
"from" : "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402" ,
"gas" : "400000"
}
Copy {
"status" : 200 ,
"msg" : "success" ,
"data" : {
"chainId" : "43114" ,
"from" : "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402" ,
"to" : "0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE" ,
"data" : "0xdb006a750000000000000000000000000000000000000000000000000000000000000000" ,
"gas" : "400000" ,
"value" : "0" ,
"referenceId" : "193cb54ca10748b1a6983b876bff3ace"
}
}
Sample Request Sample Response
With gasPriority:
Copy {
"liquidStakingId" : "43114" ,
"requestId" : "0" ,
"from" : "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402" ,
"gasPriority" : "medium" ,
"gas" : "400000"
}
With gasPriority:
Copy {
"status" : 200 ,
"msg" : "success" ,
"data" : {
"chainId" : "43114" ,
"from" : "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402" ,
"to" : "0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE" ,
"data" : "0xdb006a750000000000000000000000000000000000000000000000000000000000000000" ,
"gas" : "400000" ,
"value" : "0" ,
"gasPrice" : "30000000000" ,
"referenceId" : "f94e863e53be482b9f724cebda22af3c"
}
}
back to top
Error Handling Details
back to top