Optionaloptions: { couch?: Couch; createDeleteEvents?: boolean }Optionalcouch?: Couchoptional couch interface for temporarily storing the change token
OptionalcreateDeleteEvents?: booleanwhether to publish a NIP-09 delete event for the spent token events
(default true). The change token event always references the spent ids in its del field, so the
wallet can reconcile its balance without the delete event; skipping it saves a signing operation at
the cost of leaving the spent token events on relays until CleanupDeletedTokens.
An action that deletes old token events and adds a spend history item