Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.59 KB

File metadata and controls

28 lines (22 loc) · 1.59 KB

OpenapiClient::InputGetLogs

Properties

Name Type Description Notes
schema String A URL to the JSON Schema for this object. [optional][readonly]
address String The contract address or a list of addresses from which logs should originate [optional]
block_hash String With the addition of EIP-234, blockHash is a new filter option that restricts the logs returned to the block number referenced in the blockHash. Using the blockHash field is equivalent to setting the fromBlock and toBlock to the block number the blockHash references. If blockHash is present in the filter criteria, neither fromBlock nor toBlock is allowed [optional]
from_block String The block number as a string in decimal format or tags. The supported tag values include earliest for the earliest/genesis block, latest for the latest mined block, pending for the pending state/transactions. [optional]
to_block String The block number as a string in decimal format or tags. The supported tag values include earliest for the earliest/genesis block, latest for the latest mined block, pending for the pending state/transactions. [optional]
topics Array<String> An array of DATA topics and also, the topics are order-dependent. Visit this official page to learn more about topics [optional]

Example

require 'openapi_client'

instance = OpenapiClient::InputGetLogs.new(
  schema: null,
  address: null,
  block_hash: null,
  from_block: null,
  to_block: null,
  topics: null
)