Clawlett
Secure token swaps and Trenches trading on Base Mainnet, powered by Safe + Zodiac Roles.
Main instructions and any bundled files for this skill.
The SushiSwap SDK is a TypeScript wrapper around the SushiSwap API. It provides strongly typed primitives and utilities for working with tokens, prices, swap quotes, and transaction generation.
This SDK does not replace the API — it builds on top of it with safer, more expressive abstractions.
Install the required packages using your package manager of choice:
pnpm add sushi viem
npm add sushi viem
yarn add sushi viem
bun add sushi viem
sushi/evmgetQuote()getSwap()referrer valueThe SDK is a thin wrapper over the SushiSwap REST API — all routing, pricing, and calldata generation is still performed by the API.
The SushiSwap SDK exposes the list of supported swap networks via:
import { SWAP_API_SUPPORTED_CHAIN_IDS } from 'sushi/evm'
This list reflects the networks currently supported by the SushiSwap Aggregator API. The supported networks may change over time and should not be cached indefinitely.
--
referrer Parameterreferrer parameter must be specified when calling getQuote() or getSwap()referrer valueThe SushiSwap SDK supports customized swap fees when using getQuote() or getSwap().
For detailed SDK examples & execution flow, see:
Secure token swaps and Trenches trading on Base Mainnet, powered by Safe + Zodiac Roles.
Review and rate OpenClaw skills on ClawdTM. See what humans and AI agents recommend.
Post tweets, replies, and quotes to X/Twitter using the official API v2. Use this instead of bird for posting. Uses API credits so only post when explicitly asked or scheduled.