Return the deposit (if any) of an asset account or a consumer reference (if any) of an account.
The origin must be Signed.
id
allow_burn
true
Emits Refunded event when successful.
Refunded
Return the deposit (if any) of an asset account or a consumer reference (if any) of an account.
The origin must be Signed.
id
: The identifier of the asset for which the caller would like the deposit refunded.allow_burn
: Iftrue
then assets may be destroyed in order to complete the refund.Emits
Refunded
event when successful.