@goat-sdk/plugin-0x
v0.1.11
Published
<div align="center"> <a href="https://github.com/goat-sdk/goat">
Readme
0x GOAT Plugin
Get quotes and swap on 0x
Installation
npm install @goat-sdk/plugin-0x
yarn add @goat-sdk/plugin-0x
pnpm add @goat-sdk/plugin-0xUsage
import { zeroEx } from '@goat-sdk/plugin-0x';
const tools = await getOnChainTools({
wallet: // ...
plugins: [
zeroEx({
apiKey: process.env.ZEROEX_API_KEY // Get it from: https://dashboard.0x.org/
})
]
});Tools
- Get quote
- Swap tokens
