Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
PORT | No | Server port number | 3001 |
LOG_LEVEL | No | Set logging level (DEBUG, INFO, WARN, ERROR) | |
PRIVATE_KEY | No | Your wallet private key (required for transaction operations) |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
analyze_block | Analyze a block and provide detailed information about its contents |
interact_with_contract | Get guidance on interacting with a smart contract |
explain_evm_concept | Get an explanation of an EVM concept |
compare_networks | Compare different EVM-compatible networks |
analyze_token | Analyze an ERC20 or NFT token |
analyze_transaction | Analyze a specific transaction |
analyze_address | Analyze an EVM address |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
get_block_by_hash | Get a block by hash |
get_block_by_number | Get a block by number |
get_latest_block | Get the latest block |
is_contract | Check if an address is a smart contract or an externally owned account (EOA) |
read_contract | Read data from a smart contract by calling a view/pure function |
write_contract | Write data to a smart contract by calling a state-changing function |
get_chain_info | Get chain information for a specific network |
get_supported_networks | Get list of supported networks |
resolve_ens | Resolve an ENS name to an EVM address (not supported on BSC) |
get_erc20_token_info | Get ERC20 token information |
get_native_balance | Get native token balance for an address |
get_erc20_balance | Get ERC20 token balance for an address |
get_transaction | Get detailed information about a specific transaction by its hash. Includes sender, recipient, value, data, and more. |
get_transaction_receipt | Get a transaction receipt by its hash |
estimate_gas | Estimate the gas cost for a transaction |
transfer_native_token | Transfer native tokens (BNB, ETH, MATIC, etc.) to an address |
approve_token_spending | Approve another address (like a DeFi protocol or exchange) to spend your ERC20 tokens. This is often required before interacting with DeFi protocols. |
transfer_nft | Transfer an NFT (ERC721 token) from one address to another. Requires the private key of the current owner for signing the transaction. |
transfer_erc1155 | Transfer ERC1155 tokens to another address. ERC1155 is a multi-token standard that can represent both fungible and non-fungible tokens in a single contract. |
transfer_erc20 | Transfer ERC20 tokens to an address |
get_address_from_private_key | Get the EVM address derived from a private key |
get_nft_info | Get detailed information about a specific NFT (ERC721 token), including collection name, symbol, token URI, and current owner if available. |
check_nft_ownership | Check if an address owns a specific NFT |
get_erc1155_token_uri | Get the metadata URI for an ERC1155 token (multi-token standard used for both fungible and non-fungible tokens). The URI typically points to JSON metadata about the token. |
get_nft_balance | Get the total number of NFTs owned by an address from a specific collection. This returns the count of NFTs, not individual token IDs. |
get_erc1155_balance | Get the balance of a specific ERC1155 token ID owned by an address. ERC1155 allows multiple tokens of the same ID, so the balance can be greater than 1. |