Staking & Transactions
A quick reference for the pocketd commands that change on-chain state — staking, delegation, transfers, and service registration. All examples assume --network=main; replace with --network=beta for the Beta TestNet. For read-only lookups, see Querying the Chain; for key management and gas/fee patterns, see Accounts, Keys & Fees.
Every write command needs a signer (--from <key>) and a fee (--gas=auto --fees=1upokt covers almost all transactions). Add --yes to skip the confirmation prompt in scripts.
Application
Stake, update, and manage an Application. Full walkthrough: Application Staking.
# Stake (or restake) an Application from a config file
pocketd tx application stake-application \
--config app-config.yaml \
--from myAppWallet \
--network=main \
--gas=auto --fees=1upokt
# Delegate to a Gateway (lets the Gateway relay on the app's behalf)
pocketd tx application delegate-to-gateway pokt1gatewayaddress \
--from myAppWallet \
--network=main \
--gas=auto --fees=1upokt
# Undelegate from a Gateway
pocketd tx application undelegate-from-gateway pokt1gatewayaddress \
--from myAppWallet \
--network=main \
--gas=auto --fees=1upokt
# Unstake an Application
pocketd tx application unstake-application \
--from myAppWallet \
--network=main \
--gas=auto --fees=1upoktSupplier
Stake and manage a Supplier. Full walkthrough: Supplier Staking.
# Stake (or restake) a Supplier from a config file
pocketd tx supplier stake-supplier \
--config supplier-config.yaml \
--from mySupplierWallet \
--network=main \
--gas=auto --fees=1upokt
# Unstake a Supplier
pocketd tx supplier unstake-supplier \
--from mySupplierWallet \
--network=main \
--gas=auto --fees=1upoktGateway
Stake and manage a Gateway. Full walkthrough: Gateway Staking.
# Stake (or restake) a Gateway from a config file
pocketd tx gateway stake-gateway \
--config gateway-config.yaml \
--from myGatewayWallet \
--network=main \
--gas=auto --fees=1upokt
# Unstake a Gateway
pocketd tx gateway unstake-gateway \
--from myGatewayWallet \
--network=main \
--gas=auto --fees=1upoktServices
Register and edit on-chain services. Full walkthrough: Service Management.
# Register a new service
pocketd tx service add-service \
--name "my-service" \
--compute-units-per-relay 1 \
--from myWallet \
--network=main \
--gas=auto --fees=1upoktSending Tokens
pocketd tx bank send myWallet pokt1recipient 1000000upokt \
--network=main --gas=auto --fees=1upoktAdd --yes to broadcast without the interactive confirmation in scripts. For fee patterns and the full flag reference, see Accounts, Keys & Fees.
Confirming a Transaction
After broadcasting, look up the result by hash:
pocketd query tx TXHASH --network=mainSee Querying the Chain for status checks, balances, and the full read reference.