Example of search

Returns network and subject: network, address, annotation, symbol, name, token ID, token type and 3 more fields.

By Aleksey · saved 3 December 2020 · run 10 times · Bitquery API v1

What it returns

The query

query {
  search(string: "WETH"){
    network{
      network
    }
subject{
            __typename
            ... on Address {
              address
              annotation
            }
            ... on Currency {
              symbol
              name
              address
              tokenId
              tokenType
            }
            ... on SmartContract {
              address
              annotation
              contractType
              protocol
            }
            ... on TransactionHash {
              hash
            }
          }
  }
}

Similar queries