Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 910 Bytes

File metadata and controls

24 lines (15 loc) · 910 Bytes

constructor

new OpusPool(params): OpusPool

Creates an OpusPool instance

Parameters

Name Type Description
params Object Initialization parameters
params.address Hex An address of the currently connected user wallet. If the user connects to a different wallet, OpusPool must be re-instantiated with a new user address
params.network Networks Network configuration (Networks.Ethereum or Networks.Holesky)
params.rpcUrl? string (Optional) An RPC URL to interact with. If not provided, a default public node will be used

Returns

OpusPool

An instance of OpusPool

See

Installation for more information