first transaction

This guide walks through sending QOR tokens, querying transactions, and interacting with QoreChain across its native, EVM, and SVM interfaces.

Check Your Balance

Before sending tokens, verify your account balance:

qorechaind query bank balances qor1youraddress... --output json

The response includes all token denominations held by the account. QOR balances are displayed in uqor (micro-QOR), where 1 QOR = 1,000,000 uqor.

Send QOR

Transfer tokens from your key to another address:

qorechaind tx bank send mykey qor1recipient... 1000000uqor \
  --chain-id qorechain-diana \
  --fees 500uqor

This sends 1 QOR (1,000,000 uqor) to the recipient address, paying a fee of 500 uqor.

You will be prompted to confirm the transaction before it is broadcast. Once confirmed, the CLI returns a transaction hash.

Query Transaction

Look up a completed transaction by its hash:

qorechaind query tx <txhash>

The output includes the transaction status, gas used, block height, and all events emitted during execution.

For JSON output:

Using JSON-RPC (EVM)

QoreChain's EVM execution environment exposes a standard Ethereum JSON-RPC interface on port 8545.

Get the Latest Block Number

Get an Account Balance

The balance is returned as a hex-encoded value in the smallest denomination.

Using SVM RPC

QoreChain's SVM execution environment exposes a Solana-compatible RPC interface on port 8899.

Get the Current Slot

Get an Account Balance

Common CLI Patterns

When working with the qorechaind CLI, these flags are used frequently:

Flag
Description
Example

--chain-id

Specifies the target chain

--chain-id qorechain-diana

--fees

Transaction fee in uqor

--fees 500uqor

--from

Signing key name or address

--from mykey

--output

Response format

--output json

--node

RPC endpoint to connect to

--node tcp://localhost:26657

--gas

Gas limit for the transaction

--gas auto

--gas-adjustment

Multiplier for estimated gas

--gas-adjustment 1.3

-y

Skip confirmation prompt

-y

Example: Full Command with All Common Flags

Next Steps

Now that you have sent your first transaction, explore more of what QoreChain offers: