Bitquery API icon

Bitquery API

Accède aux données blockchain multi-chaînes via l'API Bitquery - Transactions, UTXO, statistiques réseau

Bitquery API

AI-generated

Overview

This node interacts with the Bitquery API to fetch various blockchain data related to Solana and specific decentralized exchanges like Raydium and PumpFun. It supports multiple query types to retrieve data such as the latest pools created on Raydium or its launchpad, recent trades for a specific currency, top tokens by market cap change, and tokens about to graduate from PumpFun or Raydium launchpad. This node is useful for users who want to integrate real-time or recent blockchain data into their workflows for analytics, monitoring, or trading strategies.

Use Case Examples

  1. Retrieve the latest liquidity pools created on Raydium to monitor new market opportunities.
  2. Fetch the top 10 tokens by market cap change in the last 5 minutes from PumpFun to identify trending tokens.
  3. Get the latest trades for a specific currency on Raydium to analyze trading activity.

Properties

Name Meaning
Type De Requête Selects the type of blockchain data query to perform, such as latest pools, trades, or top tokens by market cap change.
Program Method Filters the query by a specific program method, used only when querying latest pools on Raydium.
Program Address Filters the query by a specific program address, used only when querying latest pools on Raydium.
Currency Mint Address The mint address of the currency to filter trades, used only when querying latest trades on Raydium.
Trade Limit The number of trades to retrieve, used only when querying latest trades on Raydium.
Tokens Limit The number of tokens to retrieve, used only when querying graduating tokens on PumpFun or Raydium.
Top Tokens Limit The number of top tokens to retrieve by market cap change, used only when querying PumpFun market cap changes.

Output

JSON

  • json - The JSON response data from the Bitquery API containing the requested blockchain information.

Dependencies

  • Bitquery API key credential

Troubleshooting

  • Common issues include invalid or missing API key credentials, resulting in authorization errors from the Bitquery API.
  • Incorrect or unsupported queryType values will cause the node to throw an error indicating the unsupported request type.
  • API errors returned from Bitquery are captured and thrown as node operation errors with the error details in the message.
  • To resolve errors, ensure the API key is valid and has sufficient permissions, and verify that the queryType and related parameters are correctly set.

Links

Discussion