to Sc Val
Converts the Ed25519 signature to a Soroban SCVal map.
The resulting map has keys in alphabetical order:
ScVal::Map([
{ Symbol("public_key"), Bytes(publicKey) },
{ Symbol("signature"), Bytes(signature) },
])Content copied to clipboard
Return
SCValXdr.Map with public key and signature bytes