Solana Transfers for Account

Returns the latest 10 transfers on Solana, where receiver address is 4RN8VD…4F61 and sender address is 4RN8VD…4F61: amount, currency address, decimals, currency name, currency symbol, token ID, token type and 10 more fields.

By Roberto · saved 15 December 2022 · run 50 times · Bitquery API v1

What it returns

Filters

The query

query MyQuery($block_height: Int, $limit: Int, $offset: Int, $address: String) {
  solana(network: solana) {
    inbound: transfers(
      options: {limit: $limit, offset: $offset, desc: "block.height"}
      receiverAddress: {is: $address}
      height: {gteq: $block_height}
    ) {
      amount
      currency {
        address
        decimals
        name
        symbol
        tokenId
        tokenType
      }
      date {
        date
      }
      receiver {
        address
        mintAccount
        type
      }
      sender {
        address
        mintAccount
        type
      }
      transferType
      tokenAccount
      block {
        height
      }
    }
    outbound: transfers(
      options: {limit: $limit, offset: $offset, desc: "block.height"}
      senderAddress: {is: $address}
      height: {gteq: $block_height}
    ) {
      amount
      currency {
        address
        decimals
        name
        symbol
        tokenId
        tokenType
      }
      date {
        date
      }
      receiver {
        address
        mintAccount
        type
      }
      sender {
        address
        mintAccount
        type
      }
      transferType
      tokenAccount
      block {
        height
      }
    }
  }
}

Variables

{
  "block_height": 0,
  "limit": 10,
  "offset": 0,
  "address": "4RN8VDVsHoXkyMToBupL6C4R7o3LrQGWJoLWizBD4F61"
}

Similar queries