Lido V2

/getapr

Get the Lido staking APR on Ethereum.

GET https://api.expand.network/liquidstaking/getapr

Query Parameters

Name
Type
Description

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

/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

Name
Type
Description

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

/getstake

Get the amount of stETH and wstETH staked on Lido by a specified address.

GET https://api.expand.network/liquidstaking/getstake

Query Parameters

Name
Type
Description

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

Name
Type
Description

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

Name
Type
Description

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

Name
Type
Description

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

Name
Type
Description

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

Name
Type
Description

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:

/wrap

Initiate a transaction to wrap stETH to wstETH.

POST https://api.expand.network/liquidstaking/wrap

Request Body

Name
Type
Description

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:

/unwrap

Initiate a transaction to unwrap wstETH to stETH.

POST https://api.expand.network/liquidstaking/unwrap

Request Body

Name
Type
Description

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:

/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

Name
Type
Description

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:

/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

Name
Type
Description

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:

/approvewithdrawal

Initiate a transaction to approve the withdrawal request from a specified address.

POST https://api.expand.network/liquidstaking/approvewithdrawal

Request Body

Name
Type
Description

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:

/requestwithdrawal

Initiate a transaction to request a withdrawal on Lido.

POST https://api.expand.network/liquidstaking/requestwithdrawal

Request Body

Name
Type
Description

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:

/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

Name
Type
Description

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:

Last updated