Chainstack
Enables natural language interaction with EVM blockchains using Chainstack's infrastructure.
This plugin allows users to easily interact with different EVM-based blockchains using Chainstack's infrastructure. With this plugin, users can seamlessly send transactions, query blockchain data, and deploy smart contracts using natural language commands. Whether you're a developer, investor, or blockchain enthusiast, this plugin simplifies the process of interacting with EVM blockchains, making it accessible to everyone. Discover the power of Chainstack's infrastructure and explore the world of decentralized finance, gaming, and other exciting blockchain applications.
How to
Comments (0)
Try it
API docs
Learn how to use Chainstack effectively! Here are a few example prompts, tips, and the documentation of available commands.
Example prompts
-
Prompt 1: "Fetch the latest block number on the Ethereum blockchain."
-
Prompt 2: "Retrieve the balance of an address on the Polygon network."
-
Prompt 3: "Get the base gas fee on the Avalanche blockchain."
-
Prompt 4: "Scrape the Chainstack docs for Ethereum development tools."
-
Prompt 5: "Call the 'eth_blockNumber' method on the Arbitrum blockchain."
Features and commands
Feature/Command | Description |
---|---|
getBlock | This command fetches the latest block number on the specified blockchain. You can choose the blockchain from options like Ethereum, Polygon, Avalanche, Arbitrum, and Gnosis. |
getBalance | This command fetches the balance on a given account at the latest block. The balance is returned in ether format, and the blockchain can be specified by the user. |
getGasFee | This command fetches the base gas fee from an EVM chain. The gas fee is returned in Gwei. You can choose the blockchain from options like Ethereum, Polygon, Avalanche, Arbitrum, and Gnosis. |
scrapeWebData | This command scrapes the Chainstack documentation for platform information and blockchain development. You can specify the content to scrape, such as Ethereum development tools or platform introduction. |
blockchainCall | This command calls a specified method on a chosen protocol with parameters specified by the user. You can choose the blockchain endpoint and method to be called, along with the parameters for the method. |
hexToDecimal | This command converts a hexadecimal value to decimal format. The hexadecimal value to convert is provided as input. |
fromWei | This command converts a wei value to ether format. The wei value to convert is provided as input. |
decimalToHex | This command converts a decimal value to hexadecimal format. The decimal value to convert is provided as input. |
ensToAddress | This command resolves an ENS (Ethereum Name Service) name to an Ethereum address. The ENS name to resolve is provided as input. |
getTokenBalances | This command gets a list of token balances for a given chain name and wallet address. The chain name and wallet address are provided as input. |
getNfts | This command gets a list of NFTs (Non-Fungible Tokens) for a given chain name and wallet address. The chain name and wallet address are provided as input. |
getSingleNft | This command gets information about an individual NFT (Non-Fungible Token) for a given chain name, NFT contract address, and token ID. The chain name, contract address, and token ID are provided as input. |
getTransactionSummary | This command gets a summary of transactions by address for a given chain name and wallet address. The chain name and wallet address are provided as input. |