sign

open suspend override fun sign(account: DappWallet, message: String): String

Returns the signature, encoded however the wallet and its verifiers agree — this SDK does not impose a format because CIP-0103 does not.

Called only after the user has approved. Throw to fail the request; DappSession converts the failure into a messageSignature failed event and an error response.