This plugin enables your agent to interact with the Ethereum blockchain data from Etherscan.
npm install @goat-sdk/plugin-etherscan
yarn add @goat-sdk/plugin-etherscan
pnpm add @goat-sdk/plugin-etherscan
import { etherscan } from "@goat-sdk/plugin-etherscan";
const tools = getOnChainTools({
plugins: [
etherscan({
apiKey: "YOUR_ETHERSCAN_API_KEY",
}),
],
});
- 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