pub fn request_redeem<T: Config>(
    amount_wrapped: <T as Config>::Balance,
    btc_address: BtcAddress,
    vault_id: VaultId<<T as Config>::AccountId, CurrencyId<T>>
)
Expand description

Initializes a request to burn issued tokens against a Vault with sufficient tokens. It will also ensure that the Parachain status is RUNNING.

Arguments

  • origin - sender of the transaction
  • amount - amount of issued tokens
  • btc_address - the address to receive BTC
  • vault_id - address of the vault

Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::request_redeem.