Skip to content
Snippets Groups Projects
Select Git revision
  • 71bc57fc767b3b32579e4d11f42c6ff78c457ebe
  • master default protected
  • dev
  • appimage
  • fix_gitlab
  • fixappveyor
  • gitlab
  • fix_ci
  • fix_dbus_error
  • fix_ci_osx
  • sakia020
  • fix_travis#1105
  • feature/backend
  • check_uniq_node_by_endpoints
  • qt5.7
  • feature/agent_architecture
  • translations
  • pyqt5.6
  • qtwebengine
  • pyinstaller
  • landscape
  • 0.53.2
  • 0.53.1
  • 0.53.0
  • 0.52.0
  • 0.51.1
  • 0.51.0
  • 0.50.5
  • 0.50.4
  • 0.50.3
  • 0.50.2
  • 0.50.1
  • 0.50.0
  • 0.33.0rc7
  • 0.33.0rc6
  • 0.33.0rc5
  • 0.33.0rc4
  • 0.33.0rc3
  • 0.33.0rc2
  • 0.33.0rc1
  • 0.32.10post1
41 results

exceptions.rst

Blame
  • runtime-calls.md 39.30 KiB

    Runtime calls

    Calls are categorized according to the dispatch origin they require:

    1. User calls: the dispatch origin for this kind of call must be signed by the transactor. This is the only call category that can be submitted with an extrinsic.
    2. Root calls: This kind of call requires a special origin that can only be invoked through on-chain governance mechanisms.
    3. Inherent calls: This kind of call is invoked by the author of the block itself (usually automatically by the node).
    4. Disabled calls: These calls can not be called directly, they are reserved for internal use by other runtime calls.

    We only document user calls below.

    There are 65 user calls from 17 pallets.

    Account - 1

    unlink_identity - 0

    unlink_identity()

    Taking 0.0106 % of a block.

    Unlink the identity associated with the account.

    Balances - 6

    transfer_allow_death - 0

    transfer_allow_death(dest, value)

    Taking 0.0186 % of a block.

    dest: AccountIdLookupOf<T>
    value: T::Balance

    Transfer some liquid free balance to another account.

    transfer_allow_death will set the FreeBalance of the sender and receiver. If the sender's account is below the existential deposit as a result of the transfer, the account will be reaped.

    The dispatch origin for this call must be Signed by the transactor.

    transfer_keep_alive - 3

    transfer_keep_alive(dest, value)

    Taking 0.0119 % of a block.

    dest: AccountIdLookupOf<T>
    value: T::Balance

    Same as the transfer_allow_death call, but with a check that the transfer will not kill the origin account.

    99% of the time you want transfer_allow_death instead.

    transfer_all - 4