owp_sign_payload
Sign canonical OpenWorkProof payloads with Ed25519 keys. Input object type, JSON payload, and private key to receive a signed payload with signature, digest, and signer info.
Instructions
Sign a canonical OpenWorkProof payload with an Ed25519 private key.
Args:
object_type: One of the allowed signed domains (call
owp_list_domains to see the list).
payload: JSON string of the unsigned payload object.
private_key_hex: The Ed25519 private key as a hex string.
Returns:
The signed payload dict with signature_alg, signer_key_id,
digest, and signature fields added.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | ||
| object_type | Yes | ||
| private_key_hex | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||