SDK reference · Node SDK

Provenance

Provenance in the Node SDK: 2 methods. The client: create it with your key, then call the free verify on it.

Methods

verify

prov.verify(params: PublicVerifyParams): Promise<PublicVerifyResult>

The free, keyless check of any Provenance intent token, grant token or receipt (POST /v1/verify): the free claims, the binding you expect, revocation and a coarse risk.

checkCallCode

prov.checkCallCode(params: CallCodeCheckParams): Promise<CallCodeCheck>

The free, keyless short-code check (POST /v1/public/call_codes/check): the number that was called and the code the caller gave.

Was this page helpful? Send us feedback

LLM? Read llms.txt.