Add WhisperFilterOptions
This commit is contained in:
parent
ef172a857a
commit
51df75a296
|
@ -120,6 +120,10 @@ type
|
||||||
address*: Option[EthAddress] # (optional) contract address or a list of addresses from which logs should originate.
|
address*: Option[EthAddress] # (optional) contract address or a list of addresses from which logs should originate.
|
||||||
topics*: Option[seq[FilterData]] # (optional) list of DATA topics. Topics are order-dependent. Each topic can also be a list of DATA with "or" options.
|
topics*: Option[seq[FilterData]] # (optional) list of DATA topics. Topics are order-dependent. Each topic can also be a list of DATA with "or" options.
|
||||||
|
|
||||||
|
WhisperFilterOptions* = object
|
||||||
|
to*: Option[WhisperIdentityStr]
|
||||||
|
topics*: seq[HexDataStr]
|
||||||
|
|
||||||
WhisperPost* = object
|
WhisperPost* = object
|
||||||
# Parameter from user
|
# Parameter from user
|
||||||
source*: Option[WhisperIdentityStr] # (optional) the identity of the sender.
|
source*: Option[WhisperIdentityStr] # (optional) the identity of the sender.
|
||||||
|
|
Loading…
Reference in New Issue