0.1.4 • Published 8 months ago
@goat-sdk/plugin-etherscan v0.1.4
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-etherscanUsage
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