Raw

RawContractState gets single key from the raw store data of a contract

GEThttps://coreum.nownodes.io/cosmwasm/wasm/v1/contract/{address}/raw/{query_data}
Path parameters
address*string

address is the address of the contract

query_data*string (byte)
Response

A successful response.

Body
dataData contains the raw store data
Request
const response = await fetch('https://coreum.nownodes.io/cosmwasm/wasm/v1/contract/{address}/raw/{query_data}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "data": "Ynl0ZXM="
}