Getting Started
Step 1: Install the SDK Package
npm install @anyalt/sdk
# or
yarn add @anyalt/sdk
# or
pnpm add @anyalt/sdkStep 2: Initialize the SDK
import { AnyAlt } from '@anyalt/sdk';
const anyalt = new AnyAlt('<YOUR_API_KEY>');Step 3: Retrieve Available Chains and Tokens
Step 4: Obtain the Best Swap Route
Step 5: Confirm the Swap Route
Step 6: Execute the Swap
Last updated