Fetch the raw value associated with the given key in the chain state
GET//v1/chains/:chainID/state/:stateKey
Fetch the raw value associated with the given key in the chain state
Request
Path Parameters
chainID stringrequired
ChainID (Bech32)
stateKey stringrequired
State Key (Hex)
Responses
- 200
Result
- application/json
- Schema
- Example (from schema)
Schema
state stringrequired
The state of the requested key (Hex-encoded)
{
"state": "state"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET '/v1/chains/:chainID/state/:stateKey' \
-H 'Accept: application/json'
ResponseClear