Skip to content

Commit

Permalink
Add domain+signature to post transaction callback
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyav committed Feb 15, 2024
1 parent 1a7ef1e commit d8edc35
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion umad-07-post-tx-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ each VASP to the other is called a "post-transaction hook". It is a POST request
POST <utxoCallback>
{
"utxos": { "utxo": string, "amountMsats": number }[]
"utxos": { "utxo": string, "amountMsats": number }[],
// Domain name of the VASP. Used when validating the signature.
"vaspDomain": string,
// The VASP's signature over sha256_hash(signatureNonce + signatureTimestamp),
"signature": string,
"signatureNonce": string,
"signatureTimestamp": number, // in seconds since epoch
}
```

Expand Down

0 comments on commit d8edc35

Please sign in to comment.