vechain / vechain-sdk-js

The official JavaScript SDK for VeChain.
19 stars 6 forks source link

refactor: default event parameters #941

Open Valazan opened 1 month ago

Valazan commented 1 month ago

Currently. all the filters parameters must be set by hand. We need some defaults value that let eveything to work out of the box.

In particular:

 range: 
              {
                    unit: 'block',
                    from: 0,
                    to: (bestBlock as CompressedBlockDetail).number
                }

and limit, must be set to default values.

Otherwise, we are not able to filter properly the events.