Shiba Inu Staking
Approve a token
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get transaction params for approve tokens.
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | Bearer TOKEN |
Request Body
Name | Type | Description |
---|---|---|
currencySymbol* | string | Must be "SHIB" |
action* | string | Must be "approve" |
address* | string | Your wallet address |
Stake coins/tokens
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get transaction params for staking coins/tokens.
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | Bearer TOKEN |
Request Body
Name | Type | Description |
---|---|---|
currencySymbol* | string | Must be "SHIB" |
action* | string | Must be "stake" |
address* | string | Your wallet address |
amount* | string | Amount to stake |
Approve withdraw
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get transaction params for approve staked tokens (needed to be executed before withdraw staked SHIBs).
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | Bearer TOKEN |
Request Body
Name | Type | Description |
---|---|---|
currencySymbol* | string | Must be "SHIB" |
action* | string | Must be "approve-withdraw" |
address* | string | Your wallet address |
Withdraw stake
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get transaction params for withdraw stake.
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | Bearer TOKEN |
Request Body
Name | Type | Description |
---|---|---|
currencySymbol* | string | Must be "SHIB" |
action* | string | Must be "withdraw-stake" |
address* | string | Your wallet address |
amount* | string | Amount to withdraw |
Last updated