Skip to content

@lelantos-org/sdk / index / ConnectOptions

Type Alias: ConnectOptions ​

ts
type ConnectOptions = NetworkOptions & ConnectExtras & 
  | KeyOptions & ChainOptions
  | NoKey & SelfKeyingChainOptions;

Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:213

Everything connect() accepts.

A key source may be omitted only when the chain layer derives one, so connect({ network: "base", rpcUrl, privateKey }) is complete and connect({ network, readOnly: true }) does not compile.