SDK reference · Python SDK
prov.mandate.assessments.verify_chain
prov.mandate.assessments.verify_chain in Python SDK.
Signature
prov.mandate.assessments.verify_chain() -> AnyParameters
No parameters.
Request fields
created_gtetimestampquery- The start of the time window, as an ISO 8601 time.
created_ltetimestampquery- The end of the time window, as an ISO 8601 time.
Returns
Any Whether the ledger's hash chain is intact.
HTTP operation
GET /v1/mandate/assessments/verify_chain: Verify the decision chain
Errors
Example
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/assessments/verify_chain`, {
headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/mandate/assessments/verify_chain", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}).json()