SpendReceipt
data class SpendReceipt(val peerId: String, val at: Instant, val instrumentId: String, val amount: BigDecimal, val receiver: String, val autoApproved: Boolean, val commandId: String)
One approved, executed spend by one peer. The ledger's receipts are the source of truth for the rolling daily cap and for the app's receipts UI, which is why they are written only after execution succeeds.
Properties
Link copied to clipboard
Link copied to clipboard
True when the policy approved without asking the approver.
Link copied to clipboard
Link copied to clipboard
DappPeer.id of the session that spent.