View as Markdown

SDK reference · Rails

@provenanceauth/rails/disputes

@provenanceauth/rails/disputes in the Rails: 2 methods. @provenanceauth/rails/disputes, check an agent-dispute bundle offline, for a seller, a buyer or a rail that receives the export from GET /v1/authorize/disputes/:id/bundle.

Methods

disputeBundleDigest

disputeBundleDigest(bundle: unknown): Promise<string>

Sha256 (hex) of the bundle's canonical JSON: what the signed digest covers.

verifyDisputeBundle

verifyDisputeBundle(bundle: DisputeBundle, token: string, jwks: Jwks): Promise<DisputeBundleResult>

Check a dispute export offline against Provenance's JWKS.

Was this page helpful? Send us feedback

LLM? Read llms.txt.