curl -X GET "https://heimdall.qa.zoniqx.com/private-state/get/contract/<contractAddress>" \
-H "Authorization: Bearer <accessToken>" \
-H "x-tenant-id: <your-tenant-id>"
const response = await fetch("https://heimdall.qa.zoniqx.com/private-state/get/contract/<contractAddress>", {
method: "GET",
headers: {
"Authorization": "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
},
});
const data = await response.json();type PrivateStateController_getAllResponse = Record<string, unknown>;
const response = await fetch("https://heimdall.qa.zoniqx.com/private-state/get/contract/<contractAddress>", {
method: "GET",
headers: {
Authorization: "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
},
});
const data: PrivateStateController_getAllResponse = await response.json();import requests
url = "https://heimdall.qa.zoniqx.com/private-state/get/contract/<contractAddress>"
headers = {
"Authorization": "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
}
response = requests.get(url, headers=headers)
data = response.json()