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.
https://api.expand.network/liquidstaking/getapr?liquidStakingId=1{
"status": 200,
"msg": "success",
"data": {
"timeUnix": 1712751839,
"apr": 3.36,
"blockNumber": 19625206
}
}/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.
address*
String
Public address of the user.
page
String
The page number that the user wants to fetch.
By default, 1.
/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.
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.
ownerAddress*
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.
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.
/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.
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
Query Parameters
rpc
String
Remote procedural call URL.
referrer*
String
Referral address.
from*
String
Public address of the owner of this request.
value*
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
Query Parameters
rpc
String
Remote procedural call URL.
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
Query Parameters
rpc
String
Remote procedural call URL.
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
Query Parameters
rpc
String
Remote procedural call URL.
from*
String
Public address of the owner of this request.
tokenAddress*
String
Token contract address.
spender*
String
Address of spender.
addedValue*
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
Query Parameters
rpc
String
Remote procedural call URL.
from*
String
Public address of the owner of this request.
tokenAddress*
String
Token contract address.
spender*
String
Address of spender.
subtractedValue*
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
Query Parameters
rpc
String
Remote procedural call URL.
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
Query Parameters
rpc
String
Remote procedural call URL.
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
Query Parameters
rpc
String
Remote procedural call URL.
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

