All chains
    Preparing search index...

    Type Alias refund_other

    refund_other: TxDescriptor<{ id: number; who: MultiAddress }>

    Return the deposit (if any) of a target asset account. Useful if you are the depositor.

    The origin must be Signed and either the account owner, depositor, or asset Admin. In order to burn a non-zero balance of the asset, the caller must be the account and should use refund.

    • id: The identifier of the asset for the account holding a deposit.
    • who: The account to refund.

    It will fail with either [Error::ContainsHolds] or [Error::ContainsFreezes] if the asset account contains holds or freezes in place.

    Emits Refunded event when successful.