SP Dividends

Get the SP divis

Returns the latest 100 transfers on Ethereum and BNB Chain, where sender is 0x9db8…0d07, receiver is 0x3de6…426f, 0x8632…72e0 or 3 more and currency is SPARTA: timestamp time, block height, receiver address, annotation, currency address, currency symbol, amount and 2 more fields.

By spartanprotocol · saved 16 February 2021 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    transfers(options: {desc: "block.timestamp.time", asc: "currency.symbol", limit: $limit, offset: $offset}, date: {since: $from, till: $till}, amount: {gt: 0}, currency: {is: "SPARTA"}, sender: {is: $address}, receiver: {in: ["0x3de669c4f1f167a8afbc9993e4753b84b576426f", "0x86320acc1169e5a61a8b365aaba0f8ebadc872e0", "0x119c70f4605e07e4bb229e2360e203a1bbd52ce4", "0xbf6728454b96a36c720c1bbcae5773aaafd6959b", "0x2720ec9809f77e040d4682cf9f7294276b9ccc56"]}) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      address: receiver {
        address
        annotation
      }
      currency {
        address
        symbol
      }
      amount
      transaction {
        hash
      }
      external
    }
  }
}

Variables

{"limit":100,"offset":10,"network":"bsc","address":"0x9db88952380c0e35b95e7047e5114971dff20d07","from":null,"till":null,"dateFormat":"%Y-%m"}

Similar queries