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

execute tx on behalf of granter account.

Usage

firmachaind tx authz exec <json file path>

Example

firmachaind tx authz exec "./txMsg.json"

grant

grant authorization to an address to execute a transaction on your behalf.

Usage

firmachaind tx authz grant <grantee> <authorization_type="send"|"generic"|"delegate"|"unbond"|"redelegate">

Example

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 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 a new contractLog.

Usage

Example

create-contract-file

contract transactions subcommands.

Usage

Example

tx distribution

Distribution transactions subcommands.

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 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 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 authorization to pay fees from your address. Note, the'--from' flag is ignored as it is implied from [granter].

Usage

Example

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

Submit a deposit for an active proposal. You can find the proposal-id by running "firmachaind query gov proposals".

Usage

Example

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

Cancel a software upgrade along with an initial deposit.

Usage

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 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 a software upgrade along with an initial deposit. Please specify a unique name and height for the upgrade to take effect.

Usage

Example

vote

Submit a vote for an active proposal. You can find the proposal-id by running "firmachaind query gov proposals".

Usage

Example

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 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

Broadcast message burn.

Usage

Example

mint

Broadcast message mint.

Usage

Example

transfer

Broadcast message transfer.

Usage

Example

tx slashing

This feature allows jailed Validators to rejoin the network.

unjail

unjail a jailed validator.

Usage

tx staking

This feature provides Validator registration, modification and deposit.

create-validator

create new validator initialized with a self-delegation to it.

Usage

Example

delegate

Delegate an amount of liquid coins to a validator from your wallet.

Usage

Example

edit-validator

edit an existing validator account.

Usage

Example

redelegate

Redelegate an amount of illiquid staking tokens from one validator to another.

Usage

Example

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

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

Invokes processing functions on the smart contract.

Usage

Example

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 a wasm contract to a new code version.

Usage

Example

store, upload, st, s

Upload a wasm binary.

Usage

Example

Last updated