Reads and writes sit in the same conversation: check a balance, send MON, stake it, or read a transaction back from its hash. Unstaking is the one two-step — it returns a request id, and the claim only goes through about ten minutes later.
A server for the Monad testnet. Read calls cover balances, transaction detail, gas price and the latest block; write calls send MON and ERC-20 tokens, stake through the Apriori platform, and play the CoinflipGame contract.
- The MON balance for an address, an ERC-20 balance on a named contract, or several token balances at once
- A transaction's full detail from its hash
- The current gas price and the latest block
- MON sent to an address, and ERC-20 tokens sent from their contract
- MON staked with Apriori, unstaked, and claimed once the request matures
- A coinflip played against the contract at its minimum bet, with the wins, losses and profit history for an address
Node.js 16 or newer, and a key in the config for anything that signs — the read calls work from an address alone. This is the Monad testnet, not mainnet.
