Preparing search index...
The search index is not available
@switchboard-xyz/on-demand
@switchboard-xyz/on-demand
isMainnetConnection
Function isMainnetConnection
is
Mainnet
Connection
(
connection
)
:
Promise
<
boolean
>
Check if the connection is to the mainnet
Parameters
connection
:
Connection
Connection: The connection
Returns
Promise
<
boolean
>
Promise
- Whether the connection is to the mainnet
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@switchboard-xyz/on-demand
Loading...
Check if the connection is to the mainnet