signEntry

abstract suspend fun signEntry(entryXdr: String): String

Signs a single authorization entry with the client domain's credentials.

This method is called by WebAuthForContracts when a client domain is specified and a signing delegate is provided (instead of a local keypair).

The implementation receives an unsigned authorization entry for the client domain and must return the same entry with a valid signature added.

Return

Base64-encoded com.soneso.stellar.sdk.xdr.SorobanAuthorizationEntryXdr XDR with the entry signed by the client domain's key

Parameters

entryXdr

Base64-encoded com.soneso.stellar.sdk.xdr.SorobanAuthorizationEntryXdr XDR representing the unsigned authorization entry for the client domain

Throws

if signing fails (e.g., network error, invalid entry, key not found)