X404 · Official documentation v1
State queries and events
Read extension state, paginate results and confirm transactions.
Read public state for extensions#
Use public SDK interfaces to read players, items, game state and transaction results. Bind queries to the correct network and game address.
Sending a transaction is not completion. Keep its hash, wait for a successful receipt, then refresh state. Show an explicit waiting state instead of encouraging duplicate payments.
Handle each asset using its own decimals and integer smallest units. Distinguish allocation, claimable funds and actual payment; do not count the same amount twice.
Use pagination, keep related reads consistent, and present network errors explicitly rather than treating them as zero balances. See Interfaces and SDK downloads.