raw Sign
suspend fun rawSign(message: String, chainId: String, signatureApprovalMemo: String? = null): PortalProviderResult
Generates raw signatures using the underlying key share without chain-specific formatting.
This method allows you to create signatures that can be used with any blockchain that utilizes SECP256K1 or ED25519 cryptography, effectively making the Portal SDK chain-agnostic.
Return
A PortalProviderResult containing the raw signature.
Parameters
message
The message to be signed.
chain Id
The blockchain network identifier to use for signing.
Throws
If an error occurs during the signing process.