Serialize a TopicFilter into the JSON-RPC format expected by statement store nodes.
"any"
{ matchAll: [...] }
{ matchAll: ["0x...", ...] }
{ matchAny: [...] }
{ matchAny: ["0x...", ...] }
The topic filter to serialize.
A JSON-RPC compatible filter value.
Serialize a TopicFilter into the JSON-RPC format expected by statement store nodes.
"any"is passed through as the string"any".{ matchAll: [...] }becomes{ matchAll: ["0x...", ...] }with hex-encoded topics.{ matchAny: [...] }becomes{ matchAny: ["0x...", ...] }with hex-encoded topics.