pub type ZapData = ZapDataV2;Expand description
Data about a Zap
Aliased Type§
struct ZapData {
pub zapped_event: EventReference,
pub amount: MilliSatoshi,
pub payee: PublicKey,
pub payer: PublicKey,
pub provider_pubkey: PublicKey,
}Fields§
§zapped_event: EventReferenceThe event that was zapped. If missing we can’t use the zap receipt event.
amount: MilliSatoshiThe amount that the event was zapped
payee: PublicKeyThe public key of the person who received the zap
payer: PublicKeyThe public key of the person who paid the zap, if it was in the receipt
provider_pubkey: PublicKeyThe public key of the zap provider, for verification purposes