Skip to main content
Signing creates a signature without submitting a transaction. Signing and verification both require an active selected wallet context because the Kotlin API verifies against that wallet’s OMS wallet ID.

Sign and verify a message

The message API accepts only String. It does not provide a byte-array or hexadecimal-message overload.
Verify with the exact original string and network. Verification returns false for a signature that OMS does not validate; request or session failures throw an OMSWalletException.

Sign and verify EIP-712 typed data

Typed data uses JsonElement. Build the complete EIP-712 payload expected by the application and contract:
Use the same typed-data value and network for verification. The verification methods use the selected wallet context but do not sign a request or create a transaction.