getProof
Function: getProof()
function getProof<ThrowOnError>(options: OmitKeys<RequestOptions<ThrowOnError>, "body" | "url"> & GetProofData & Pick<RequestOptions<ThrowOnError>, "headers">): RequestResult<JobResults, ErrorResponse, ThrowOnError>
Defined in: packages/api/src/client/sdk.gen.ts:98
Check the status of a proof generation job and retrieve proofs.
The proof
endpoint allows you to check the status of a proof generation job initiated via the /prove
endpoint.
It returns the status of the job and the proofs or tx hashes if they are ready.
Type Parameters
• ThrowOnError extends boolean
= false
Parameters
options
OmitKeys
<RequestOptions
<ThrowOnError
>, "body"
| "url"
> & GetProofData
& Pick
<RequestOptions
<ThrowOnError
>, "headers"
>
Returns
RequestResult
<JobResults
, ErrorResponse
, ThrowOnError
>
Updated 10 days ago