Contents

setDonau#

Set the donation authority for this wallet.

Request:

The request arguments must be a SetDonauRequest object.

Response:

On success, the result is an empty object.

Side effects:

Writes the donation authority configuration to the wallet database, replacing any previously configured authority.

Details:

The taxpayer ID is stored together with a salted hash of it (as defined in LSD0013) that is later used to submit and query donation receipts. Repeating the request with an unchanged donauBaseUrl and taxPayerId is idempotent: the existing salt is kept.

interface SetDonauRequest {
  donauBaseUrl: string;
  taxPayerId: string;
}