circle-info
Documentation v1.0 has been released! Staking Guide, Protocols, Glossary, FAQ, and Support sections have been added.

Auth Token

Required for Aptos, Babylon, Polygon SDKs.

Token can be created using the '/token/create' endpoint. See the Swaggerarrow-up-right for more details.

Alternatively, a token can be generated using the CreateToken function located in the '/utils/api.ts' SDK file.

const { CreateToken } = require('@everstake/wallet-sdk');

// companyName and tokenType are metadata
const companyName = "Everstake";
const tokenType = "SDK";

const token = await CreateToken(companyName, tokenType);