arguments avalanche

Returns arguments on Ethereum and Avalanche, where smart contract address is 0x1d34…1e20, smart contract method is 45cd989b and date since 2021-02-10, sorted by date date: date date and count big int.

By Aman · saved 16 March 2022 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $method: String!, $dateFormat: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
	  ethereum(network: $network) {
		arguments(
		  options: {asc: "date.date"}
		  date: {since: $from, till: $till}
		  smartContractAddress: {is: $address}
		  smartContractMethod: {is: $method}
		) {
		  date {
			date(format: $dateFormat)
		  }
		  external_calls: countBigInt(external: true)
		  internal_calls: countBigInt(external: false)
		  external_callers: countBigInt(uniq: callers, external: true)
		  internal_callers: countBigInt(uniq: callers, external: false)
		  senders: countBigInt(uniq: senders)
		  txs: countBigInt(uniq: txs)
		}
	  }
	}

Variables

{"limit": 10,
	  "offset": 0,
	  "network": "avalanche",
	  "address": "0x1d34b421a5ede3e300d3b8bcf3be5c6f45971e20",
	  "nativeCurrency": "AVAX",
	  "method": "45cd989b",
	  "from": "2021-02-10",
	  "till": "2023-03-11T23:59:59",
	  "dateFormat": "%Y-%m-%d"}

Similar queries