VenlySubProviderOptions

Signature:

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

Parameters:

clientId

The clientId to connect to Venly

environment

The environment to which you want to connect, possible values are 'staging' and 'prod'. Default set to 'prod'.

secretType

The secret type to use, allowed for web3 provider: ETHEREUM, BSC, MATIC

authenticationOptions

The options to use for authentications

skipAuthentication

Boolean 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)