Skip to main content

ConnectionStatus

@midnight-ntwrk/dapp-connector-api v4.0.1


@midnight-ntwrk/dapp-connector-api / ConnectionStatus

Type Alias: ConnectionStatus

ConnectionStatus = { networkId: string; status: "connected"; } | { status: "disconnected"; }

Status of an existing connection to wallet It either indicates that the connection is established to a specific network id, or that the connection is lost

Type Declaration

{ networkId: string; status: "connected"; }

networkId

networkId: string

status

status: "connected"

Connection is established to following network id

{ status: "disconnected"; }

status

status: "disconnected"

Connection is lost