transfer: prepare, decode for review, sign, submit and watch, with a reversal window #22
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent: #3
Scope
ChainAdapter::prepareforTransferIntent::Transfer:Balances::transfer_keep_alivefor ordinary accounts,ReversibleTransfers::schedule_transfer(with the chosen delay) whenreversibleis set or when the account is high-security and therefore may not send plainly. Fee viaTransactionPaymentCallApi::query_call_info. The review summary is decoded from the encoded call bytes with the runtime metadata, not from the intent, andpreparefails if the two disagree.submitandstatusfollow the extrinsic toInBlockandFinalized, surfacing a dispatch error's pallet and variant name.Also:
cancel_transferfor a pending reversible transfer, and listingPendingTransfersBySender.Acceptance
Against Heisenberg: a reversible send appears in the pending list, is cancelled, and the balance returns; a plain send finalizes and the recipient sees it. A dispatch error (insufficient balance) reads as
Balances::InsufficientBalance, not a hex code.Depends on
Balances and nonce.