sol swop 1 trans 2

Returns balance updates and DEX trades on Solana, where transaction signature is 31vw6C…BB6R: block time, parent slot, post balance, pre balance, account address, token owner, balance update amount and 5 more fields.

By Tender · saved 6 May 2024 · run 13 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    BalanceUpdates(
      where: {Transaction: {Signature: {is: "31vw6CeLj9SbtJUpgcdXa4KD4BtrCwvJFU4PD1h2XcDs9pa9fATSbnTtEzhMrmGRRZh3P8VJ28HuaYdvks2tBB6R"}}}
    ) {
      Block {
        Time
        ParentSlot
      }
      BalanceUpdate {
        PostBalance
        PreBalance
        Account {
          Address
          Token {
            Owner
          }
        }
        Amount
      }
    }
    DEXTrades(
      where: {Transaction: {Signature: {is: "31vw6CeLj9SbtJUpgcdXa4KD4BtrCwvJFU4PD1h2XcDs9pa9fATSbnTtEzhMrmGRRZh3P8VJ28HuaYdvks2tBB6R"}}}
    ) {
      Trade {
        Dex {
          ProtocolName
        }
        Buy {
          Amount
          Currency {
            Symbol
          }
        }
        Sell {
          Currency {
            Symbol
          }
          Amount
        }
      }
    }
  }
}

Similar queries