Contract
Smart contract data and execution
Validate WASM contract
Validate a WASM contract bytecode before deployment.
Get contract state by key
Retrieve a single value from contract state storage. The request body is the raw key bytes.
Get contract state by prefix
Retrieve all key-value pairs from contract state with a given prefix. Response is vecpak-encoded.
Execute contract view function (GET)
Execute a read-only contract function. Extra positional arguments can be appended to the path (e.g. `/api/contract/view/Coin/balance/{pk}`).
Execute contract view function (vecpak)
Execute a read-only contract function using vecpak encoding for arguments. The request body is a vecpak-encoded map.
Get richlist
Retrieve the list of top AMA token holders ordered by balance descending.