alexis davis

payment, deposits,assets

Returns address details and blocks on Tron, Bitcoin and Algorand, where block reward is 1.5: balance, claimable rewards, protocol type, contract type, annotation, address, status and 23 more fields.

By alexis · saved 24 July 2023 · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  tron(network: tron) {
    address(address: {in: "", is: ""}) {
      balance(in: USD)
      claimableRewards(in: USD)
      smartContract {
        protocolType
        contractType
      }
      annotation
      address
    }
    blocks
    arguments(any: {external: true, signatureType: Function})
  }
  bitcoin(network: bitcoin)
  algorand(network: algorand) {
    address(address: {in: "", is: ""}) {
      status
      pendingRewards(in: USD)
      rewards(in: USD)
    }
    blocks(
      blockHash: {in: "", is: "", notIn: ""}
      currentProtocol: {in: ""}
      date: {before: "", between: "", in: "", after: ""}
      blockReward: {in: 1.5, between: 1.5, gteq: 1.5, is: 1.5}
      height: {}
      proposer: {in: ""}
    ) {
      any(of: date)
      currentProtocol
      expression(get: "")
      frac
      hash
      maximum(of: date, get: date)
      nextProtocolApprovals
      nextProtocolSwitchOn
      nextProtocolVoteBefore
      count(currentProtocol: {in: "", is: ""})
      minimum(of: date, get: date)
      previousBlockHash
      reward(calculate: maximum, currentProtocol: {in: "", is: ""}, in: USD)
      seed
      timestamp(time: {between: "", before: ""})
      txnRoot
      upgradeApprove
      upgradePropose
    }
    smartContractCalls(
      any: {date: {after: "", in: "", is: "", before: ""}, time: {in: "", is: ""}}
    ) {
      any(of: date)
      count(date: {is: "", in: ""}, txIndex: {in: 10, is: 10})
      genesisHash64
      lastRound
      maximum(of: date, get: date)
      note
    }
  }
  metrics(queryId: "") {
    id
    sqlRequestsCount
  }
}

Similar queries