commit 2736670ab1368921ed4bd6338e1665c81f039cb2
parent 8e19477ed8fc6b7fffff40f8283657367aa26179
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 12 Sep 2023 14:26:06 +0200
update spec
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
@@ -297,6 +297,9 @@ Making the payment
// The coins used to make the payment.
coins: CoinPaySig[];
+ // Custom inputs from the wallet for the contract.
+ wallet_data?: Object;
+
// The session for which the payment is made (or replayed).
// Only set for session-based payments.
session_id?: string;
@@ -481,6 +484,9 @@ again.
// database access).
h_contract: HashCode;
+ // Hash over custom inputs from the wallet for the contract.
+ wallet_data_hash?: HashCode;
+
// Session id for which the payment is proven.
session_id: string;
}