Staking
Powered by StakeWise
Get info about address
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get info about your address.
Headers
Name | Type | Value |
---|---|---|
Authorization | string |
|
Body
Name | Type | Description |
---|---|---|
| string | Must be "ETH" |
| string | Must be "info" |
| string | Your wallet address |
Response
Stake ETH
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get transaction params for stake ETH.
Headers
Name | Type | Value |
---|---|---|
Authorization | string |
|
Body
Name | Type | Description |
---|---|---|
| string | Must be "ETH" |
| string | Must be "stake" |
| string | Your wallet address |
| string | Amount to stake (in wei) |
Response
Unstake ETH
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get transaction params for unstake ETH.
Headers
Name | Type | Value |
---|---|---|
Authorization | string |
|
Body
Name | Type | Description |
---|---|---|
| string | Must be "ETH" |
| string | Must be "unstake" |
| string | Your wallet address |
| string | Amount to unstake (in wei) |
Response
Withdraw ETH (after unstaking period finished)
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get transaction params for withdraw unstaked ETH.
Current unstaking period: 1 - 10 days.
Headers
Name | Type | Value |
---|---|---|
Authorization | string |
|
Body
Name | Type | Description |
---|---|---|
| string | Must be "ETH" |
| string | Must be "withdraw" |
| string | Your wallet address |
Response
Mint osETH token
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get transaction params for mint osETH token.
Headers
Name | Type | Value |
---|---|---|
Authorization | string |
|
Body
Name | Type | Description |
---|---|---|
| string | Must be "ETH" |
| string | Must be "mint-os-eth" |
| string | Your wallet address |
| string | Amount to mint (in wei) |
Response
Burn osETH token
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get transaction params for burn osETH token.
Headers
Name | Type | Value |
---|---|---|
Authorization | string |
|
Body
Name | Type | Description |
---|---|---|
| string | Must be "ETH" |
| string | Must be "burn-os-eth" |
| string | Your wallet address |
| string | Amount to burn (in wei) |
Response
Last updated