From 2b3b67cd71cfbfae96433ef7c6458c10b8fe73d4 Mon Sep 17 00:00:00 2001 From: divyasshree-BQ <124589840+divyasshree-BQ@users.noreply.github.com> Date: Fri, 1 Mar 2024 12:59:38 +0530 Subject: [PATCH] Update instructions.md --- docs/Examples/Solana/instructions.md | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/docs/Examples/Solana/instructions.md b/docs/Examples/Solana/instructions.md index 0456595..c52effd 100644 --- a/docs/Examples/Solana/instructions.md +++ b/docs/Examples/Solana/instructions.md @@ -131,3 +131,33 @@ query ($network: SolanaNetwork!, $limit: Int!, $offset: Int!) { "network": "solana" } ``` +## Recent Solana Transactions + +The query provided retrieves the latest transactions on the Solana blockchain following block number `251356591`. It details the count of instructions within each transaction, identifies the account that initiated the transaction, and lists the unique signature that distinguishes the transaction. Additionally, it specifies the number of inner instructions, which are instructions nested within other instructions, among other transaction-related information. You can run the query [here](https://ide.bitquery.io/Recent-Solana-Transactions) + +``` +query MyQuery { + solana(network: solana) { + transactions( + options: {limit: 10, desc: "block.timestamp.time"} + height: {gt: 251356591} + ) { + block { + timestamp { + time + } + hash + } + transactionFee + transactionIndex + signature + success + signer + feePayer + accountsCount + instructionsCount + innerInstructionsCount + } + } +} +```