|||

0xXplorer Ai Docs

Welcome to 0xXplorer Ai

Getting Started with 0xXplorer Ai 🚀

Welcome to 0xXplorer Ai, your AI-powered blockchain assistant! Whether you're a developer, investor, or blockchain enthusiast, 0xXplorer Ai is here to simplify your journey into decentralized technologies. This guide will walk you through everything you need to know to get started and make the most of 0xXplorer Ai.

What is 0xXplorer Ai? 🤖

0xXplorer Ai is an advanced AI-powered blockchain assistant developed by SquareX Labs, under the visionary leadership of Qubicsquare Technologies Private Limited. It is powered by SitrAi, a cutting-edge AI platform designed to provide expert-level insights and assistance in blockchain technology.

Key Features of 0xXplorer Ai:

  • Blockchain Expertise: In-depth knowledge of decentralized technologies, cryptocurrencies, smart contracts, and distributed ledger systems.
  • Multi-Chain Support: Works seamlessly with Ethereum, Polygon, BSC, Avalanche, Arbitrum, Optimism, and more.
  • Real-Time Data: Fetch real-time cryptocurrency prices, gas fees, and the latest blockchain news.
  • Wallet Integration: Securely connect your wallet to interact with blockchain networks.
  • Smart Contract Assistance: Create, compile, and deploy smart contracts with ease.
  • Gas Fee Optimization: Understand and optimize gas fees for efficient transactions.

Supported Chains 🌐

    Mainnets

  • Arbitrum (Chain ID: 42161)
  • Avalanche (Chain ID: 43114)
  • Base (Chain ID: 8453)
  • BSC (Chain ID: 56)
  • Ethereum (Chain ID: 1)
  • Optimism (Chain ID: 10)
  • Polygon (Chain ID: 137)
  • Testnets

  • Base Sepolia (Chain ID: 84532)
  • BSC Testnet (Chain ID: 97)
  • Monad Testnet (Chain ID: 10143)
  • Polygon Amoy (Chain ID: 80002)
  • Sepolia (Chain ID: 11155111)

How to Use 0xXplorer Ai?

Simply type your query or request, and 0xXplorer Ai will provide detailed, accurate, and actionable responses. Here are some examples of what you can ask:

  • "Explain how Proof of Stake works."
  • "Help me deploy a smart contract on Ethereum."
  • "What’s the price of Bitcoin today?"
  • "Connect my wallet."

Wallet Interaction with 0xXplorer Ai 🔗

0xXplorer Ai makes it easy to connect, disconnect, and interact with your wallet securely. Below is a detailed guide on how to manage your wallet interactions using simple prompts.

1. Connect Your Wallet

To connect your wallet and start interacting with blockchain networks, use any of the following commands:

Commands to Connect Wallet:

  • "Login"
  • "Connect"
  • "Connect wallet"

What Happens Next?

  • 0xXplorer Ai will automatically trigger the connectWallet tool.
  • Follow the on-screen prompts to securely connect your wallet.
  • Once connected, you’ll see a confirmation message:
    ✅ "You're successfully connected to this app! 🚀"

2. Disconnect Your Wallet

If you want to disconnect your wallet, use any of the following commands:

Commands to Disconnect Wallet:

  • "Logout"
  • "Disconnect"
  • "disconnect wallet"

What Happens Next?

  • 0xXplorer Ai will disconnect your wallet.
  • You’ll see a confirmation message:
    ✅ "Your wallet has been disconnected. 😊🔗"

3. Sign In with Ethereum

To sign in with Ethereum and authenticate your identity, use any of the following commands:

Commands to Sign In with Ethereum:

  • "signin"
  • "Sign in with ethereum"
  • "Sign in with ETH"

What Happens Next?

  • 0xXplorer Ai will initiate the Sign-In with Ethereum process.
  • Follow the prompts to sign a message with your wallet to authenticate.
  • Once signed in, you’ll see a confirmation message:
    ✅ "YYou're successfully connected and verified to this app! 🚀"

4. Switching Networks with 0xXplorer Ai 🌐

0xXplorer Ai supports multiple blockchain networks, and switching between them is simple. Whether you want to interact with Ethereum, Polygon, BSC, or any other supported network, here’s how you can switch networks seamlessly.

Commands to Switch Network:

  • "switch"
  • "switch network"
  • "change network"

Account Interaction with 0xXplorer Ai 👤

0xXplorer Ai allows you to interact with your blockchain account seamlessly. Whether you want to check your balance, view transaction history, or manage your account settings, here’s a detailed guide on how to do it.

1. Check Account Balance

To check the balance of your connected wallet, use the following commands:

Commands to Check Balance:

  • "check my bal on [network name] (eg. eth,polygon,sepolia .etc)"
  • "bal of [wallet address] on [network name]"
  • "bal of [ENS Domain Name] on [network name]"

2. View Transaction History

To view the transaction history of your connected wallet, use the following commands:

Commands to View Transaction History:

  • "[no of tx]tx history of my address on [network name] (eg. eth,polygon,sepolia .etc)"
  • "list of [no of tx] tx of [wallet address] on [network name]"
  • "list of [no of tx] normal tx of [wallet address] on [network name]"
👉**By default it show 5 or 10 list of transactions**

3. Total number of Transaction

To check the total number of transactions for your connected wallet, use the following commands:

Commands to Check Total Number of Transactions:

  • "Total number of transactions on [network name] (eg. eth,polygon,sepolia .etc)"
  • "Total TX of [wallet address] on [network name]"
  • "Total TX of [ENS Domain Name] on [network name]"

4. View Internal Transaction History

To view the internal transaction history of your connected wallet, use the following commands:

Commands to View Transaction History:

  • "[no of tx]internal tx history of my address on [network name](eg. eth,polygon,sepolia .etc) "
  • "list of [no of tx] internal tx of [wallet address] on [network name]"
  • "list of [no of tx] internal tx of [ENS Domain Name] on [network name]"
👉**By default it show 5 or 10 list of transactions**

5. Getting Address from ENS (Ethereum Name Service)

To get the Ethereum address associated with an ENS name, use the following commands:

Commands to Resolve ENS:

  • "address of [ENS Domain Name]"

Transaction Interactions with 0xXplorer Ai 💸

0xXplorer Ai simplifies the process of sending, tracking, and managing transactions on supported blockchain networks. Whether you're sending cryptocurrency, checking transaction status, or analyzing gas fees, here’s a detailed guide on how to interact with transactions using 0xXplorer Ai.

1. Send a Transaction

To send a transaction (e.g., sending cryptocurrency to another address), use the following commands:

Commands to Send a Transaction:

  • "send [amount] [Token/Currency] to [ENS Domain Name]on [network name]"
  • "send [amount] [Token/Currency] to [Address]on [network name]"
  • "Transfer [amount] [Token/Currency] to [Address/ENS Domain Name]on [network name]"

2. Check Transaction Status

To check the status of a transaction (e.g., pending, confirmed, or failed), use the following commands:

Commands to Check Transaction Status:

  • "tx status of[tx hash]on [network name]"
  • "transaction status of [tx hash]on [network name]"

3. View Transaction Details

To view detailed information about a specific transaction, use the following commands:

Commands to View Transaction Details:

  • "tx[tx hash]on [network name]"
  • "tx hash[tx hash]on [network name]"
  • "transaction [tx hash]on [network name]"

3. View Transaction Receipt

To fetch the receipt for a specific transaction, use the following commands:

Commands to Fetch Transaction Receipt:

  • "tx receipt[tx hash]on [network name]"
  • "tx receipt hash[tx hash]on [network name]"
  • "transaction receipt [tx hash]on [network name]"

4. View Internal Transaction List

To view the list internal transaction performed within a transaction., use the following commands:

Commands to View list of internal Transaction:

  • "[no of tx]internal tx history of tx [tx hash] on [network name](eg. eth,polygon,sepolia .etc) "
  • "list of [no of tx] internal tx of [tx hash] on [network name]"
👉**By default it show 5 or 10 list of transactions**

Blocks Interaction with 0xXplorer Ai 🧱

0xXplorer Ai allows you to interact with blockchain data directly, such as fetching block information, checking the latest block, or exploring specific details about blocks. Whether you're a developer, researcher, or enthusiast, here’s how you can explore blockchain data using 0xXplorer Ai.

1. Get Latest Block

To fetch details about the latest block on the blockchain, use the following commands:

Commands to Get Latest Block:

  • "Get latest block on [network name]"
  • "What is the latest block on [network name]?"
  • "Show latest block on [network name]"

2. Get Block Information

To fetch details about a specific block (e.g., block number, transactions, timestamp), use the following commands:

Commands to Get Block Info:

  • "Get Block [Block Number]"
  • "Get Block Info of block number [Block Number]"
  • "Get Block [Block Number]on [network name]"
  • "Get Block Info of block number [Block Number]on [network name]"

Gas Fees with 0xXplorer Ai ⛽

Gas fees are a critical aspect of blockchain transactions, and 0xXplorer Ai makes it easy to estimate, fetch, and optimize gas fees for your transactions. Whether you're sending ETH, interacting with smart contracts, or deploying dApps, here’s how you can manage gas fees effectively using 0xXplorer Ai.

1. Fetch Current Gas Fees

To fetch the current gas fee on the network, use the following commands:

  • "current gas fees on [network name]"
  • "What’s the current gas fee on [network name]?"

2. Estimate Gas Fees for the Next Block

To estimate the gas fee for a transaction in the next block, use the following commands:

Commands to Estimate Gas Fees:

  • "Estimate gas fee for next block on [network name]"
  • "EGet gas estimate for next block on [network name]"
  • "What’s the gas fee for the next block [network name]?"

3. Fetching Fee History

To fetch the fee history for a specific blockchain, use the following commands:

Commands to Fetch Fee History:

  • "Get fee history for [network name]"
  • "Show gas fee history for [network name]"
  • "What’s the fee history for [network name]?"

Real-Time Data with 0xXplorer Ai 📈

0xXplorer Ai provides real-time data to keep you updated on cryptocurrency prices, the latest news, and more. Whether you're tracking market trends, staying informed about blockchain developments, or planning your next investment, here’s how you can access real-time data using 0xXplorer Ai.

1. Fetch Current Cryptocurrency Prices

To fetch the current price of a cryptocurrency, use the following commands:

  • "price of [Currency Name or Symbol]"
  • "current price of [Currency Name or Symbol]"
  • "what is current price of [Currency Name or Symbol]?"

2. Fetch Latest News

To fetch the latest news on blockchain, technology, finance, or global events, use the following commands:

Commands to Fetch Latest News:

  • "Get latest news"
  • "Show recent news"
  • "What’s the latest blockchain news?"

Smart Contract Interaction with 0xXplorer Ai 🤖

0xXplorer Ai empowers you to interact with smart contracts seamlessly. Whether you're fetching contract details, reading functions, compiling code, or deploying contracts, here’s a comprehensive guide on how to use 0xXplorer Ai for smart contract interactions.

1. Fetch Contract ABI

The Application Binary Interface (ABI) is a JSON file that defines how to interact with a smart contract. To fetch the ABI of a contract, use the following commands:

Commands to Fetch Contract ABI:

  • "Get ABI of [Contract Address] on [network name]"
  • "What's the ABI of [Contract Address] on [network name]?"

2. Fetch Contract Source Code

To fetch the source code of a verified contract, use the following commands:

Commands to Fetch Contract Source Code:

  • "Get source code of [Contract Address] on [network name]"
  • "What's the source code of [Contract Address] on [network name]?"

3. Read Contract Functions

To read data from a contract’s functions (e.g., fetching balances or states), use the following commands:

Commands to Read Contract Functions:

  • "Read function [function name] of [contract Address] on[network name]"
  • "What’s the result of[function name] of [contract Address] on[network name]"

4. Compile a Contract

To compile a smart contract, use the following commands:

Commands to Compile a Contract:

  • "Compile this contract:[Solidity Code]"
  • "Can you compile this contract?[Solidity Code]"

5. Deploy a Contract

To deploy a compiled contract to a blockchain network, use the following commands:

Commands to Deploy a Contract:

  • "Deploy this contract"
  • "Deploy this solidity [solidity code]"