github.com/0xPolygon/supernets2-node@v0.0.0-20230711153321-2fe574524eaa/jsonrpc/types/query.go (about)

     1  package types
     2  
     3  import (
     4  	"github.com/ethereum/go-ethereum/common"
     5  )
     6  
     7  // LogFilterRequest represents a log filter request.
     8  type LogFilterRequest struct {
     9  	BlockHash *common.Hash  `json:"blockHash,omitempty"`
    10  	FromBlock *string       `json:"fromBlock,omitempty"`
    11  	ToBlock   *string       `json:"toBlock,omitempty"`
    12  	Address   interface{}   `json:"address,omitempty"`
    13  	Topics    []interface{} `json:"topics,omitempty"`
    14  }