@goat-sdk/plugin-etherscan
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

Etherscan GOAT Plugin

This plugin enables your agent to interact with the Ethereum blockchain data from Etherscan.

Installation

npm install @goat-sdk/plugin-etherscan
yarn add @goat-sdk/plugin-etherscan
pnpm add @goat-sdk/plugin-etherscan

Usage

import { etherscan } from "@goat-sdk/plugin-etherscan";

const tools = getOnChainTools({
  plugins: [
    etherscan({
      apiKey: "YOUR_ETHERSCAN_API_KEY",
    }),
  ],
});

Tools

  • Account balance and transaction history
  • Contract ABI and source code retrieval
  • Transaction status and receipt information
  • Block data
  • Token balances and transfers
  • Gas price tracking
  • Event logs


Package Sidebar

Install

npm i @goat-sdk/plugin-etherscan

Homepage

ohmygoat.dev

Weekly Downloads

2

Version

0.1.4

License

MIT

Unpacked Size

51.5 kB

Total Files

32

Last publish

Collaborators

  • aigustin
  • mpaella