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
/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.
https://api.expand.network/liquidstaking/getrewards?address=0xf51F9dbB95B03f0DC60C79BC7dFEB958cb1C8962&page=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.
https://api.expand.network/liquidstaking/getstake?address=0x1d33ab0aF40ee6e5f59C7D1362cb56D35b7A0909
/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.
https://api.expand.network/liquidstaking/getwithdrawalrequests?ownerAddress=0x0AAEf336811136c176100092E24cEe3794389B19
/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.
https://api.expand.network/liquidstaking/getwithdrawalstatus?requestId=7
/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.
https://api.expand.network/liquidstaking/getprotocolapr?liquidStakingId=1
/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.
https://api.expand.network/liquidstaking/getallowance?owner=0x6427B4b028c4A1db5fb5dAf80C22e81115457230&liquidStakingId=1&tokenAddress=0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84&spender=0x6427B4b028c4A1db5fb5dAf80C22e81115457230
/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.
{
"value": "1000000",
"referrer": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"from": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"gas": "40000000"
}
With gasPriority:
{
"value": "1000000",
"referrer": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"from": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"gas": "40000000",
"gasPriority": "medium"
}
/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.
{
"liquidStakingId": "1",
"from": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"gas": "40000000",
"amount": "100000"
}
With gasPriority:
{
"liquidStakingId": "1",
"from": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"gas": "40000000",
"amount": "100000",
"gasPriority": "medium"
}
/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.
{
"liquidStakingId": "1",
"from": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"gas": "40000000",
"amount": "100000"
}
With gasPriority:
{
"liquidStakingId": "1",
"from": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"gas": "40000000",
"amount": "100000",
"gasPriority": "high"
}
/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.
{
"liquidStakingId": "1",
"from": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"gas": "40000000",
"addedValue": "100000",
"spender": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"tokenAddress": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0"
}
With gasPriority:
{
"liquidStakingId": "1",
"from": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"gas": "40000000",
"addedValue": "100000",
"spender": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"tokenAddress": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"gasPriority": "high"
}
/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.
{
"liquidStakingId": "1",
"from": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"gas": "40000000",
"subtractedValue": "100000",
"spender": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"tokenAddress": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0"
}
With gasPriority:
{
"liquidStakingId": "1",
"from": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"gas": "40000000",
"subtractedValue": "100000",
"spender": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"tokenAddress": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"gasPriority": "low"
}
/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.
{
"liquidStakingId": "1",
"amount": "1000000",
"from": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"gas": "40000000"
}
With gasPriority:
{
"liquidStakingId": "1",
"amount": "1000000",
"from": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"gas": "40000000",
"gasPriority": "high"
}
/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.
{
"liquidStakingId": "1",
"amount": "1000000",
"from": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"ownerAddress": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"gas": "40000000"
}
With gasPriority:
{
"liquidStakingId": "1",
"amount": "1000000",
"from": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"ownerAddress": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"gas": "40000000",
"gasPriority": "low"
}
/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.
{
"liquidStakingId": "1",
"from": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"gas": "40000000",
"requestId": "7"
}
With gasPriority:
{
"liquidStakingId": "1",
"from": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"gas": "40000000",
"requestId": "7",
"gasPriority": "high"
}
Last updated