Skip to main content
Use client = createArksatClient(provider). Example variables are supplied by the application.

getCapabilities

Returns protocol versions, methods, events, networks, and signature types. Parameters
Returns
Example

getProviderState

Returns connection, unlock, account, and network state. Parameters
Returns
Example

getNetwork

Returns the current network and Arkade service information. Parameters
Returns
Example

getWalletSession

Returns an atomic public session. Read the Bitcoin boarding address from boardingAddress. Parameters
Returns
Example

switchNetwork

Requests a network switch. Reload state after completion. Switching to the current network is a no-op. Parameters
Returns
Example

Session guards

Supported operations accept expectedAddress, expectedNetwork, and expectedSessionId. Session lifecycle. Errors · Type definitions