transaction (tx)
You can record or modify registered data on the chain by using the daemon’s transaction command.
When executing the transaction, you must put in the --chain-id, --fee and --from. In the --fees <default fee of 20000> wallet, your balance must be equal to or higher than the transaction fee amount.
tx authz
Authorize and revoke access to execute transactions on behalf of your address.
exec
exec
execute tx on behalf of granter account.
Usage
Example
grant
grant
grant authorization to an address to execute a transaction on your behalf.
Usage
Example
revoke
revoke
Authorize and revoke access to execute transactions on behalf of your address.
Usage
Example
tx bank
You can send tokens to a different wallet.
send
send
Send funds from one account to another. Note, the'--from' flag is ignored as it is implied from.
Usage
Example
tx contract
You can record the log or the file hash of a contract.
add-contract-log
add-contract-log
Add a new contractLog.
Usage
Example
create-contract-file
create-contract-file
contract transactions subcommands.
Usage
Example
tx distribution
Distribution transactions subcommands.
fund-community-pool
fund-community-pool
Funds the community pool with the specified amount.
Usage
Example
set-withdraw-addr
Set the withdraw address for rewards associated with a delegator address.
Usage
Example
withdraw-all-rewards
withdraw-all-rewards
Withdraw all rewards for a single delegator. Note that if you use this command with --broadcast-mode=sync or --broadcast-mode=async, the max-msgs flag will automatically be set to 0.
Usage
Example
withdraw-rewards
withdraw-rewards
Withdraw rewards from a given delegation address, and optionally withdraw validator commission if the delegation address given is a validator operator.
Usage
Example
Use the --commission flag to receive commission rewards.
tx feegrant
Grant and revoke fee allowance for a grantee by a granter
grant
grant
Grant authorization to pay fees from your address. Note, the'--from' flag is ignored as it is implied from [granter].
Usage
Example
revoke
revoke
revoke fee grant from a granter to a grantee. Note, the'--from' flag is ignored as it is implied from [granter].
Usage
Example
tx gov
Governance transactions subcommands.
deposit
deposit
Submit a deposit for an active proposal. You can find the proposal-id by running "firmachaind query gov proposals".
Usage
Example
submit-proposal
submit-proposal
Submit a proposal along with an initial deposit. Proposal title, description, type and deposit can be given directly or through a proposal JSON file.
Where proposal.json contain
submit-proposal cancel-software-upgrade
submit-proposal cancel-software-upgrade
Cancel a software upgrade along with an initial deposit.
Usage
submit-proposal community-pool-spend
submit-proposal community-pool-spend
Submit a community pool spend proposal along with an initial deposit. The proposal details must be supplied via a JSON file.
Where proposal.json contain
Usage
Example
submit-proposal param-change
submit-proposal param-change
Submit a parameter proposal along with an initial deposit. The proposal details must be supplied via a JSON file. For values that contains objects, only non-empty fields will be updated.
Where proposal.json contain
Usage
Example
submit-proposal software-upgrade
submit-proposal software-upgrade
Submit a software upgrade along with an initial deposit. Please specify a unique name and height for the upgrade to take effect.
Usage
Example
vote
vote
Submit a vote for an active proposal. You can find the proposal-id by running "firmachaind query gov proposals".
Usage
Example
weighted-vote
weighted-vote
Submit a vote for an active proposal. You can find the proposal-id by running "firmachaind query gov proposals".
Usage
Example
tx ibc-transfer
IBC fungible token transfer transaction subcommands.
transfer
transfer
Transfer a fungible token through IBC. Timeouts can be specified as absolute or relative using the "absolute-timeouts" flag. Timeout height can be set by passing in the height string in the form {revision}-{height} using the "packet-timeout-height" flag. Relative timeout height is added to the block height queried from the latest consensus state corresponding to the counterparty channel. Relative timeout timestamp is added to the greater value of the local clock time and the block timestamp queried from the latest consensus state corresponding to the counterparty channel. Any timeout set to 0 is disabled.
Usage
Example
tx nft
You can use features such as NFT registration, deletion and transfer.
burn
burn
Broadcast message burn.
Usage
Example
mint
mint
Broadcast message mint.
Usage
Example
transfer
transfer
Broadcast message transfer.
Usage
Example
tx slashing
This feature allows jailed Validators to rejoin the network.
unjail
unjail
unjail a jailed validator.
Usage
tx staking
This feature provides Validator registration, modification and deposit.
create-validator
create-validator
create new validator initialized with a self-delegation to it.
Usage
Example
delegate
delegate
Delegate an amount of liquid coins to a validator from your wallet.
Usage
Example
edit-validator
edit-validator
edit an existing validator account.
Usage
Example
redelegate
redelegate
Redelegate an amount of illiquid staking tokens from one validator to another.
Usage
Example
unbond
unbond
Unbond an amount of bonded shares from a validator.
Usage
Example
tx wasm
The CosmWasm module enables smart contracts.
clear-contract-admin, clear-admin, clr-adm
clear-contract-admin, clear-admin, clr-adm
Clears admin for a contract to prevent further migrations.
contract_addr_bech32 value has no relation to the wallet-address.
Usage
Example
execute, run, call, exec, ex, e
execute, run, call, exec, ex, e
Invokes processing functions on the smart contract.
Usage
Example
instantiate, start, init, inst, i
instantiate, start, init, inst, i
Creates a new instance of an uploaded wasm code with the given 'constructor' message. Each contract instance has a unique address assigned.
Usage
Example
migrate, update, mig, m
migrate, update, mig, m
Migrate a wasm contract to a new code version.
Usage
Example
store, upload, st, s
store, upload, st, s
Upload a wasm binary.
Usage
Example
Last updated