|
tcolonel |
Make it possible to set an array for topic0 / topic1 / topic2 in the getlogsbyaddress API endpoint.
Instead of
const options = {
address: 'address',
chain: 'bsc',
topic0: 'address',
topic1: 'address',
topic2: 'address'
};
something like this:
const options = {
address:,
chain: 'bsc',
topic0: ['address', 'address', ...],
topic1: ['address', 'address', ...],
topic2: ['address', 'address', ...]
};
or
const options = {
address: 'address',
chain: 'bsc',
topics: [
'address',
['address', 'address', ...],
['address', 'address', ...]
};
Like in specification: eth.wiki/json-rpc/API#a-note-on-specifying-topic-filters
Thanks.
Activity Newest / Oldest
tcolonel
>> Where are you requesting this functionality? In the event sync feature? Or in the API?
docs.moralis.io/moralis-server/web3-sdk/native#getlogsbyaddress-new
Filip Martinsson
Where are you requesting this functionality? In the event sync feature? Or in the API?
tcolonel
>> Where are you requesting this functionality? In the event sync feature? Or in the API?
docs.moralis.io/moralis-server/web3-sdk/native#getlogsbyaddress-new