SOCI4L

Gas, and why it is not the price

Step 1 of 3
0 of 2 goals

Sending costs more than you send

Two numbers decide a fee.

Gas is how much work an operation takes. A transfer is always 21,000 — fixed by the protocol.

Gas price is what you pay per unit. This is the part that moves.

Send Alice 1 AVAX, mine it, then check your balance. You are down more than 1.

Type a command and press Enter. help lists what this lesson understands.

$

Goals

Seal a block
no new block yet, the chain is still where it started
Check what it actually cost you
`balance` has not been run yet

The chain

height 101
#100
empty
#101
empty

Accounts

youyou0x1111
10AVAX
alice0x2222
0AVAX

Mempool

Empty. Nothing is waiting to be included.

Gas price

25nAVAX per gas

A transfer is 21,000 gas, so it costs 0.0525 AVAX.