sol_tx

Returns the latest 10 transactions and transfers on Solana, where signer is 4xDsme…du71, receiver address is 4xDsme…du71 and sender address is 4xDsme…du71: signature, timestamp time, block height, transaction fee, success, transaction signature, sender address and 4 more fields.

By George · saved 2 May 2024 · run 3 times · Bitquery API v1

What it returns

Filters

The query

query ($network: SolanaNetwork!, $limit: Int!, $offset: Int!, $signer: String) {
  solana(network: $network) {
    transactions(
      options: {limit: $limit, offset: $offset, desc: "block.height"}
      signer: {is: $signer}
    ) {
      signature
      block {
        timestamp {
          time
        }
        height
      }
      transactionFee
      success
    }
    inflowTransfer: transfers(
      options: {limit: $limit, offset: $offset, desc: "block.height"}
      receiverAddress: {is: $signer}
    ) {
      block {
        height
        timestamp {
          time
        }
      }
      transaction {
        signature
      }
      sender {
        address
      }
      currency {
        symbol
        address
      }
      amount
      transferType
    }
    outflowTransfer: transfers(
      options: {limit: $limit, offset: $offset, desc: "block.height"}
      senderAddress: {is: $signer}
    ) {
      block {
        height
        timestamp {
          time
        }
      }
      transaction {
        signature
      }
      sender {
        address
      }
      currency {
        symbol
        address
      }
      amount
      transferType
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "solana",
  "signer": "4xDsmeTWPNjgSVSS1VTfzFq3iHZhp77ffPkAmkZkdu71",
  "from": "2024-04-25",
  "till": "2024-05-02T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries