Get contract state by key
POST/api/contract/get
Read one contract state value. The request body is the raw key bytes, for example account: + the 48 raw public key bytes + :balance:AMA. The response is the stored value as a JSON string ("218110150390801"), or null when the key does not exist. Binary values are not encoded, so read those with get_prefix or the proof endpoints.
Request
Responses
- 200
Stored value