declare const _default: "\nextend type Query {\n \"Selects an account.\"\n account(address: Address!): Account\n\n \"Selects a block based on either a number, hash or a tag.\"\n block(number: BlockNumber, hash: Bytes32, tag: BlockTag): Block\n\n \"Selects a block based on a reference block and an offset from it.\"\n blockOffset(number: BlockNumber, hash: Bytes32, tag: BlockTag, offset: Int!): Block\n\n \"Selects an arbitrary set of blocks based on their numbers or hashes.\"\n blocks(numbers: [BlockNumber], hashes: [Bytes32]): [Block]\n\n \"Selects a range of blocks.\"\n blocksRange(numberRange: [BlockNumber], hashRange: [Bytes32]): [Block]\n\n \"Selects a transaction by hash.\"\n transaction(hash: Bytes32): Transaction\n\n \"Returns the health of the server.\"\n health: String!\n}\n\n\"\"\"\nAn Ethereum Block.\n\"\"\"\ntype Block {\n \"The block number.\"\n number: BlockNumber!\n\n \"The block hash.\"\n hash: Bytes32!\n\n \"The parent block.\"\n parent: Block\n\n \"The block nonce.\"\n nonce: String!\n\n \"The block's transactions trie root.\"\n transactionsRoot: Bytes32!\n\n \"The number of transactions in the block.\"\n transactionCount: Int!\n\n \"The block's state trie root.\"\n stateRoot: Bytes32!\n\n \"The receipt trie root.\"\n receiptsRoot: Bytes32!\n\n \"The miner's account.\"\n miner: Account!\n\n \"Any extra data attached to the block.\"\n extraData: String\n\n \"The cumulative gas limit of all transactions in this block.\"\n gasLimit: Long\n\n \"The cumulative gas used of all transactions in this block.\"\n gasUsed: Long\n\n \"The timestamp when block was mined, in seconds after epoch.\"\n timestamp: String\n\n \"The bloom filter for the logs contained in this block.\"\n logsBloom: String\n\n \"The mix hash for this block.\"\n mixHash: Bytes32\n\n \"The difficulty of this block.\"\n difficulty: Long\n\n \"The total difficulty of the canonical chain this block is part of.\"\n totalDifficulty: Long\n\n \"The ommer blocks (also known as 'uncles').\"\n ommers: [Block]\n\n \"Gets a single transaction from this block, addressed by its position in the block.\"\n transactionAt(index: Int!): Transaction\n\n \"Gets all transactions from this block. If a filter is passed, only the transactions matching the filter will be returned.\"\n transactions(filter: TransactionFilter): [Transaction]\n\n \"\"\"\n Gets all transactions from this block as long as they involve any of the addresses specified.\n If a filter is passed, only the transactions matching the filter will be returned.\n \"\"\"\n transactionsInvolving(participants: [Address]!, filter: TransactionFilter): [Transaction]\n\n \"\"\"\n Gets all transactions from this block where the provided addresses take the indicated roles.\n If a filter is passed, only the transactions matching the filter will be returned.\n \"\"\"\n transactionsRoles(from: Address, to: Address, filter: TransactionFilter): [Transaction]\n}\n\n\"\"\"\nNamed block identifiers.\n\"\"\"\nenum BlockTag {\n EARLIEST\n LATEST\n PENDING\n}\n\n\"\"\"\nInput object to select a block by offset.\n\"\"\"\ninput BlockOffset {\n number: Long\n hash: Bytes32\n offset: Int\n}\n\n\"\"\"\nThe storage of this contract.\n\nProvides fluent accessors for solidity contract storage. Four data types are supported:\nDynamic arrays, fixed arrays, maps with string keys, and maps with numeric keys.\n\nThe algorithm to calculate the storage key varies for each data type.\n\"\"\"\ntype Storage {\n \"Gets the value at this storage slot.\"\n value(at: Int!): String\n\n \"\"\"\n Steps into a map at this storage slot.\n keyType can be address, number, or string.\n \"\"\"\n solidityMap(at: Int!, keyType: KeyType!): SolidityMap\n\n \"Steps into a fixed array at this storage slot.\"\n solidityFixedArray(at: Int!): SolidityFixedArray\n\n \"Steps into a dynamic array at this storage slot.\"\n solidityDynamicArray(at: Int!): SolidityDynamicArray\n}\n\n\"\"\"\nA solidity map.\n\"\"\"\ntype SolidityMap {\n \"Gets the value returned by this key.\"\n value(at: String!): String\n\n \"\"\"\n Steps into the map returned by this key.\n keyType can be address, number, or string.\n \"\"\"\n solidityMap(at: String!, keyType: KeyType!): SolidityMap\n\n \"Steps into the fixed array returned by this key.\"\n solidityFixedArray(at: String!): SolidityFixedArray\n\n \"Steps into the dynamic array returned by this key.\"\n solidityDynamicArray(at: String!): SolidityDynamicArray\n}\n\n\"\"\"\nA fixed solidity array.\n\"\"\"\ntype SolidityFixedArray {\n \"Gets value at this index.\"\n value(at: Int!): String\n\n \"\"\"\n Steps into the map at this index.\n keyType can be address, number, or string.\n \"\"\"\n solidityMap(at: Int!, keyType: KeyType!): SolidityMap\n\n \"Steps into the fixed array at this index.\"\n solidityFixedArray(at: Int!): SolidityFixedArray\n\n \"Steps into the dynamic array at this index.\"\n solidityDynamicArray(at: Int!): SolidityDynamicArray\n}\n\n\"\"\"\nA dynamic solidity array.\n\"\"\"\ntype SolidityDynamicArray {\n \"Gets value at this index.\"\n value(at: Int!): String\n\n \"\"\"\n Steps into the map at this index.\n keyType can be address, string, or number.\n \"\"\"\n solidityMap(at: Int!, keyType: KeyType!): SolidityMap\n\n \"Steps into the fixed array at this index.\"\n solidityFixedArray(at: Int!): SolidityFixedArray\n\n \"Steps into the dynamic array at this index.\"\n solidityDynamicArray(at: Int!): SolidityDynamicArray\n}\n\n\"\"\"\nAn Ethereum account.\n\"\"\"\ntype Account {\n \"The address of this account\"\n address: Address\n\n \"The balance of this account\"\n balance(unit: Unit): Long\n\n \"The code behind this account\"\n code: String\n\n \"The type of this account\"\n type: AccountType\n\n \"The number of transactions this account has sent\"\n transactionCount: Int\n\n \"The storage of this account\"\n storage: Storage\n}\n\n\"\"\"\nA filter for logs.\n\"\"\"\ninput LogFilter {\n \"\"\"\n Only selects logs that are published under the given topics.\n\n Items within an inner list are combined with an AND, and items on the outer list are combined with OR.\n\n For example: { topics: [[\"0x1234...\", \"0xabcd...\"], [\"0xbcde...\"]] } will return all logs published under\n topics \"0x1234...\" AND \"0xabcd...\", as well as those published under topic \"0xbcde...\"\n \"\"\"\n topics: [[Bytes32]]\n}\n\n\"\"\"\nAn Ethereum transaction.\n\"\"\"\ntype Transaction {\n \"Transaction hash\"\n hash: Bytes32!\n\n \"Transaction nonce\"\n nonce: Long!\n\n \"The index of the transaction within the block\"\n index: Int!\n\n \"Sender of this transaction\"\n from: Account\n\n \"Recipient of this transaction\"\n to: Account\n\n \"Value of the transaction\"\n value(unit: Unit): Float!\n\n \"Price set for each gas unit\"\n gasPrice(unit: Unit): Float!\n\n \"The amount of gas expended in the transaction\"\n gas: Long!\n\n \"The input data to the transaction\"\n inputData: String\n\n \"The status of the transaction\"\n status: TransactionStatus\n\n \"The block the transaction is contained in\"\n block: Block!\n\n \"The logs emitted by this transaction.\"\n logs(filter: LogFilter): [Log]\n\n \"\"\"\n The decoded transaction.\n\n This is a best-effort interpretation of the transaction data. There may be cases where a transaction cannot be unambiguously decoded.\n For example, because some standards share function signatures, a single transaction may appear to match several different standards.\n \"\"\"\n decoded: DecodedTransaction\n\n \"Contract created by this transaction\"\n createdContract: Account\n}\n\n\"\"\"\nAn Ethereum log.\n\"\"\"\ntype Log {\n \"The index of this log in the block's logs array.\"\n index: Int!\n\n \"The account that emitted this log.\"\n account: Account!\n\n \"The topics under which this log was published.\"\n topics: [String]\n\n \"The data within this log statement.\"\n data: String\n\n \"The block this log was contained in.\"\n block: Block!\n\n \"The transaction that emitted this log.\"\n transaction: Transaction!\n\n \"\"\"\n The decoded log.\n\n This is a best-effort interpretation of the log data. There may be cases where a log cannot be unambiguously decoded.\n For example, because some standards share event signatures, a single log may appear to match several different standards.\n \"\"\"\n decoded: DecodedLog\n}\n\n\"\"\"\nThe status or outcome of the transaction.\n\"\"\"\nenum TransactionStatus {\n \"Transaction failed\"\n FAILED\n\n \"Transaction was successful\"\n SUCCESS\n\n \"Transaction has not been mined yet\"\n PENDING\n}\n\nenum KeyType {\n address\n number\n string\n}\n\n\"\"\"\nA filter for transactions. Setting multiple criteria is equivalent to combining them with an AND operator.\n\"\"\"\ninput TransactionFilter {\n \"Only selects transactions that emit logs.\"\n withLogs: Boolean\n\n \"Only selects transactions that received input data.\"\n withInput: Boolean\n\n \"Only selects transactions that created a contract.\"\n contractCreation: Boolean\n}\n\n\"\"\"\nEntities are a way to group related standards into one functional concept, e.g. ERC20, ERC777 refer to the 'token' entity,\nthe ENS standard refers to the 'domain' entity.\n\"\"\"\nenum Entity {\n token\n}\n\ninterface DecodedTransaction {\n \"The entity this transaction refers to. See documentation on the Entity type.\"\n entity: Entity\n\n \"The ERC standard (or official name) this transaction appears to comply with.\"\n standard: String\n\n \"The name of the function invoked in this transaction.\"\n operation: String\n}\n\ninterface DecodedLog {\n \"The entity this log refers to. See documentation on the Entity type.\"\n entity: Entity\n\n \"The ERC standard (or official name) this log appears to comply with.\"\n standard: String\n\n \"The name of the event associated with this log (i.e. first log topic).\"\n event: String\n}\n\n\"\"\"\nType of account.\n\"\"\"\nenum AccountType {\n CONTRACT\n EXTERNALLY_OWNED\n}\n\nenum Unit {\n \"base unit\"\n wei\n \"1 kwei == 1_000 wei\"\n kwei\n \"1 babbage == 1_000 wei\"\n babbage\n \"1 femtoether == 1_000 wei\"\n femtoether\n \"1 mwei == 1_000_000 wei\"\n mwei\n \"1 lovelace == 1_000_000 wei\"\n lovelace\n \"1 picoether == 1_000_000 wei\"\n picoether\n \"1 gwei == 1_000_000_000 wei\"\n gwei\n \"1 shannon == 1_000_000_000 wei\"\n shannon\n \"1 nanoether == 1_000_000_000 wei\"\n nanoether\n \"1 nano == 1_000_000_000 wei\"\n nano\n \"1 szabo == 1_000_000_000_000 wei\"\n szabo\n \"1 microether == 1_000_000_000_000 wei\"\n microether\n \"1 micro == 1_000_000_000_000 wei\"\n micro\n \"1 finney == 1_000_000_000_000_000 wei\"\n finney\n \"1 milliether == 1_000_000_000_000_000 wei\"\n milliether\n \"1 milli == 1_000_000_000_000_000 wei\"\n milli\n \"1 ether == 1_000_000_000_000_000_000 wei\"\n ether\n \"1 kether == 1_000_000_000_000_000_000_000 wei == 1_000 ether\"\n kether\n \"1 grand == 1_000_000_000_000_000_000_000 wei == 1_000 ether\"\n grand\n \"1 mether == 1_000_000_000_000_000_000_000_000 wei == 1_000_000 ether\"\n mether\n \"1 gether == 1_000_000_000_000_000_000_000_000_000 wei == 1_000_000_000 ether\"\n gether\n \"1 tether == 1_000_000_000_000_000_000_000_000_000_000 wei == 1_000_000_000_000 ether\"\n tether\n}\n\nscalar Long\n\nscalar Bytes32\n\nscalar BlockNumber\n\nscalar Address\n"; export default _default; //# sourceMappingURL=index.d.ts.map