VenlySubProviderOptions

Signature

1
VenlySubProviderOptions {
2
clientId: string;
3
environment?: string;
4
secretType?: SecretType;
5
authenticationOptions?: AuthenticationOptions
6
skipAuthentication: boolean;
7
pollingInterval?: number;
8
}
Copied!
​

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
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)
Copy link