Skip to content

isEnvelopeCommitted

PQSafe AgentPay API Reference v0.1.0


PQSafe AgentPay API Reference / isEnvelopeCommitted

Function: isEnvelopeCommitted()

isEnvelopeCommitted(envelopeJson, config): Promise<boolean>

Defined in: pqsafe/agent-pay/src/arbitrum.ts:272

Check if an envelope is already committed on-chain (read-only, no gas).

Parameters

envelopeJson

string

config

contractAddress

string

keccak256

(d) => Uint8Array

rpcUrl

string

Returns

Promise<boolean>