Function: prove()

function prove<ThrowOnError>(options: OmitKeys<RequestOptions<ThrowOnError>, "body" | "url"> & ProveData & Pick<RequestOptions<ThrowOnError>, "headers">): RequestResult<JobId, ErrorResponse, ThrowOnError>

Defined in: packages/api/src/client/sdk.gen.ts:85

Generate proofs for signed token transactions.
The prove endpoint initiates the proof generation process for a set of signed token transactions.
It returns a job ID which can be used to check the status and retrieve the proofs or tx hashes using the /proof endpoint.

Type Parameters

ThrowOnError extends boolean = false

Parameters

options

OmitKeys<RequestOptions<ThrowOnError>, "body" | "url"> & ProveData & Pick<RequestOptions<ThrowOnError>, "headers">

Returns

RequestResult<JobId, ErrorResponse, ThrowOnError>