vechain-sdk-js icon indicating copy to clipboard operation
vechain-sdk-js copied to clipboard

refactor: default event parameters

Open Valazan opened this issue 8 months ago • 0 comments

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.

Valazan avatar Jun 03 '24 08:06 Valazan