/
/Wasp API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 2h ago · Updated 1mo ago
auth2
chains19
  • getGet a list of all chains
  • getGet information about a specific chain
  • putConfigure a trusted node to be an access node.
  • deleteRemove an access node.
  • postActivate a chain
  • postCall a view function on a contract by Hname
  • postSets the chain record.
  • getGet information about the deployed committee
  • getGet all available chain contracts
  • postDeactivate a chain
  • postdump accounts information into a humanly-readable format
  • postEstimates gas for a given off-ledger ISC request
  • postEstimates gas for a given on-ledger ISC request
  • postEthereum JSON-RPC
  • getEthereum JSON-RPC (Websocket transport)
  • getGet the contents of the mempool.
  • getGet a receipt from a request ID
  • getWait until the given request has been processed by the node
  • getFetch the raw value associated with the given key in the chain state
corecontracts26
metrics4
node12
requests1
users6
  • getReturns 200 if the node is healthy.
  • getThe websocket connection service
chains

Fetch the raw value associated with the given key in the chain state

get/v1/chains/{chainID}/state/{stateKey}

Path parameters

chainIDstring string required

ChainID (Bech32)

stateKeystring string required

State Key (Hex)

Response

Result

statestring string required

The state of the requested key (Hex-encoded)

Example response

{
  "state": "state"
}

Changes