refund: TxDescriptor<{ allow_burn: boolean; id: number }>

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: If true then assets may be destroyed in order to complete the refund.

Emits Refunded event when successful.