call
Call a chain
Last updated
Call a chain
Last updated
Interacting with the chain
You will be prompted to select a pallet, the dispatchable function and its required arguments, connection details for the chain, and the account to sign the transaction.
If interactive guidance is not desired, you can proceed manually as follows:
To dispatch a call with Root origin when the chain's runtime includes pallet-sudo
, you can wrap the call in a sudo.sudo()
call by using the --sudo
flag:
If you already have the SCALE
-encoded call data and want to submit the extrinsic directly, use --chain
as shown below:
Wallet Signing Portal for Browser Extension Signing
Pop CLI includes a --use-wallet
option that opens a signing portal, allowing you to sign transactions using a browser extension wallet. This eliminates the need to provide your account's private key directly in the command line. --suri
can not be used with --use-wallet
.
Example usage of --use-wallet
: