VenlySubProviderOptions

Signature

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

Parameters

clientId

The clientId to connect to Venly

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

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

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)

Last updated