🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@goat-sdk/plugin-1inch

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goat-sdk/plugin-1inch

latest
Source
npmnpm
Version
0.1.9
Version published
Maintainers
2
Created
Source
GOAT

1inch GOAT Plugin

Get balances for different tokens for a wallet using the 1inch API.

Installation

npm install @goat-sdk/plugin-1inch
yarn add @goat-sdk/plugin-1inch
pnpm add @goat-sdk/plugin-1inch

Usage

import { oneInch } from '@goat-sdk/plugin-1inch';

const tools = await getOnChainTools({
    wallet: // ...
    plugins: [
       oneInch({
            apiKey: process.env.ONEINCH_API_KEY // Get it from: https://portal.1inch.dev
       })
    ]
});

Tools

  • Get balances


Keywords

ai

FAQs

Package last updated on 17 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts