search_example

Returns network and subject on Ethereum: network, protocol, address, annotation, name, message hash and hash.

By Omkar Acharekar · saved 16 August 2023 · run 16 times · Bitquery API v1

What it returns

The query

query MyQuery {
  search(string: "0x11e972323b2eafd63241f5256c460fc07b655f8bd3b19e73389d1e23312c66d6", network: ethereum) {
    network {
      network
      protocol
    }
    subject {
      ... on Address {
        address
        annotation
      }
      ... on Currency {
        address
        name
      }
      ... on MessageHash {
        __typename
        messageHash
      }
      ... on SmartContract {
        address
        annotation
      }
      ... on TransactionHash {
        __typename
        hash
      }
    }
  }
}

Similar queries