Burn all of the digital assets in the payment.
optAmountShape is optional. If the optAmountShape pattern is present,
the amount of the digital assets in the payment must match
optAmountShape, to prevent sending the wrong payment and other
confusion.
If the payment is a promise, the operation will proceed upon fulfillment.
As always with optional Pattern arguments, keep in mind that technically
the value undefined itself is a valid Key and therefore a valid
Pattern. But in optional pattern position, a top level undefined will
be interpreted as absence. If you want to express a Pattern that will
match only undefined, use M.undefined() instead.
Burn all of the digital assets in the payment.
optAmountShape
is optional. If theoptAmountShape
pattern is present, the amount of the digital assets in the payment must matchoptAmountShape
, to prevent sending the wrong payment and other confusion.If the payment is a promise, the operation will proceed upon fulfillment.
As always with optional
Pattern
arguments, keep in mind that technically the valueundefined
itself is a validKey
and therefore a validPattern
. But in optional pattern position, a top levelundefined
will be interpreted as absence. If you want to express aPattern
that will match onlyundefined
, useM.undefined()
instead.