sol transfer

Returns 100 transfers on Solana, where sender address is Htp9MG…4wxV, receiver address is Htp9MG…4wxV and transfer type is transfer: sender address, receiver address, block height, iso8601, currency address, currency name, decimals and 7 more fields.

By jin · saved 18 March 2024 · run 13 times · Bitquery API v1

What it returns

Filters

The query

query get_transaction($address: String, $offset: Int, $since: ISO8601DateTime, $till: ISO8601DateTime, $limit: Int) {
  solana {
    sender: transfers(
      senderAddress: {is: $address}
      time: {till: $till, since: $since}
      options: {limit: $limit, offset: $offset}
      transferType: {is: transfer}
    ) {
      sender {
        address
      }
      receiver {
        address
      }
      block {
        height
        timestamp {
          iso8601
        }
      }
      currency {
        address
        name
        decimals
        symbol
        tokenId
        tokenType
      }
      transaction {
        fee
        success
        hash: signature
      }
      amount
    }
    receiver: transfers(
      receiverAddress: {is: $address}
      time: {till: $till, since: $since}
      options: {limit: $limit, offset: $offset}
      transferType: {is: transfer}
    ) {
      sender {
        address
      }
      receiver {
        address
      }
      block {
        height
        timestamp {
          iso8601
        }
      }
      currency {
        address
        name
        decimals
        symbol
        tokenId
        tokenType
      }
      transaction {
        fee
        success
        hash: signature
      }
      amount
    }
  }
}

Variables

{
  "address": "Htp9MGP8Tig923ZFY7Qf2zzbMUmYneFRAhSp7vSg4wxV",
  "limit": 100,
  "offset": 0,
  "since": "2023-12-15",
  "till": "2023-12-16"
}

Similar queries