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

NameTypeDescription

Authorization*

string

Bearer TOKEN

Request Body

NameTypeDescription

currencySymbol*

string

Must be "SHIB"

action*

string

Must be "approve"

address*

string

Your wallet address

{
  network: string;
  toAddress: string;
  amount: string;
  gasLimit: number;
  gasPrice: number;
  data: string;
}

Stake coins/tokens

POST https://www.allnodes.com/api/v1/staking

This endpoint allows you to get transaction params for staking coins/tokens.

Headers

NameTypeDescription

Authorization*

string

Bearer TOKEN

Request Body

NameTypeDescription

currencySymbol*

string

Must be "SHIB"

action*

string

Must be "stake"

address*

string

Your wallet address

amount*

string

Amount to stake

{
  network: string;
  toAddress: string;
  amount: string;
  gasLimit: number;
  gasPrice: number;
  data: string;
}

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

NameTypeDescription

Authorization*

string

Bearer TOKEN

Request Body

NameTypeDescription

currencySymbol*

string

Must be "SHIB"

action*

string

Must be "approve-withdraw"

address*

string

Your wallet address

{
  network: string;
  toAddress: string;
  amount: string;
  gasLimit: number;
  gasPrice: number;
  data: string;
}

Withdraw stake

POST https://www.allnodes.com/api/v1/staking

This endpoint allows you to get transaction params for withdraw stake.

Headers

NameTypeDescription

Authorization*

string

Bearer TOKEN

Request Body

NameTypeDescription

currencySymbol*

string

Must be "SHIB"

action*

string

Must be "withdraw-stake"

address*

string

Your wallet address

amount*

string

Amount to withdraw

{
  network: string;
  toAddress: string;
  amount: string;
  gasLimit: number;
  gasPrice: number;
  data: string;
}

Last updated