Docs · Transactions
Transactions
This chain accepts one transaction shape, type 0x2. A transfer, a contract deploy, and a contract call are that shape. An older type is rejected. The node does not quietly rewrite it. The signature is ML-DSA-87 from the spending seed. The nonce comes from the chain.
The fields
| Field | What you put there |
|---|---|
| chain id | 21520. The wallet refuses another id. |
| nonce | qrl_getTransactionCount with "pending". The first send from a new account is 0. |
| max priority fee | The tip, in wei per gas. Zero is legal. Paid to the proposer. Not burned. |
| max fee | The ceiling, in wei per gas. It must cover the block base fee. |
| gas limit | 21,000 for a plain transfer. Higher for a contract. The block limit is 30,000,000. |
| to | 20 bytes. Absent on a deploy. A KAL string is that same 20 bytes. |
| value | Base units. 1 KALYX is 1018. |
| data | Empty for a plain transfer. Call data, or init code, otherwise. |
| signature | ML-DSA-87 over the signing hash. Not an elliptic-curve r, s, v. |
The seed must be 51 bytes. The wallet derives the spending key, signs, and submits the raw transaction with qrl_sendRawTransaction. You then poll qrl_getTransactionReceipt. The hash you poll starts with 0x. It is not a KAL address.
The fee split on this transaction
The base-fee product is gas used times the block base fee. At the starting base fee of 1 gwei, a 21,000-gas transfer is 0.000021 KALYX. While counted supply is on the 500,000,000 floor, that product is returned to the sender. When ergon coins have opened room above the floor, the product is burned up to that room and the rest is returned. The tip is paid in full to the proposer either way. The fees page has the floor in full.
If the max fee is under the base fee, the transaction should not enter. Raise the ceiling or wait. Do not fire a loop of new signatures. Each one is a real signature of a real nonce. A nonce that never lands can still block the next number until you replace it or it drops from the pool.
Three kinds of type 0x2
- Transfer.
tois the recipient,valueis the amount,datais empty, gas is 21,000. - Deploy. No recipient.
datais the init bytecode, compiled withoutPUSH0. The receipt carries the new KAL address. - Call.
tois the contract,datais the selector and the arguments,valueis whatever the function expects.msg.senderis the signer.
A read is not a transaction. qrl_call does not move the nonce and does not sign. The contracts page and the build page are the deploy path.
What does not show up as a transaction
- An ergon prize. It is a balance credit in the block. The nonce stays put.
- A beacon attestation. That is a validator signature, not a spending transaction.
- A private-note proof by itself. The update is still submitted as a normal transaction from a spending account, and that transaction does sign. The amount of a private pay is not the transaction value. The private payments page is the split.
Inclusion and settlement
A receipt means an execution block contains the transaction. Beacon slots that were missed do not add to the block number. Finality is a later epoch. On this testnet, wait. A young head can still move. The explorer is a view of the public door. A node you run is allowed to disagree until it has synced the same genesis.