getEvmSmartContractCallsByTxHashes

Returns smart contract calls on Ethereum, where height is above 0, sorted by block height: address address, annotation, currency name, currency symbol, token type, protocol type, smart contract method name and 10 more fields.

By Nick · saved 25 February 2025 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query (
        $network: EthereumNetwork!
        $txHashes: [String!]!
        $limit: Int!
        $offset: Int!
        $from: ISO8601DateTime
        $till: ISO8601DateTime
        $fromHeight: Int = 0
      ) {
        ethereum(network: $network) {
          smartContractCalls(
            txHash: { in: $txHashes }
            options: { limit: $limit, offset: $offset, asc: "block.height" }
            date: { since: $from, till: $till }
            height: { gt: $fromHeight }
          ) {
            smartContract {
              address {
                address
                annotation
              }
              currency {
                name
                symbol
                tokenType
              }
              protocolType
            }
            smartContractMethod {
              name
              signature
              signatureHash
            }
            transaction {
              hash
            }
            caller {
              address
              annotation
              smartContract {
                currency {
                  decimals
                  name
                  symbol
                  tokenType
                }
                protocolType
              }
            }
            block {
              timestamp {
                iso8601
              }
              height
            }
            callDepth
            external
            success
          }
        }
      }

Similar queries