QuickNode API Guide

    QuickNode Node and API Guide with LiveQuery that teaches you how to fetch token balances and wallet transactions, etc and parsing JSON

    Loading...
    Loading...
    db_img
    Loading...

    Hi there! Welcome to the QuickNode API guide for data dashboard analysis. In this guide, we'll explore how to leverage QuickNode APIs and nodes to analyze token balances and transactions for a16z, a prominent TradFi and Crypto fund.

    We'll be utilizing the following QuickNode APIs:

    1. quicknode_ethereum_tokens.get_wallet_token_balance
    2. ethereum_mainnet.udf_get_token_balance
    3. quicknode_ethereum_tokens.get_transactions_by_address

    Our goal is to analyze a16z's token balances to gain insights into their portfolio, as well as to retrieve the latest transactions, including the addresses that have transferred to the wallet and the transactions made by the a16z wallet, ordered by date and other factors.

    It's important to note that this dashboard focuses on a single wallet owned by a16z, specifically the wallet with the address 0x0f50D31B3eaefd65236dd3736B863CfFa4c63C4E, which has been labeled as a16z by Arkham Intel.

    Step by Step Explanation
    db_img
    First: Flipside Steps

    To get started, the first step is to sign up on Flipside. Once your account is created, navigate to the 'Products' tab and select 'LiveQuery'. Click on 'QuickNode' and follow the integration steps outlined here to seamlessly integrate your Flipside Account with QuickNode.

    After integration, return to the 'Products' tab and select 'Studio'. Click the '+' icon at the top left and choose 'Query' to begin creating a query.

    Let's start with an example using quicknode_ethereum_tokens.get_wallet_token_balance to fetch the native ETH token balance of a wallet.

    To access quicknode_ethereum_tokens.get_wallet_token_balance, navigate to the Studio menu and click on the small orange lightning icon at the bottom. You'll find the function listed, resembling the image on the right.

    db_img
    Loading...
    db_img

    You can access the token balance code by clicking on the chart titled a16z example token balance that initially runs the code with the address. After running the code (you can change the ETH address if needed), you'll receive a JSON response containing the nativeBalance, which represents the current ETH amount held in the wallet. You can refer to the second picture on the right for visual guidance.

    If you're interested in parsing the JSON to extract specific information in just a few lines of code, simply click on the chart title labeled a16z ETH Native Balance Explained with Comments. There, you'll find a detailed, step-by-step explanation within the code to guide you through the parsing process.

    Loading...
    db_img

    Done! You successfully have the native ETH balance of an ETH address using QuickNode and LiveQuery. Congrats!

    Now, since you already have your Flipside account integrated with QuickNode, please go to the Tab in this dashboard called UDF Token Balance to see the steps for the other feature. Do that as well with the other Tab that says Wallet Transactions.

    db_img