pub fn consume_oneshot_account<T: Config>(
    block_height: BlockNumberFor<T>,
    dest: Account<<T::Lookup as StaticLookup>::Source>
)
Expand description

Consume a oneshot account and transfer its balance to an account

  • block_height: Must be a recent block number. The limit is BlockHashCount in the past. (this is to prevent replay attacks)
  • dest: The destination account.
  • dest_is_oneshot: If set to true, then a oneshot account is created at dest. Else, dest has to be an existing account.

§Warning: Doc-Only

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