Skip to content

Add support for custom polling interval

Pre-release
Pre-release

Choose a tag to compare

@pixelmatrix pixelmatrix released this 25 Oct 21:01
2b777b7

New Features

  • Adds support for a custom block polling interval (default is 4s) when requesting a new provider:
// Will create a provider that polls for new blocks every 10 seconds
const provider = bitski.getProvider('mainnet', { pollingInterval: 10000 });

Bug Fixes

  • Fixes an issue with signing in when the user has a previous id_token