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
Builds a SnarkVM `Authorization` for a specific function without building a circuit first. This should be used when fast authorization generation is needed and the invoker is confident inputs are coorect.
319
+
320
+
Parameters | Type | Description
321
+
--- | --- | ---
322
+
__options__ | `AuthorizationOptions` | *The options for building the `Authorization`*
323
+
__*return*__ | `Promise.<Authorization>` | *- A promise that resolves to an `Authorization` or throws an Error.*
@@ -1138,6 +1176,7 @@ Verify a proof from an offline execution. This is useful when it is desired to d
1138
1176
Parameters | Type | Description
1139
1177
--- | --- | ---
1140
1178
__executionResponse__ | `executionResponse` | *The response from an offline function execution (via the `programManager.run` method)*
1179
+
__blockHeight__ | `blockHeight` | *The ledger height when the execution was generated.*
1141
1180
__imports__ | `ImportedPrograms` | *The imported programs used in the execution. Specified as { "programName": "programSourceCode", ... }*
1142
1181
__importedVerifyingKeys__ | `ImportedVerifyingKeys` | *The verifying keys in the execution. Specified as { "programName": [["functionName", "verifyingKey"], ...], ... }*
1143
1182
__*return*__ | `boolean` | *True if the proof is valid, false otherwise*
Builds a SnarkVM `Authorization` for a specific function without building a circuit first. This should be used when fast authorization generation is needed and the invoker is confident inputs are coorect.
1545
+
1546
+
Parameters | Type | Description
1547
+
--- | --- | ---
1548
+
__options__ | `AuthorizationOptions` | *The options for building the `Authorization`*
1549
+
__*return*__ | `Promise.<Authorization>` | *- A promise that resolves to an `Authorization` or throws an Error.*
@@ -2324,6 +2402,7 @@ Verify a proof from an offline execution. This is useful when it is desired to d
2324
2402
Parameters | Type | Description
2325
2403
--- | --- | ---
2326
2404
__executionResponse__ | `executionResponse` | *The response from an offline function execution (via the `programManager.run` method)*
2405
+
__blockHeight__ | `blockHeight` | *The ledger height when the execution was generated.*
2327
2406
__imports__ | `ImportedPrograms` | *The imported programs used in the execution. Specified as { "programName": "programSourceCode", ... }*
2328
2407
__importedVerifyingKeys__ | `ImportedVerifyingKeys` | *The verifying keys in the execution. Specified as { "programName": [["functionName", "verifyingKey"], ...], ... }*
2329
2408
__*return*__ | `boolean` | *True if the proof is valid, false otherwise*
0 commit comments