VenlySubProviderOptions

Signature:

VenlySubProviderOptions {
  clientId: string;
  environment?: string;
  secretType?: SecretType;
  authenticationOptions?: AuthenticationOptions
  skipAuthentication: boolean;
  pollingInterval?: number;
}

Parameters:

clientIdThe clientId to connect to Venly
environmentThe environment to which you want to connect, possible values are 'staging' and 'prod'. Default set to 'prod'.
secretTypeThe secret type to use, allowed for web3 provider: ETHEREUM, BSC, MATIC
authenticationOptionsThe options to use for authentications
skipAuthenticationBoolean flag that indicates if you want to authenticate immediately or revert to checkAuthenticated
pollingInterval

When using subscriptions, this is the interval used for polling for updates.

⚠️ when set too low, you will be throttled (Default: 15s)