MinimalSatelliteConnection
Defined in: siwx-react/src/satelliteHelpers.ts:9
Duck-typed subset of an active Satellite Connect connection, so @tuwaio/siwx-react does not depend on
@tuwaio/satellite-core. Only address, chainId, signMessage and connector are read by the helpers.
Properties
address?
optionaladdress?:string
Defined in: siwx-react/src/satelliteHelpers.ts:13
Connected account, as a plain address or a CAIP-10 account ID.
chainId?
optionalchainId?:string|number
Defined in: siwx-react/src/satelliteHelpers.ts:15
Connected chain: an EVM chain ID number, a chain reference or a CAIP-2 ID.
connectedAccount?
optionalconnectedAccount?:unknown
Defined in: siwx-react/src/satelliteHelpers.ts:24
Connected account object of the wallet library. Not read by the helpers.
connectedWallet?
optionalconnectedWallet?:unknown
Defined in: siwx-react/src/satelliteHelpers.ts:26
Connected wallet object of the wallet library. Not read by the helpers.
connector?
optionalconnector?:object
Defined in: siwx-react/src/satelliteHelpers.ts:19
EVM connector. Its presence marks the connection as EVM in getSatelliteSiwxFields.
getWalletClient?
optionalgetWalletClient?: () =>Promise<unknown>
Returns the wallet client of the connector. Not read by the helpers.
Returns
Promise<unknown>
isConnected?
optionalisConnected?:boolean
Defined in: siwx-react/src/satelliteHelpers.ts:11
Whether the wallet is connected. Not read by the helpers.
signMessage?
optionalsignMessage?: (message) =>Promise<string>
Defined in: siwx-react/src/satelliteHelpers.ts:17
Signs a message with the connected wallet. Returned by createSatelliteSiwxSigner.
Parameters
message
string
Returns
Promise<string>