Supported Chains
Available on Avalanche
Available Endpoints:
Click on the endpoint to jump to the section with full details
GET
- Get the Stader staking APR.
GET
- Get the initial staked amount and current staked value by a specified user address.
GET
-Get the stake amount for a particular address.
GET
- Retrieves all withdrawal requests made by a specified address.
GET
- Get the status of a withdrawal request made by a specified address.
GET
- Get the approved allowance amount set by the owner for the spender.
POST
- Initiate a transaction to stake on Stader protocol.
POST
- Initiate a withdrawal request on Stader.
POST
- Initiate a transaction to claim staked ETH after a withdrawal request.
Also see
Liquid Staking IDs
Many endpoints have a parameter where you can provide a Liquid Staking ID.
Liquid Staking Name
Chain
Liquid Staking ID
Endpoint Details
/getapr
Get the Stader staking APR.
GET
https://api.expand.network/liquidstaking/getapr
Query Parameters
Remote procedural call URL.
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"
}
}
/getrewards
Get the initial staked amount and current staked value by a specified user address.
GET
https://api.expand.network/liquidstaking/getrewards
Query Parameters
Remote procedural call URL.
Public address of the user.
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"
}
}
/getstake
Get the stake amount for a particular address.
GET
https://api.expand.network/liquidstaking/getstake
Query Parameters
Remote procedural call URL.
Public address of the user.
Sample Request Sample Response
Copy https://api.expand.network/liquidstaking/getstake?address=0x10137E2EC5907ceA3151FB00C3Ecd9B48E22B82B&liquidStakingId=43114
Copy {
"status": 200,
"msg": "success",
"data": {
"sAVAX": "17208357980018603"
}
}
/getwithdrawalrequests
Get all the withdrawal requests(NFT ids) made by a specified address.
GET
https://api.expand.network/liquidstaking/getwithdrawalrequests
Query Parameters
Remote procedural call URL.
Public address of the user.
Sample Request Sample Response
Copy https://api.expand.network/liquidstaking/getwithdrawalrequests?liquidStakingId=43114&address=0xc1d423aE49fba66AA713610811d13e0BECf213c6
Copy {
"status": 200,
"msg": "success",
"data": [
"0"
]
}
/getwithdrawalstatus
Get the status of a withdrawal request made by a specified address.
GET
https://api.expand.network/liquidstaking/getwithdrawalstatus
Query Parameters
Remote procedural call URL.
The token id of NFT , which is minted upon request, to claim the rewards.
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"
}
}
/getallowance
Get the approved allowance amount set by the owner for the spender.
GET
https://api.expand.network/liquidstaking/getallowance
Query Parameters
Remote procedural call URL.
Public address of the owner of token.
Public address of the spender of token.
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"
}
}
/stake
Initiate a transaction to stake on Stader.
POST
https://api.expand.network/liquidstaking/stake
Request Body
Remote procedural call URL.
Public address of the owner of this request.
Amount of token to stake.
Maximum gas limit provided by the sender, for the transaction.
if true,
provides insights of the contract and tokens involved in the transaction.
By Default, false
Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet
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"
}
}
Sample Request Sampe Response
With ofacCheck:
Copy {
"amount": "1000000000000000000",
"liquidStakingId": "43114",
"from": "0xefdc8FC1145ea88e3f5698eE7b7b432F083B4246",
"gas": "40000",
"gasPriority": "low",
"ofacCheck": true
}
With ofacCheck:
Copy {
"status": 200,
"msg": "success",
"data": {
"chainId": "1",
"from": "0xfAE7D9854995E28BEB1B1da864ee2A1E2EC17f07",
"to": "0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b",
"value": "0",
"gas": "40000",
"data": "0xede4edd00000000000000000000000005d3a536e4d6dbd6114cc1ead35777bab948e3643",
"gasPrice": "499498318",
"estimationCheck": true,
"insights": {
"asset": {
"issues": [],
"verdict": {
"code": 0,
"label": "NO_ISSUES"
}
},
"to": {
"issues": [],
"verdict": {
"code": 0,
"label": "NO_ISSUES"
}
}
},
"referenceId": "e9bfe6229a844227a92a2f6669aa1da0"
}
}
/requestwithdrawal
Initiate a transaction to request a withdrawal on Stader.
POST
https://api.expand.network/liquidstaking/requestwithdrawal
Request Body
Remote procedural call URL.
Public address of the owner of this request.
Amount of tokens to request withdrawal.
Public address of the owner.
Maximum gas limit provided by the sender, for the transaction.
if true,
provides insights of the contract and tokens involved in the transaction.
By Default, false
Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet
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"
}
}
Sample Request Sampe Response
With ofacCheck:
Copy {
"amount": "100000",
"liquidStakingId": "43114",
"from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
"gas": "40000",
"gasPriority": "low",
"ofacCheck": true
}
With ofacCheck:
Copy {
"status": 200,
"msg": "success",
"data": {
"chainId": "1",
"from": "0xfAE7D9854995E28BEB1B1da864ee2A1E2EC17f07",
"to": "0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b",
"value": "0",
"gas": "40000",
"data": "0xede4edd00000000000000000000000005d3a536e4d6dbd6114cc1ead35777bab948e3643",
"gasPrice": "499498318",
"estimationCheck": true,
"insights": {
"asset": {
"issues": [],
"verdict": {
"code": 0,
"label": "NO_ISSUES"
}
},
"to": {
"issues": [],
"verdict": {
"code": 0,
"label": "NO_ISSUES"
}
}
},
"referenceId": "e9bfe6229a844227a92a2f6669aa1da0"
}
}
/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
Remote procedural call URL.
Public address of the owner of this request.
The token id of NFT , which is minted upon request, to claim the rewards.
Maximum gas limit provided by the sender, for the transaction.
if true,
provides insights of the contract and tokens involved in the transaction.
By Default, false
Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet
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"
}
}
Sample Request Sampe Response
With ofacCheck:
Copy {
"liquidStakingId": "43114",
"requestId": "0",
"from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
"gasPriority": "medium",
"gas": "400000",
"ofacCheck": true
}
With ofacCheck:
Copy {
"status": 200,
"msg": "success",
"data": {
"chainId": "1",
"from": "0xfAE7D9854995E28BEB1B1da864ee2A1E2EC17f07",
"to": "0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b",
"value": "0",
"gas": "40000",
"data": "0xede4edd00000000000000000000000005d3a536e4d6dbd6114cc1ead35777bab948e3643",
"gasPrice": "499498318",
"estimationCheck": true,
"insights": {
"asset": {
"issues": [],
"verdict": {
"code": 0,
"label": "NO_ISSUES"
}
},
"to": {
"issues": [],
"verdict": {
"code": 0,
"label": "NO_ISSUES"
}
}
},
"referenceId": "e9bfe6229a844227a92a2f6669aa1da0"
}
}
Error Handling Details
Indicates the request is invalid or missing the required parameters. The msg field will contain details about the error.
Indicates the request lacks valid authentication credentials (API key). Ensure that you provide a valid API key in the request headers.
Indicates that the specified endpoint or resource does not exist.
Indicates an internal server error.