Skip to main content

walletv2_receive_claimed

Function walletv2_receive_claimed 

Source
fn walletv2_receive_claimed(events: &Value, deposit_address: &str) -> bool
Expand description

Whether a gateway payment-log response contains a successful walletv2 receive for deposit_address.

An aborted receive is reprocessed into a new receive operation for the same still-unspent deposit, so a single address can have several receive events; the deposit is claimed once any of their operations reports a Success update.