Staking
Last updated
Last updated
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get transaction params for approve tokens.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get transaction params for staking coins/tokens.
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get transaction params for withdraw rewards earned.
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get transaction params for withdraw stake.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Authorization*
string
Bearer TOKEN
currencySymbol*
string
Must be "1INCH"
action*
string
Must be "approve"
address*
string
Your wallet address
Authorization*
string
Bearer TOKEN
currencySymbol*
string
Must be "1INCH"
action*
string
Must be "stake"
address*
string
Your wallet address
amount*
string
Amount to stake
Authorization*
string
Bearer TOKEN
currencySymbol*
string
Must be "1INCH"
action*
string
Must be "withdraw-rewards"
address*
string
Your wallet address
Authorization*
string
Bearer TOKEN
currencySymbol*
string
Must be "1INCH"
action*
string
Must be "withdraw-stake"
address*
string
Your wallet address
amount*
string
Amount to withdraw