Chainstack GPT
Empowering natural language interaction with EVM blockchains through Chainstack's infrastructure. Your web3 programming assistant; simplified
Chainstack GPT is a web3 programming assistant powered by Chainstack's infrastructure. It empowers natural language interaction with EVM blockchains. With Chainstack GPT, you can fetch the latest block number, get the balance of an address, convert wei to ether, convert decimal to hexadecimal, resolve ENS names to Ethereum addresses, and more. It provides a simplified way to interact with the Chainstack platform API. Start by asking questions about Chainstack's core pillars or if it offers Subgraphs. How can Chainstack GPT assist you today?
How to
Files (0)
Comments (0)
Learn how to use Chainstack GPT effectively! Here are a few example prompts, tips, and the documentation of available commands.
Example prompts
-
Prompt 1: "What are Chainstack's core pillars?"
-
Prompt 2: "Does Chainstack offer Subgraphs?"
-
Prompt 3: "What is the balance of 0xae2Fc483527B8EF99EB5D9B44875F005ba1FaE13 on Ethereum?"
-
Prompt 4: "What is the base gas fee on Ethereum?"
Features and commands
Feature/Command | Description |
---|---|
/get-block | This API fetches the latest block number using the provided chain. It returns the block number in hexadecimal format. |
/get-balance | This API fetches the balance on the given account at the latest block. It returns the account balance in ether format. |
/get-base-gas-fee | This API fetches the base gas fee from an EVM chain. It returns the base gas fee in Gwei. |
/scrape-web | This API allows you to scrape Chainstack docs for platform info and blockchain development. You can choose from various relevant topics specified in the API documentation. |
/blockchain-call | This API calls a specified method on a chosen protocol with parameters specified by the user and ChatGPT. |
/hex-to-decimal | This API converts a hexadecimal value to decimal. It is used when you need to output a decimal value to the user. |
/from-wei | This API converts a wei value to an ether value. Use this function on any token balances in wei. |
/decimal-to-hex | This API converts a decimal value to hexadecimal. Use this endpoint when you need to convert values to make a blockchain call. |
/ens-to-address | This API resolves an ENS (or .eth) name to an Ethereum address. The ENS name must be specified in the request. |
/get-token-balances | This API retrieves token balances for a given chain name and wallet address. Use the /from-wei endpoint on the Chainstack plugin to convert the balances. |
/get-nfts | This API retrieves all NFTs for a given chain name and wallet address. |
/get-single-nft | This API retrieves information about an individual NFT for a given chain name, wallet address, and token ID. |
/get-transaction-summary | This API retrieves summary information about transactions by address. |
Note: For more detailed information about the usage and parameters of these commands, please refer to the Chainstack API documentation.