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.
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 userefund
.id
: The identifier of the asset for the account holding a deposit.who
: The account to refund.Emits
Refunded
event when successful.