Optional
envThe environment to connect to.
Env.Mainnet
Optional
numNumber of block confirmations to wait for a block to finalize.
Env.Mainnet: 5
Env.Testnet: 1
Optional
signerGive a Signer for transacting with the blockchain.
Give a Provider for read-only operations.
If nothing is given, defaults to a Provider for the configured env using Binance RPCs.
When providing this field, ensure that it is correct for the configured env. i.e., you are not using a Provider/Signer for testnet when the env is mainnet and vice-versa.
Generated using TypeDoc
Configuration options for sdk