0.1.4 • Published 8 months ago
@goat-sdk/plugin-enso v0.1.4
Enso GOAT Plugin
Get access to 180+ protocols through Enso for onchain actions, such as swap, deposit, lend, borrow etc.
Installation
npm install @goat-sdk/plugin-enso
yarn add @goat-sdk/plugin-enso
pnpm add @goat-sdk/plugin-ensoUsage
import { enso } from '@goat-sdk/plugin-enso';
const tools = await getOnChainTools({
wallet: // ...
plugins: [
enso({
apiKey: process.env.ENSO_API_KEY
})
]
});Tools
- Find the most optimal route between 2 tokens and execute it