Function: fetchVerifications()
fetchVerifications(
messageId:string,opts?:FetchVerificationsOpts):Promise<VerifierResult[]>
Defined in: commits.ts:74
Fetch CCV verifications for a CCIP v2.0 message.
Races the optional API client against all provided indexer URLs via Promise.any, returning the first successful response.
When opts.watch is supplied the function retries on
CCIPMessageNotVerifiedYetError at opts.pollInterval ms intervals
until the signal fires.
Parameters
| Parameter | Type | Description |
|---|---|---|
messageId | string | The CCIP message ID (hex string) |
opts | FetchVerificationsOpts | See FetchVerificationsOpts |
Returns
Promise<VerifierResult[]>
CCIPVerifications with verificationPolicy and verifier results
Throws
CCIPMessageNotVerifiedYetError if all sources fail or signal fires