Lido V2
/getapr
Get the Lido staking APR on Ethereum.
GET https://api.expand.network/liquidstaking/getapr
Query Parameters
rpc
String
Remote procedural call URL.
liquidStakingId
String
Refer to the Liquid Staking Id page for details.
https://api.expand.network/liquidstaking/getapr?liquidStakingId=1{
"status": 200,
"msg": "success",
"data": {
"timeUnix": "1716812675",
"apr": "3.103",
"blockNumber": "19961193"
}
}/getrewards
Get the stETH interactions by a specified user address along with the daily stETH rewards.
GET https://api.expand.network/liquidstaking/getrewards
Query Parameters
rpc
String
Remote procedural call URL.
liquidStakingId
String
Refer to the Liquid Staking Id page for details.
address*
String
Public address of the user.
page
String
The page number that the user wants to fetch.
By default, 1.
https://api.expand.network/liquidstaking/getrewards?address=0xf51F9dbB95B03f0DC60C79BC7dFEB958cb1C8962&page=1{
"status": 200,
"msg": "success",
"data": {
"events": [
{
"apr": "3.937496701524082809229480683079713",
"block": "18634427",
"blockTime": "1700742443",
"id": "0x03f3622b45a9edbfe95325ff82295f5607bad59b0ad2c685b9466a9095ac61da",
"logIndex": "10",
"totalPooledEtherAfter": "9157899107759077846808314",
"totalPooledEtherBefore": "9166748915742419188288274",
"totalSharesAfter": "7979812024150962005298647",
"totalSharesBefore": "7988385045435518208987747",
"type": "reward",
"reportShares": "18867868971733625201",
"balance": "21653397335501660877",
"rewards": "2335643397182351",
"change": "2335643397182351",
"currencyChange": "4.826179060422565701819216607798",
"epochDays": "19684.519016203703703704",
"epochFullDays": "19684"
},
{
"apr": "4.055508196694252655350449732776334",
"block": "18627274",
"blockTime": "1700656079",
"id": "0xd675c60b908931ab56b5fdabe6ef9e2c087c98d35d90fc1469bfa66767488628",
"logIndex": "10",
"totalPooledEtherAfter": "9102161623476534577713402",
"totalPooledEtherBefore": "9107756642154064122216622",
"totalSharesAfter": "7932100296676238065535304",
"totalSharesBefore": "7937857964883158472876527",
"type": "reward",
"reportShares": "18867868971733625201",
"balance": "21651061692104478526",
"rewards": "2405378167906481",
"change": "2405378167906481",
"currencyChange": "4.6676294187476755809931606548492",
"epochDays": "19683.51943287037037037",
"epochFullDays": "19683"
}
],
"totals": {
"ethRewards": "653197335501660878",
"currencyRewards": "1173.1516994959593645694978037777253"
},
"averageApr": "4.30030827194990587",
"ethToStEthRatio": 1.000684768587144,
"stETHCurrencyPrice": {
"eth": 0.9993157,
"usd": 3084.04
},
"totalItems": 260
}/getstake
Get the amount of stETH and wstETH staked on Lido by a specified address.
GET https://api.expand.network/liquidstaking/getstake
Query Parameters
rpc
String
Remote procedural call URL.
liquidStakingId
String
Refer to the Liquid Staking Id page for details.
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
Refer to the Liquid Staking Id page for details.
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
Refer to the Liquid Staking Id page for details.
requestId*
String
The token id of NFT , which is minted upon request, to claim the rewards.
/getprotocolapr
Get the Lido staking APR on Ethereum, for the past 7 days.
GET https://api.expand.network/liquidstaking/getprotocolapr
Query Parameters
rpc
String
Remote procedural call URL.
liquidStakingId
String
Refer to the Liquid Staking Id page for details.
/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
Refer to the Liquid Staking Id page for details.
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 Lido.
POST https://api.expand.network/liquidstaking/stake
Request Body
rpc
String
Remote procedural call URL.
liquidStakingId
String
Refer to the Liquid Staking Id page for details.
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:
With gasPriority:
/wrap
Initiate a transaction to wrap stETH to wstETH.
POST https://api.expand.network/liquidstaking/wrap
Request Body
rpc
String
Remote procedural call URL.
liquidStakingId
String
Refer to the Liquid Staking Id page for details.
from*
String
Public address of the owner of token.
amount*
String
Number of tokens to wrap.
gas
String
Maximum gas limit provided by the sender, for the transaction.
gasPriority
String
low, medium, or high.
With gasPriority:
With gasPriority:
/unwrap
Initiate a transaction to unwrap wstETH to stETH.
POST https://api.expand.network/liquidstaking/unwrap
Request Body
rpc
String
Remote procedural call URL.
liquidStakingId
String
Refer to the Liquid Staking Id page for details.
from*
String
Public address of the owner of token.
amount*
String
Number of tokens to unwrap.
gas
String
Maximum gas limit provided by the sender, for the transaction.
gasPriority
String
low, medium, or high.
With gasPriority:
With gasPriority:
/increaseallowance
Initiate a transaction to increase the allowance of stETH or wstETH on the spender’s account.
POST https://api.expand.network/liquidstaking/increaseallowance
Request Body
rpc
String
Remote procedural call URL.
liquidStakingId
String
Refer to the Liquid Staking Id page for details.
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:
With gasPriority:
/decreaseallowance
Initiate a transaction to decrease the allowance of stETH or wstETH on the spender’s account.
POST https://api.expand.network/liquidstaking/decreaseallowance
Request Body
rpc
String
Remote procedural call URL.
liquidStakingId
String
Refer to the Liquid Staking Id page for details.
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:
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
Refer to the Liquid Staking Id page for details.
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:
With gasPriority:
/requestwithdrawal
Initiate a transaction to request a withdrawal on Lido.
POST https://api.expand.network/liquidstaking/requestwithdrawal
Request Body
rpc
String
Remote procedural call URL.
liquidStakingId
String
Refer to the Liquid Staking Id page for details.
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:
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
Refer to the Liquid Staking Id page for details.
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:
With gasPriority:
Last updated

