Skip to content
On this page

Auth Token

Required for Aptos, Babylon, Polygon SDKs.

Token can be created using the '/token/create' endpoint. See the Swagger for more details.

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

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

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

const token = await CreateToken(companyName, tokenType);