sign Auth Entry
abstract suspend fun signAuthEntry(preimageXdr: String, options: SignAuthEntryOptions? = null): SignAuthEntryResult
Signs an authorization preimage with the external wallet.
The SDK sends a base64-encoded HashIDPreimage XDR. The wallet should:
Base64-decode the preimage bytes
SHA-256 hash the preimage bytes
Ed25519-sign the 32-byte hash
Return the 64-byte raw signature as base64
The SDK handles auth entry construction and signature format — the wallet only needs to produce the raw Ed25519 signature.
Return
The signing result with base64-encoded raw Ed25519 signature (64 bytes)
Parameters
preimage Xdr
The base64-encoded HashIDPreimage XDR to sign
options
Optional signing options (network passphrase, specific address)
Throws
if signing fails or is rejected