trades_by_signature_

Returns DEX trades on Solana, where transaction signature is 5CD4Bp…RgWx: buy currency name, buy account address, buy amount, sell amount, sell currency mint address, program address, trade index and 3 more fields.

By Omkar_BQ · saved 14 November 2024 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana(network: solana) {
    DEXTrades(
      where: {Transaction: {Signature: {is: "5CD4Bpf82y4YBAPriEMcqKjKtEXzbegs9AvwuXf2X1V9gpjYPxFCq9Urs36xX2JG1Ha36d3FcCzs6GexZXxbRgWx"}}}
    ) {
      Trade {
        Buy {
          Currency {
            Name
          }
          Account {
            Address
          }
          Amount
        }
        Sell {
          Amount
          Currency {
            MintAddress
          }
        }
        Dex {
          ProgramAddress
        }
        Index
      }
      Instruction {
        Program {
          Name
          Method
        }
        Index
      }
    }
  }
}

Similar queries