You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @property provingRequest {ProvingRequest | string} The proving request being submitted to the network.
28
+
* @property url {string} The URL of the delegated proving service.
29
+
* @property apiKey {string} The API key to use for authentication.
30
+
*/
31
+
interfaceDelegatedProvingParams{
32
+
provingRequest: ProvingRequest|string;
33
+
url?: string;
34
+
apiKey?: string;
35
+
}
36
+
24
37
/**
25
38
* Client library that encapsulates REST calls to publicly exposed endpoints of Aleo nodes. The methods provided in this
26
39
* allow users to query public information from the Aleo blockchain and submit transactions to the network.
@@ -1618,38 +1631,39 @@ class AleoNetworkClient {
1618
1631
/**
1619
1632
* Submit a `ProvingRequest` to a remote proving service for delegated proving. If the broadcast flag of the `ProvingRequest` is set to `true` the remote service will attempt to broadcast the result `Transaction` on behalf of the requestor.
1620
1633
*
1621
-
* @param {ProvingRequest | string} provingRequest - The `ProvingRequest` (generated by the ProgramManager) to submit.
1622
-
* @param {string} url - (Optional) The url of the proving service.
1634
+
* @param {DelegatedProvingParams} options - The optional parameters required to submit a proving request.
1623
1635
* @returns {Promise<ProvingResponse>} The ProvingResponse containing the transaction result and the result of the broadcast if the `broadcast` flag was set to `true`.
0 commit comments