commit fca2978e51c29b5e34ce5269c6fd3ea58ba30b8b parent 56345bc4cff19bf50c7f9dfac2fdd7e232b6b58c Author: Christian Grothoff <christian@grothoff.org> Date: Thu, 28 Mar 2024 11:58:01 +0100 document age restriction fields Diffstat:
| M | core/api-merchant.rst | | | 19 | +++++++++++++++++++ |
1 file changed, 19 insertions(+), 0 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst @@ -391,6 +391,25 @@ Making the payment // URL of the exchange this coin was withdrawn from. exchange_url: string; + + // Signature affirming the posession of the + // respective private key proving that the payer + // is old enough. Only provided if the paid contract + // has an age restriction and the coin is + // age-restricted. + minimum_age_sig?: EddsaSignature; + + // Age commitment vector of the coin. + // Only provided if the paid contract + // has an age restriction and the coin is + // age-restricted. + age_commitment?: Edx25519PublicKey[]; + + // Hash over the agge commitment vector of the coin. + // Only provided if the paid contract + // does NOT have an age restriction and the coin is + // age-restricted. + h_age_commitment?: AgeCommitmentHash; } .. ts:def:: TokenPaySig