Chorus One
expand.network users can now stake with Chorus One's industry-recognized liquid staking program through the expand.network API.
Supported Chains
Currently only available on Ethereum Mainnet.
Available Endpoints:
Click on the endpoint to jump to the section with full details
/getapr
GET
- Retrieves the Chorus One staking APR on Ethereum./getrewards
GET
- Retrieves the daily rewards generated for a specified user./getstake
GET
-Retrieves the staked amount on Chorus One by a specified address./getwithdrawalrewards
GET
- Retrieves all withdrawal requests made by a specified address./stake
POST
- Initiate a transaction to stake on Chorus One protocol./requestwithdrawal
POST
- Initiate a withdrawal request on Chorus One./claim
POST
- Initiate a transaction to claim staked ETH after a withdrawal request./mint
POST
- Initiate a transaction to mint osETH./burn
POST
- Initiate a transaction to burn osETH.
Also see Error Handling Details
Endpoint Details
/getapr
Retrieves the Chorus One staking APR on Ethereum.
GET
https://api.expand.network/liquidstaking/getapr
Query Parameters
* indicates that a parameter is required
Name | Type | Description |
---|---|---|
rpc | String | Remote procedural call URL. |
liquidStakingId* | String | Refer to the Liquid Staking IDs page for details. |
/getrewards
Retrieves the daily rewards generated for a specified user.
GET
https://api.expand.network/liquidstaking/getrewards
Query Parameters
* indicates that a parameter is required
Name | Type | Description |
---|---|---|
rpc | String | Remote procedural call URL. |
liquidStakingId* | String | Refer to the Liquid Staking IDs page for details. |
address* | String | Public address of the user. |
startBlock | String | Starting block of the range. |
endBlock | String | Last block of the range. |
/getstake
Retrieves the staked amount on Chorus One by a specified address.
GET
https://api.expand.network/liquidstaking/getstake
Query Parameters
* indicates that a parameter is required
Name | Type | Description |
---|---|---|
rpc | String | Remote procedural call URL. |
liquidStakingId* | String | Refer to the Liquid Staking IDs page for details. |
address* | String | Public address of the user. |
/getwithdrawalrewards
Retrieves all withdrawal requests made by a specified address.
GET
https://api.expand.network/liquidstaking/getwithdrawalrequests
Query Parameters
* indicates that a parameter is required
Name | Type | Description |
---|---|---|
rpc | String | Remote procedural call URL. |
liquidStakingId* | String | Refer to the Liquid Staking IDs page for details. |
address* | String | Public address of the user. |
/stake
Initiate a transaction to stake on Chorus One protocol.
POST
https://api.expand.network/liquidstaking/stake
Request Body
* indicates that a parameter is required
Name | Type | Description |
---|---|---|
rpc | String | Remote procedural call URL. |
liquidStakingId* | String | Refer to the Liquid Staking IDs 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. |
gas priority | String | Low, medium, or high. |
With Gas Priority
/requestwithdrawal
Initiate a withdrawal request on Chorus One.
POST
https://api.expand.network/liquidstaking/requestwithdrawal
Request Body
* indicates that a parameter is required
Name | Type | Description |
---|---|---|
rpc | String | Remote procedural call URL. |
liquidStakingId* | String | Refer to the Liquid Staking IDs 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. |
gas priority | String | Low, medium, or high. |
With Gas Priority
/claim
Initiate a transaction to claim staked ETH after a withdrawal request.
POST
https://api.expand.network/liquidstaking/claim
Request Body
* indicates that a parameter is required
Name | Type | Description |
---|---|---|
rpc | String | Remote procedural call URL. |
liquidStakingId* | String | Refer to the Liquid Staking IDs page for details. |
requestId* | String | Request Id which needs to be claimed. |
amount* | String | Amount of token to stake. |
gas* | String | Maximum gas limit provided by the sender, for the transaction. |
gas priority | String | Low, medium, or high. |
With Gas Priority
/mint
Initiate a transaction to mint osETH.
POST
https://api.expand.network/liquidstaking/mint
Request Body
* indicates that a parameter is required
Name | Type | Description |
---|---|---|
rpc | String | Remote procedural call URL. |
liquidStakingId* | String | Refer to the Liquid Staking IDs 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. |
gas priority | String | Low, medium, or high. |
With Gas Priority
/burn
Initiate a transaction to burn osETH.
POST
https://api.expand.network/liquidstaking/burn
Request Body
* indicates that a parameter is required
Type | Description | |
---|---|---|
rpc | String | Remote procedural call URL. |
liquidStakingId* | String | Refer to the Liquid Staking IDs 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. |
gas priority | String | Low, medium, or high. |
With Gas Priority
Error Handling Details
Error | Description |
---|---|
400 (Bad Request) | Indicates the request is invalid or missing the required parameters. The msg field will contain details about the error. |
401 (Unauthorised) | Indicates the request lacks valid authentication credentials (API key). Ensure that you provide a valid API key in the request headers. |
404 (Not Found) | Indicates that the specified endpoint or resource does not exist. |
500 (Server Error) | Indicates an internal server error. |
Last updated