From 656eda30c7ce752d25d06da931d99716396b4d9f Mon Sep 17 00:00:00 2001 From: Peter Argue <89119817+peterargue@users.noreply.github.com> Date: Mon, 29 Sep 2025 16:31:32 -0700 Subject: [PATCH 1/3] [AccessAPI] Add grpc and rest endpoints for schedule transaction endpoints --- openapi/Makefile | 8 +- openapi/access.yaml | 128 ++++ .../.swagger-codegen/VERSION | 2 +- openapi/go-client-generated/README.md | 4 + openapi/go-client-generated/api/swagger.yaml | 417 +++++++++++++ .../go-client-generated/api_transactions.go | 590 ++++++++++++++++++ .../docs/TransactionsApi.md | 166 +++++ protobuf/flow/access/access.proto | 27 + protobuf/go/flow/access/access.pb.go | 567 ++++++++++------- protobuf/go/flow/access/access_grpc.pb.go | 78 +++ 10 files changed, 1758 insertions(+), 229 deletions(-) diff --git a/openapi/Makefile b/openapi/Makefile index 27d455941..aeb892d79 100644 --- a/openapi/Makefile +++ b/openapi/Makefile @@ -1,3 +1,9 @@ generate: - swagger-codegen generate -l go -i ./access.yaml -o ./go-client-generated \ No newline at end of file + swagger-codegen generate -l go -i ./access.yaml -o ./go-client-generated + +generate-docker: + docker run --rm -v ${PWD}:/local swaggerapi/swagger-codegen-cli-v3 generate \ + -i /local/access.yaml \ + -l go \ + -o /local/go-client-generated \ No newline at end of file diff --git a/openapi/access.yaml b/openapi/access.yaml index 394946351..96ed3c53f 100644 --- a/openapi/access.yaml +++ b/openapi/access.yaml @@ -258,6 +258,134 @@ paths: $ref: '#/components/responses/400BadRequest' '500': $ref: '#/components/responses/500InternalServerError' + /system_transactions/{id}: + get: + summary: Get a System Transaction by ID. + description: Get a system transaction body by the provided transaction ID. + tags: + - Transactions + parameters: + - description: The ID of the system transaction to get. + name: id + in: path + schema: + $ref: '#/components/schemas/Identifier' + required: true + - $ref: '#/components/parameters/blockIdParam' + - $ref: '#/components/parameters/expandParam' + - $ref: '#/components/parameters/selectParam' + - $ref: '#/components/parameters/agreeingExecutorsCount' + - $ref: '#/components/parameters/requiredExecutorIds' + - $ref: '#/components/parameters/includeExecutorMetadata' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Transaction' + '400': + $ref: '#/components/responses/400BadRequest' + '404': + $ref: '#/components/responses/404NotFound' + '500': + $ref: '#/components/responses/500InternalServerError' + /system_transaction_results/{transaction_id}: + get: + summary: Get a System Transaction Result by ID. + description: Get system transaction result by the transaction result ID. + tags: + - Transactions + parameters: + - description: The system transaction ID of the transaction result. + name: transaction_id + in: path + schema: + $ref: '#/components/schemas/Identifier' + required: true + - $ref: '#/components/parameters/blockIdParam' + - $ref: '#/components/parameters/expandParam' + - $ref: '#/components/parameters/selectParam' + - $ref: '#/components/parameters/agreeingExecutorsCount' + - $ref: '#/components/parameters/requiredExecutorIds' + - $ref: '#/components/parameters/includeExecutorMetadata' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/TransactionResult' + '400': + $ref: '#/components/responses/400BadRequest' + '404': + $ref: '#/components/responses/404NotFound' + '500': + $ref: '#/components/responses/500InternalServerError' + /scheduled_transactions/{id}: + get: + summary: Get a Scheduled Transaction by ID. + description: Get a scheduled transaction body by the provided scheduled transaction id field. + tags: + - Transactions + parameters: + - description: The scheduled transaction's `id` field returned by the system contract. + name: id + in: path + schema: + type: string + format: uint64 + required: true + - $ref: '#/components/parameters/expandParam' + - $ref: '#/components/parameters/selectParam' + - $ref: '#/components/parameters/agreeingExecutorsCount' + - $ref: '#/components/parameters/requiredExecutorIds' + - $ref: '#/components/parameters/includeExecutorMetadata' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Transaction' + '400': + $ref: '#/components/responses/400BadRequest' + '404': + $ref: '#/components/responses/404NotFound' + '500': + $ref: '#/components/responses/500InternalServerError' + /scheduled_transaction_results/{id}: + get: + summary: Get a Scheduled Transaction Result by ID. + description: Get scheduled transaction result by the scheduled transaction ID. + tags: + - Transactions + parameters: + - description: The scheduled transaction's `id` field returned by the system contract. + name: id + in: path + schema: + type: string + format: uint64 + required: true + - $ref: '#/components/parameters/expandParam' + - $ref: '#/components/parameters/selectParam' + - $ref: '#/components/parameters/agreeingExecutorsCount' + - $ref: '#/components/parameters/requiredExecutorIds' + - $ref: '#/components/parameters/includeExecutorMetadata' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/TransactionResult' + '400': + $ref: '#/components/responses/400BadRequest' + '404': + $ref: '#/components/responses/404NotFound' + '500': + $ref: '#/components/responses/500InternalServerError' /collections/{id}: get: summary: Gets a Collection by ID diff --git a/openapi/go-client-generated/.swagger-codegen/VERSION b/openapi/go-client-generated/.swagger-codegen/VERSION index b61c49d27..9ad03a797 100644 --- a/openapi/go-client-generated/.swagger-codegen/VERSION +++ b/openapi/go-client-generated/.swagger-codegen/VERSION @@ -1 +1 @@ -3.0.71 \ No newline at end of file +3.0.73 \ No newline at end of file diff --git a/openapi/go-client-generated/README.md b/openapi/go-client-generated/README.md index dd3b084f0..79ecd5fee 100644 --- a/openapi/go-client-generated/README.md +++ b/openapi/go-client-generated/README.md @@ -34,6 +34,10 @@ Class | Method | HTTP request | Description *NodeVersionInfoApi* | [**NodeVersionInfoGet**](docs/NodeVersionInfoApi.md#nodeversioninfoget) | **Get** /node_version_info | Get Node Version Information *ScriptsApi* | [**ScriptsPost**](docs/ScriptsApi.md#scriptspost) | **Post** /scripts | Execute a Cadence Script *SubscribeEventsApi* | [**SubscribeEventsGet**](docs/SubscribeEventsApi.md#subscribeeventsget) | **Get** /subscribe_events | Subscribe events +*TransactionsApi* | [**ScheduledTransactionResultsIdGet**](docs/TransactionsApi.md#scheduledtransactionresultsidget) | **Get** /scheduled_transaction_results/{id} | Get a Scheduled Transaction Result by ID. +*TransactionsApi* | [**ScheduledTransactionsIdGet**](docs/TransactionsApi.md#scheduledtransactionsidget) | **Get** /scheduled_transactions/{id} | Get a Scheduled Transaction by ID. +*TransactionsApi* | [**SystemTransactionResultsTransactionIdGet**](docs/TransactionsApi.md#systemtransactionresultstransactionidget) | **Get** /system_transaction_results/{transaction_id} | Get a System Transaction Result by ID. +*TransactionsApi* | [**SystemTransactionsIdGet**](docs/TransactionsApi.md#systemtransactionsidget) | **Get** /system_transactions/{id} | Get a System Transaction by ID. *TransactionsApi* | [**TransactionResultsTransactionIdGet**](docs/TransactionsApi.md#transactionresultstransactionidget) | **Get** /transaction_results/{transaction_id} | Get a Transaction Result by ID. *TransactionsApi* | [**TransactionsIdGet**](docs/TransactionsApi.md#transactionsidget) | **Get** /transactions/{id} | Get a Transaction by ID. *TransactionsApi* | [**TransactionsPost**](docs/TransactionsApi.md#transactionspost) | **Post** /transactions | Submit a Transaction diff --git a/openapi/go-client-generated/api/swagger.yaml b/openapi/go-client-generated/api/swagger.yaml index 5353299e5..be29b0863 100644 --- a/openapi/go-client-generated/api/swagger.yaml +++ b/openapi/go-client-generated/api/swagger.yaml @@ -482,6 +482,423 @@ paths: application/json: schema: $ref: "#/components/schemas/Error" + /system_transactions/{id}: + get: + tags: + - Transactions + summary: Get a System Transaction by ID. + description: Get a system transaction body by the provided transaction ID. + parameters: + - name: id + in: path + description: The ID of the system transaction to get. + required: true + style: simple + explode: false + schema: + $ref: "#/components/schemas/Identifier" + - name: block_id + in: query + description: A block ID optional parameter + required: false + style: form + explode: true + schema: + $ref: "#/components/schemas/Identifier" + - name: expand + in: query + description: A comma-separated list indicating which properties of the content + to expand. + required: false + style: form + explode: false + schema: + minItems: 1 + uniqueItems: true + type: array + items: + type: string + - name: select + in: query + description: A comma-separated list indicating which properties of the content + to return. + required: false + style: form + explode: false + schema: + minItems: 1 + uniqueItems: true + type: array + items: + type: string + - name: agreeing_executors_count + in: query + description: A minimum number of execution receipts for the execution result. + required: false + allowEmptyValue: false + style: form + explode: true + schema: + type: string + format: uint64 + - name: required_executor_ids + in: query + description: "A set of execution node IDs, one of which must have produced\ + \ the execution result." + required: false + style: form + explode: false + schema: + minItems: 1 + uniqueItems: true + type: array + items: + $ref: "#/components/schemas/Identifier" + - name: include_executor_metadata + in: query + description: Specifies whether or not to include the executor metadata in + the response. + required: false + allowEmptyValue: false + style: form + explode: true + schema: + type: boolean + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/Transaction" + "400": + description: Bad Request + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + "404": + description: Not Found + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + "500": + description: Internal Server Error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + /system_transaction_results/{transaction_id}: + get: + tags: + - Transactions + summary: Get a System Transaction Result by ID. + description: Get system transaction result by the transaction result ID. + parameters: + - name: transaction_id + in: path + description: The system transaction ID of the transaction result. + required: true + style: simple + explode: false + schema: + $ref: "#/components/schemas/Identifier" + - name: block_id + in: query + description: A block ID optional parameter + required: false + style: form + explode: true + schema: + $ref: "#/components/schemas/Identifier" + - name: expand + in: query + description: A comma-separated list indicating which properties of the content + to expand. + required: false + style: form + explode: false + schema: + minItems: 1 + uniqueItems: true + type: array + items: + type: string + - name: select + in: query + description: A comma-separated list indicating which properties of the content + to return. + required: false + style: form + explode: false + schema: + minItems: 1 + uniqueItems: true + type: array + items: + type: string + - name: agreeing_executors_count + in: query + description: A minimum number of execution receipts for the execution result. + required: false + allowEmptyValue: false + style: form + explode: true + schema: + type: string + format: uint64 + - name: required_executor_ids + in: query + description: "A set of execution node IDs, one of which must have produced\ + \ the execution result." + required: false + style: form + explode: false + schema: + minItems: 1 + uniqueItems: true + type: array + items: + $ref: "#/components/schemas/Identifier" + - name: include_executor_metadata + in: query + description: Specifies whether or not to include the executor metadata in + the response. + required: false + allowEmptyValue: false + style: form + explode: true + schema: + type: boolean + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/TransactionResult" + "400": + description: Bad Request + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + "404": + description: Not Found + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + "500": + description: Internal Server Error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + /scheduled_transactions/{id}: + get: + tags: + - Transactions + summary: Get a Scheduled Transaction by ID. + description: Get a scheduled transaction body by the provided scheduled transaction + id field. + parameters: + - name: id + in: path + description: The scheduled transaction's `id` field returned by the system + contract. + required: true + style: simple + explode: false + schema: + type: string + format: uint64 + - name: expand + in: query + description: A comma-separated list indicating which properties of the content + to expand. + required: false + style: form + explode: false + schema: + minItems: 1 + uniqueItems: true + type: array + items: + type: string + - name: select + in: query + description: A comma-separated list indicating which properties of the content + to return. + required: false + style: form + explode: false + schema: + minItems: 1 + uniqueItems: true + type: array + items: + type: string + - name: agreeing_executors_count + in: query + description: A minimum number of execution receipts for the execution result. + required: false + allowEmptyValue: false + style: form + explode: true + schema: + type: string + format: uint64 + - name: required_executor_ids + in: query + description: "A set of execution node IDs, one of which must have produced\ + \ the execution result." + required: false + style: form + explode: false + schema: + minItems: 1 + uniqueItems: true + type: array + items: + $ref: "#/components/schemas/Identifier" + - name: include_executor_metadata + in: query + description: Specifies whether or not to include the executor metadata in + the response. + required: false + allowEmptyValue: false + style: form + explode: true + schema: + type: boolean + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/Transaction" + "400": + description: Bad Request + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + "404": + description: Not Found + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + "500": + description: Internal Server Error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + /scheduled_transaction_results/{id}: + get: + tags: + - Transactions + summary: Get a Scheduled Transaction Result by ID. + description: Get scheduled transaction result by the scheduled transaction ID. + parameters: + - name: id + in: path + description: The scheduled transaction's `id` field returned by the system + contract. + required: true + style: simple + explode: false + schema: + type: string + format: uint64 + - name: expand + in: query + description: A comma-separated list indicating which properties of the content + to expand. + required: false + style: form + explode: false + schema: + minItems: 1 + uniqueItems: true + type: array + items: + type: string + - name: select + in: query + description: A comma-separated list indicating which properties of the content + to return. + required: false + style: form + explode: false + schema: + minItems: 1 + uniqueItems: true + type: array + items: + type: string + - name: agreeing_executors_count + in: query + description: A minimum number of execution receipts for the execution result. + required: false + allowEmptyValue: false + style: form + explode: true + schema: + type: string + format: uint64 + - name: required_executor_ids + in: query + description: "A set of execution node IDs, one of which must have produced\ + \ the execution result." + required: false + style: form + explode: false + schema: + minItems: 1 + uniqueItems: true + type: array + items: + $ref: "#/components/schemas/Identifier" + - name: include_executor_metadata + in: query + description: Specifies whether or not to include the executor metadata in + the response. + required: false + allowEmptyValue: false + style: form + explode: true + schema: + type: boolean + responses: + "200": + description: OK + content: + application/json: + schema: + $ref: "#/components/schemas/TransactionResult" + "400": + description: Bad Request + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + "404": + description: Not Found + content: + application/json: + schema: + $ref: "#/components/schemas/Error" + "500": + description: Internal Server Error + content: + application/json: + schema: + $ref: "#/components/schemas/Error" /collections/{id}: get: tags: diff --git a/openapi/go-client-generated/api_transactions.go b/openapi/go-client-generated/api_transactions.go index 411eb1d27..4b5a5f8ee 100644 --- a/openapi/go-client-generated/api_transactions.go +++ b/openapi/go-client-generated/api_transactions.go @@ -26,6 +26,596 @@ var ( type TransactionsApiService service /* +TransactionsApiService Get a Scheduled Transaction Result by ID. +Get scheduled transaction result by the scheduled transaction ID. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param id The scheduled transaction's `id` field returned by the system contract. + * @param optional nil or *TransactionsApiScheduledTransactionResultsIdGetOpts - Optional Parameters: + * @param "Expand" (optional.Interface of []string) - A comma-separated list indicating which properties of the content to expand. + * @param "Select_" (optional.Interface of []string) - A comma-separated list indicating which properties of the content to return. + * @param "AgreeingExecutorsCount" (optional.String) - A minimum number of execution receipts for the execution result. + * @param "RequiredExecutorIds" (optional.Interface of []string) - A set of execution node IDs, one of which must have produced the execution result. + * @param "IncludeExecutorMetadata" (optional.Bool) - Specifies whether or not to include the executor metadata in the response. +@return TransactionResult +*/ + +type TransactionsApiScheduledTransactionResultsIdGetOpts struct { + Expand optional.Interface + Select_ optional.Interface + AgreeingExecutorsCount optional.String + RequiredExecutorIds optional.Interface + IncludeExecutorMetadata optional.Bool +} + +func (a *TransactionsApiService) ScheduledTransactionResultsIdGet(ctx context.Context, id string, localVarOptionals *TransactionsApiScheduledTransactionResultsIdGetOpts) (TransactionResult, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue TransactionResult + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/scheduled_transaction_results/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", fmt.Sprintf("%v", id), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.Expand.IsSet() { + localVarQueryParams.Add("expand", parameterToString(localVarOptionals.Expand.Value(), "csv")) + } + if localVarOptionals != nil && localVarOptionals.Select_.IsSet() { + localVarQueryParams.Add("select", parameterToString(localVarOptionals.Select_.Value(), "csv")) + } + if localVarOptionals != nil && localVarOptionals.AgreeingExecutorsCount.IsSet() { + localVarQueryParams.Add("agreeing_executors_count", parameterToString(localVarOptionals.AgreeingExecutorsCount.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.RequiredExecutorIds.IsSet() { + localVarQueryParams.Add("required_executor_ids", parameterToString(localVarOptionals.RequiredExecutorIds.Value(), "csv")) + } + if localVarOptionals != nil && localVarOptionals.IncludeExecutorMetadata.IsSet() { + localVarQueryParams.Add("include_executor_metadata", parameterToString(localVarOptionals.IncludeExecutorMetadata.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 200 { + var v TransactionResult + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ModelError + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ModelError + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 500 { + var v ModelError + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} +/* +TransactionsApiService Get a Scheduled Transaction by ID. +Get a scheduled transaction body by the provided scheduled transaction id field. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param id The scheduled transaction's `id` field returned by the system contract. + * @param optional nil or *TransactionsApiScheduledTransactionsIdGetOpts - Optional Parameters: + * @param "Expand" (optional.Interface of []string) - A comma-separated list indicating which properties of the content to expand. + * @param "Select_" (optional.Interface of []string) - A comma-separated list indicating which properties of the content to return. + * @param "AgreeingExecutorsCount" (optional.String) - A minimum number of execution receipts for the execution result. + * @param "RequiredExecutorIds" (optional.Interface of []string) - A set of execution node IDs, one of which must have produced the execution result. + * @param "IncludeExecutorMetadata" (optional.Bool) - Specifies whether or not to include the executor metadata in the response. +@return Transaction +*/ + +type TransactionsApiScheduledTransactionsIdGetOpts struct { + Expand optional.Interface + Select_ optional.Interface + AgreeingExecutorsCount optional.String + RequiredExecutorIds optional.Interface + IncludeExecutorMetadata optional.Bool +} + +func (a *TransactionsApiService) ScheduledTransactionsIdGet(ctx context.Context, id string, localVarOptionals *TransactionsApiScheduledTransactionsIdGetOpts) (Transaction, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Transaction + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/scheduled_transactions/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", fmt.Sprintf("%v", id), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.Expand.IsSet() { + localVarQueryParams.Add("expand", parameterToString(localVarOptionals.Expand.Value(), "csv")) + } + if localVarOptionals != nil && localVarOptionals.Select_.IsSet() { + localVarQueryParams.Add("select", parameterToString(localVarOptionals.Select_.Value(), "csv")) + } + if localVarOptionals != nil && localVarOptionals.AgreeingExecutorsCount.IsSet() { + localVarQueryParams.Add("agreeing_executors_count", parameterToString(localVarOptionals.AgreeingExecutorsCount.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.RequiredExecutorIds.IsSet() { + localVarQueryParams.Add("required_executor_ids", parameterToString(localVarOptionals.RequiredExecutorIds.Value(), "csv")) + } + if localVarOptionals != nil && localVarOptionals.IncludeExecutorMetadata.IsSet() { + localVarQueryParams.Add("include_executor_metadata", parameterToString(localVarOptionals.IncludeExecutorMetadata.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 200 { + var v Transaction + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ModelError + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ModelError + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 500 { + var v ModelError + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} +/* +TransactionsApiService Get a System Transaction Result by ID. +Get system transaction result by the transaction result ID. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param transactionId The system transaction ID of the transaction result. + * @param optional nil or *TransactionsApiSystemTransactionResultsTransactionIdGetOpts - Optional Parameters: + * @param "BlockId" (optional.Interface of string) - A block ID optional parameter + * @param "Expand" (optional.Interface of []string) - A comma-separated list indicating which properties of the content to expand. + * @param "Select_" (optional.Interface of []string) - A comma-separated list indicating which properties of the content to return. + * @param "AgreeingExecutorsCount" (optional.String) - A minimum number of execution receipts for the execution result. + * @param "RequiredExecutorIds" (optional.Interface of []string) - A set of execution node IDs, one of which must have produced the execution result. + * @param "IncludeExecutorMetadata" (optional.Bool) - Specifies whether or not to include the executor metadata in the response. +@return TransactionResult +*/ + +type TransactionsApiSystemTransactionResultsTransactionIdGetOpts struct { + BlockId optional.Interface + Expand optional.Interface + Select_ optional.Interface + AgreeingExecutorsCount optional.String + RequiredExecutorIds optional.Interface + IncludeExecutorMetadata optional.Bool +} + +func (a *TransactionsApiService) SystemTransactionResultsTransactionIdGet(ctx context.Context, transactionId string, localVarOptionals *TransactionsApiSystemTransactionResultsTransactionIdGetOpts) (TransactionResult, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue TransactionResult + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/system_transaction_results/{transaction_id}" + localVarPath = strings.Replace(localVarPath, "{"+"transaction_id"+"}", fmt.Sprintf("%v", transactionId), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.BlockId.IsSet() { + localVarQueryParams.Add("block_id", parameterToString(localVarOptionals.BlockId.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Expand.IsSet() { + localVarQueryParams.Add("expand", parameterToString(localVarOptionals.Expand.Value(), "csv")) + } + if localVarOptionals != nil && localVarOptionals.Select_.IsSet() { + localVarQueryParams.Add("select", parameterToString(localVarOptionals.Select_.Value(), "csv")) + } + if localVarOptionals != nil && localVarOptionals.AgreeingExecutorsCount.IsSet() { + localVarQueryParams.Add("agreeing_executors_count", parameterToString(localVarOptionals.AgreeingExecutorsCount.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.RequiredExecutorIds.IsSet() { + localVarQueryParams.Add("required_executor_ids", parameterToString(localVarOptionals.RequiredExecutorIds.Value(), "csv")) + } + if localVarOptionals != nil && localVarOptionals.IncludeExecutorMetadata.IsSet() { + localVarQueryParams.Add("include_executor_metadata", parameterToString(localVarOptionals.IncludeExecutorMetadata.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 200 { + var v TransactionResult + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ModelError + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ModelError + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 500 { + var v ModelError + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} +/* +TransactionsApiService Get a System Transaction by ID. +Get a system transaction body by the provided transaction ID. + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param id The ID of the system transaction to get. + * @param optional nil or *TransactionsApiSystemTransactionsIdGetOpts - Optional Parameters: + * @param "BlockId" (optional.Interface of string) - A block ID optional parameter + * @param "Expand" (optional.Interface of []string) - A comma-separated list indicating which properties of the content to expand. + * @param "Select_" (optional.Interface of []string) - A comma-separated list indicating which properties of the content to return. + * @param "AgreeingExecutorsCount" (optional.String) - A minimum number of execution receipts for the execution result. + * @param "RequiredExecutorIds" (optional.Interface of []string) - A set of execution node IDs, one of which must have produced the execution result. + * @param "IncludeExecutorMetadata" (optional.Bool) - Specifies whether or not to include the executor metadata in the response. +@return Transaction +*/ + +type TransactionsApiSystemTransactionsIdGetOpts struct { + BlockId optional.Interface + Expand optional.Interface + Select_ optional.Interface + AgreeingExecutorsCount optional.String + RequiredExecutorIds optional.Interface + IncludeExecutorMetadata optional.Bool +} + +func (a *TransactionsApiService) SystemTransactionsIdGet(ctx context.Context, id string, localVarOptionals *TransactionsApiSystemTransactionsIdGetOpts) (Transaction, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Get") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue Transaction + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/system_transactions/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", fmt.Sprintf("%v", id), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if localVarOptionals != nil && localVarOptionals.BlockId.IsSet() { + localVarQueryParams.Add("block_id", parameterToString(localVarOptionals.BlockId.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.Expand.IsSet() { + localVarQueryParams.Add("expand", parameterToString(localVarOptionals.Expand.Value(), "csv")) + } + if localVarOptionals != nil && localVarOptionals.Select_.IsSet() { + localVarQueryParams.Add("select", parameterToString(localVarOptionals.Select_.Value(), "csv")) + } + if localVarOptionals != nil && localVarOptionals.AgreeingExecutorsCount.IsSet() { + localVarQueryParams.Add("agreeing_executors_count", parameterToString(localVarOptionals.AgreeingExecutorsCount.Value(), "")) + } + if localVarOptionals != nil && localVarOptionals.RequiredExecutorIds.IsSet() { + localVarQueryParams.Add("required_executor_ids", parameterToString(localVarOptionals.RequiredExecutorIds.Value(), "csv")) + } + if localVarOptionals != nil && localVarOptionals.IncludeExecutorMetadata.IsSet() { + localVarQueryParams.Add("include_executor_metadata", parameterToString(localVarOptionals.IncludeExecutorMetadata.Value(), "")) + } + // to determine the Content-Type header + localVarHttpContentTypes := []string{} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + if localVarHttpResponse.StatusCode == 200 { + var v Transaction + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 400 { + var v ModelError + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 404 { + var v ModelError + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + if localVarHttpResponse.StatusCode == 500 { + var v ModelError + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} +/* TransactionsApiService Get a Transaction Result by ID. Get transaction result by the transaction result ID. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). diff --git a/openapi/go-client-generated/docs/TransactionsApi.md b/openapi/go-client-generated/docs/TransactionsApi.md index 5f7e0e301..994f5f053 100644 --- a/openapi/go-client-generated/docs/TransactionsApi.md +++ b/openapi/go-client-generated/docs/TransactionsApi.md @@ -4,10 +4,176 @@ All URIs are relative to *https://rest-testnet.onflow.org/v1* Method | HTTP request | Description ------------- | ------------- | ------------- +[**ScheduledTransactionResultsIdGet**](TransactionsApi.md#ScheduledTransactionResultsIdGet) | **Get** /scheduled_transaction_results/{id} | Get a Scheduled Transaction Result by ID. +[**ScheduledTransactionsIdGet**](TransactionsApi.md#ScheduledTransactionsIdGet) | **Get** /scheduled_transactions/{id} | Get a Scheduled Transaction by ID. +[**SystemTransactionResultsTransactionIdGet**](TransactionsApi.md#SystemTransactionResultsTransactionIdGet) | **Get** /system_transaction_results/{transaction_id} | Get a System Transaction Result by ID. +[**SystemTransactionsIdGet**](TransactionsApi.md#SystemTransactionsIdGet) | **Get** /system_transactions/{id} | Get a System Transaction by ID. [**TransactionResultsTransactionIdGet**](TransactionsApi.md#TransactionResultsTransactionIdGet) | **Get** /transaction_results/{transaction_id} | Get a Transaction Result by ID. [**TransactionsIdGet**](TransactionsApi.md#TransactionsIdGet) | **Get** /transactions/{id} | Get a Transaction by ID. [**TransactionsPost**](TransactionsApi.md#TransactionsPost) | **Post** /transactions | Submit a Transaction +# **ScheduledTransactionResultsIdGet** +> TransactionResult ScheduledTransactionResultsIdGet(ctx, id, optional) +Get a Scheduled Transaction Result by ID. + +Get scheduled transaction result by the scheduled transaction ID. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **id** | **string**| The scheduled transaction's `id` field returned by the system contract. | + **optional** | ***TransactionsApiScheduledTransactionResultsIdGetOpts** | optional parameters | nil if no parameters + +### Optional Parameters +Optional parameters are passed through a pointer to a TransactionsApiScheduledTransactionResultsIdGetOpts struct +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **expand** | [**optional.Interface of []string**](string.md)| A comma-separated list indicating which properties of the content to expand. | + **select_** | [**optional.Interface of []string**](string.md)| A comma-separated list indicating which properties of the content to return. | + **agreeingExecutorsCount** | **optional.String**| A minimum number of execution receipts for the execution result. | + **requiredExecutorIds** | [**optional.Interface of []string**](string.md)| A set of execution node IDs, one of which must have produced the execution result. | + **includeExecutorMetadata** | **optional.Bool**| Specifies whether or not to include the executor metadata in the response. | + +### Return type + +[**TransactionResult**](TransactionResult.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **ScheduledTransactionsIdGet** +> Transaction ScheduledTransactionsIdGet(ctx, id, optional) +Get a Scheduled Transaction by ID. + +Get a scheduled transaction body by the provided scheduled transaction id field. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **id** | **string**| The scheduled transaction's `id` field returned by the system contract. | + **optional** | ***TransactionsApiScheduledTransactionsIdGetOpts** | optional parameters | nil if no parameters + +### Optional Parameters +Optional parameters are passed through a pointer to a TransactionsApiScheduledTransactionsIdGetOpts struct +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **expand** | [**optional.Interface of []string**](string.md)| A comma-separated list indicating which properties of the content to expand. | + **select_** | [**optional.Interface of []string**](string.md)| A comma-separated list indicating which properties of the content to return. | + **agreeingExecutorsCount** | **optional.String**| A minimum number of execution receipts for the execution result. | + **requiredExecutorIds** | [**optional.Interface of []string**](string.md)| A set of execution node IDs, one of which must have produced the execution result. | + **includeExecutorMetadata** | **optional.Bool**| Specifies whether or not to include the executor metadata in the response. | + +### Return type + +[**Transaction**](Transaction.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **SystemTransactionResultsTransactionIdGet** +> TransactionResult SystemTransactionResultsTransactionIdGet(ctx, transactionId, optional) +Get a System Transaction Result by ID. + +Get system transaction result by the transaction result ID. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **transactionId** | [**string**](.md)| The system transaction ID of the transaction result. | + **optional** | ***TransactionsApiSystemTransactionResultsTransactionIdGetOpts** | optional parameters | nil if no parameters + +### Optional Parameters +Optional parameters are passed through a pointer to a TransactionsApiSystemTransactionResultsTransactionIdGetOpts struct +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **blockId** | [**optional.Interface of string**](.md)| A block ID optional parameter | + **expand** | [**optional.Interface of []string**](string.md)| A comma-separated list indicating which properties of the content to expand. | + **select_** | [**optional.Interface of []string**](string.md)| A comma-separated list indicating which properties of the content to return. | + **agreeingExecutorsCount** | **optional.String**| A minimum number of execution receipts for the execution result. | + **requiredExecutorIds** | [**optional.Interface of []string**](string.md)| A set of execution node IDs, one of which must have produced the execution result. | + **includeExecutorMetadata** | **optional.Bool**| Specifies whether or not to include the executor metadata in the response. | + +### Return type + +[**TransactionResult**](TransactionResult.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **SystemTransactionsIdGet** +> Transaction SystemTransactionsIdGet(ctx, id, optional) +Get a System Transaction by ID. + +Get a system transaction body by the provided transaction ID. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. + **id** | [**string**](.md)| The ID of the system transaction to get. | + **optional** | ***TransactionsApiSystemTransactionsIdGetOpts** | optional parameters | nil if no parameters + +### Optional Parameters +Optional parameters are passed through a pointer to a TransactionsApiSystemTransactionsIdGetOpts struct +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **blockId** | [**optional.Interface of string**](.md)| A block ID optional parameter | + **expand** | [**optional.Interface of []string**](string.md)| A comma-separated list indicating which properties of the content to expand. | + **select_** | [**optional.Interface of []string**](string.md)| A comma-separated list indicating which properties of the content to return. | + **agreeingExecutorsCount** | **optional.String**| A minimum number of execution receipts for the execution result. | + **requiredExecutorIds** | [**optional.Interface of []string**](string.md)| A set of execution node IDs, one of which must have produced the execution result. | + **includeExecutorMetadata** | **optional.Bool**| Specifies whether or not to include the executor metadata in the response. | + +### Return type + +[**Transaction**](Transaction.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **TransactionResultsTransactionIdGet** > TransactionResult TransactionResultsTransactionIdGet(ctx, transactionId, optional) Get a Transaction Result by ID. diff --git a/protobuf/flow/access/access.proto b/protobuf/flow/access/access.proto index 26ffbfec8..cf8d072d7 100644 --- a/protobuf/flow/access/access.proto +++ b/protobuf/flow/access/access.proto @@ -85,6 +85,14 @@ service AccessAPI { rpc GetSystemTransactionResult(GetSystemTransactionResultRequest) returns (TransactionResultResponse); + // GetScheduledTransaction gets a scheduled transaction body for a given callback ID + rpc GetScheduledTransaction(GetScheduledTransactionRequest) + returns (TransactionResponse); + + // GetScheduledTransactionResult gets a scheduled transaction result for a given callback ID + rpc GetScheduledTransactionResult(GetScheduledTransactionResultRequest) + returns (TransactionResultResponse); + // Accounts // GetAccount is an alias for GetAccountAtLatestBlock. @@ -436,6 +444,25 @@ message GetSystemTransactionResultRequest { bytes id = 4; } +message GetScheduledTransactionRequest { + // id field of the scheduled transaction returned by the system contract. + uint32 id = 1; + + // Execution state query parameters used for unsealed blocks. [optional] + entities.ExecutionStateQuery execution_state_query = 2; +} + +message GetScheduledTransactionResultRequest { + // id field of the scheduled transaction returned by the system contract. + uint32 id = 1; + + // Desired event payload encoding. + entities.EventEncodingVersion event_encoding_version = 2; + + // Execution state query parameters used for unsealed blocks. [optional] + entities.ExecutionStateQuery execution_state_query = 3; +} + message GetTransactionByIndexRequest { bytes block_id = 1; uint32 index = 2; diff --git a/protobuf/go/flow/access/access.pb.go b/protobuf/go/flow/access/access.pb.go index 8c2608395..7a11677cf 100644 --- a/protobuf/go/flow/access/access.pb.go +++ b/protobuf/go/flow/access/access.pb.go @@ -1002,6 +1002,113 @@ func (m *GetSystemTransactionResultRequest) GetId() []byte { return nil } +type GetScheduledTransactionRequest struct { + // id field of the scheduled transaction returned by the system contract. + Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + // Execution state query parameters used for unsealed blocks. [optional] + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetScheduledTransactionRequest) Reset() { *m = GetScheduledTransactionRequest{} } +func (m *GetScheduledTransactionRequest) String() string { return proto.CompactTextString(m) } +func (*GetScheduledTransactionRequest) ProtoMessage() {} +func (*GetScheduledTransactionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4382e32bb8e3e8e5, []int{21} +} + +func (m *GetScheduledTransactionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetScheduledTransactionRequest.Unmarshal(m, b) +} +func (m *GetScheduledTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetScheduledTransactionRequest.Marshal(b, m, deterministic) +} +func (m *GetScheduledTransactionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetScheduledTransactionRequest.Merge(m, src) +} +func (m *GetScheduledTransactionRequest) XXX_Size() int { + return xxx_messageInfo_GetScheduledTransactionRequest.Size(m) +} +func (m *GetScheduledTransactionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetScheduledTransactionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetScheduledTransactionRequest proto.InternalMessageInfo + +func (m *GetScheduledTransactionRequest) GetId() uint32 { + if m != nil { + return m.Id + } + return 0 +} + +func (m *GetScheduledTransactionRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if m != nil { + return m.ExecutionStateQuery + } + return nil +} + +type GetScheduledTransactionResultRequest struct { + // id field of the scheduled transaction returned by the system contract. + Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + // Desired event payload encoding. + EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,2,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` + // Execution state query parameters used for unsealed blocks. [optional] + ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,3,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetScheduledTransactionResultRequest) Reset() { *m = GetScheduledTransactionResultRequest{} } +func (m *GetScheduledTransactionResultRequest) String() string { return proto.CompactTextString(m) } +func (*GetScheduledTransactionResultRequest) ProtoMessage() {} +func (*GetScheduledTransactionResultRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_4382e32bb8e3e8e5, []int{22} +} + +func (m *GetScheduledTransactionResultRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetScheduledTransactionResultRequest.Unmarshal(m, b) +} +func (m *GetScheduledTransactionResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetScheduledTransactionResultRequest.Marshal(b, m, deterministic) +} +func (m *GetScheduledTransactionResultRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetScheduledTransactionResultRequest.Merge(m, src) +} +func (m *GetScheduledTransactionResultRequest) XXX_Size() int { + return xxx_messageInfo_GetScheduledTransactionResultRequest.Size(m) +} +func (m *GetScheduledTransactionResultRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetScheduledTransactionResultRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetScheduledTransactionResultRequest proto.InternalMessageInfo + +func (m *GetScheduledTransactionResultRequest) GetId() uint32 { + if m != nil { + return m.Id + } + return 0 +} + +func (m *GetScheduledTransactionResultRequest) GetEventEncodingVersion() entities.EventEncodingVersion { + if m != nil { + return m.EventEncodingVersion + } + return entities.EventEncodingVersion_JSON_CDC_V0 +} + +func (m *GetScheduledTransactionResultRequest) GetExecutionStateQuery() *entities.ExecutionStateQuery { + if m != nil { + return m.ExecutionStateQuery + } + return nil +} + type GetTransactionByIndexRequest struct { BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` @@ -1016,7 +1123,7 @@ func (m *GetTransactionByIndexRequest) Reset() { *m = GetTransactionByIn func (m *GetTransactionByIndexRequest) String() string { return proto.CompactTextString(m) } func (*GetTransactionByIndexRequest) ProtoMessage() {} func (*GetTransactionByIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{21} + return fileDescriptor_4382e32bb8e3e8e5, []int{23} } func (m *GetTransactionByIndexRequest) XXX_Unmarshal(b []byte) error { @@ -1078,7 +1185,7 @@ func (m *GetTransactionsByBlockIDRequest) Reset() { *m = GetTransactions func (m *GetTransactionsByBlockIDRequest) String() string { return proto.CompactTextString(m) } func (*GetTransactionsByBlockIDRequest) ProtoMessage() {} func (*GetTransactionsByBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{22} + return fileDescriptor_4382e32bb8e3e8e5, []int{24} } func (m *GetTransactionsByBlockIDRequest) XXX_Unmarshal(b []byte) error { @@ -1132,7 +1239,7 @@ func (m *TransactionResultsResponse) Reset() { *m = TransactionResultsRe func (m *TransactionResultsResponse) String() string { return proto.CompactTextString(m) } func (*TransactionResultsResponse) ProtoMessage() {} func (*TransactionResultsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{23} + return fileDescriptor_4382e32bb8e3e8e5, []int{25} } func (m *TransactionResultsResponse) XXX_Unmarshal(b []byte) error { @@ -1179,7 +1286,7 @@ func (m *TransactionsResponse) Reset() { *m = TransactionsResponse{} } func (m *TransactionsResponse) String() string { return proto.CompactTextString(m) } func (*TransactionsResponse) ProtoMessage() {} func (*TransactionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{24} + return fileDescriptor_4382e32bb8e3e8e5, []int{26} } func (m *TransactionsResponse) XXX_Unmarshal(b []byte) error { @@ -1226,7 +1333,7 @@ func (m *TransactionResponse) Reset() { *m = TransactionResponse{} } func (m *TransactionResponse) String() string { return proto.CompactTextString(m) } func (*TransactionResponse) ProtoMessage() {} func (*TransactionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{25} + return fileDescriptor_4382e32bb8e3e8e5, []int{27} } func (m *TransactionResponse) XXX_Unmarshal(b []byte) error { @@ -1281,7 +1388,7 @@ func (m *TransactionResultResponse) Reset() { *m = TransactionResultResp func (m *TransactionResultResponse) String() string { return proto.CompactTextString(m) } func (*TransactionResultResponse) ProtoMessage() {} func (*TransactionResultResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{26} + return fileDescriptor_4382e32bb8e3e8e5, []int{28} } func (m *TransactionResultResponse) XXX_Unmarshal(b []byte) error { @@ -1384,7 +1491,7 @@ func (m *GetAccountRequest) Reset() { *m = GetAccountRequest{} } func (m *GetAccountRequest) String() string { return proto.CompactTextString(m) } func (*GetAccountRequest) ProtoMessage() {} func (*GetAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{27} + return fileDescriptor_4382e32bb8e3e8e5, []int{29} } func (m *GetAccountRequest) XXX_Unmarshal(b []byte) error { @@ -1431,7 +1538,7 @@ func (m *GetAccountResponse) Reset() { *m = GetAccountResponse{} } func (m *GetAccountResponse) String() string { return proto.CompactTextString(m) } func (*GetAccountResponse) ProtoMessage() {} func (*GetAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{28} + return fileDescriptor_4382e32bb8e3e8e5, []int{30} } func (m *GetAccountResponse) XXX_Unmarshal(b []byte) error { @@ -1478,7 +1585,7 @@ func (m *GetAccountAtLatestBlockRequest) Reset() { *m = GetAccountAtLate func (m *GetAccountAtLatestBlockRequest) String() string { return proto.CompactTextString(m) } func (*GetAccountAtLatestBlockRequest) ProtoMessage() {} func (*GetAccountAtLatestBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{29} + return fileDescriptor_4382e32bb8e3e8e5, []int{31} } func (m *GetAccountAtLatestBlockRequest) XXX_Unmarshal(b []byte) error { @@ -1525,7 +1632,7 @@ func (m *AccountResponse) Reset() { *m = AccountResponse{} } func (m *AccountResponse) String() string { return proto.CompactTextString(m) } func (*AccountResponse) ProtoMessage() {} func (*AccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{30} + return fileDescriptor_4382e32bb8e3e8e5, []int{32} } func (m *AccountResponse) XXX_Unmarshal(b []byte) error { @@ -1573,7 +1680,7 @@ func (m *GetAccountAtBlockHeightRequest) Reset() { *m = GetAccountAtBloc func (m *GetAccountAtBlockHeightRequest) String() string { return proto.CompactTextString(m) } func (*GetAccountAtBlockHeightRequest) ProtoMessage() {} func (*GetAccountAtBlockHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{31} + return fileDescriptor_4382e32bb8e3e8e5, []int{33} } func (m *GetAccountAtBlockHeightRequest) XXX_Unmarshal(b []byte) error { @@ -1627,7 +1734,7 @@ func (m *GetAccountBalanceAtLatestBlockRequest) Reset() { *m = GetAccoun func (m *GetAccountBalanceAtLatestBlockRequest) String() string { return proto.CompactTextString(m) } func (*GetAccountBalanceAtLatestBlockRequest) ProtoMessage() {} func (*GetAccountBalanceAtLatestBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{32} + return fileDescriptor_4382e32bb8e3e8e5, []int{34} } func (m *GetAccountBalanceAtLatestBlockRequest) XXX_Unmarshal(b []byte) error { @@ -1675,7 +1782,7 @@ func (m *GetAccountBalanceAtBlockHeightRequest) Reset() { *m = GetAccoun func (m *GetAccountBalanceAtBlockHeightRequest) String() string { return proto.CompactTextString(m) } func (*GetAccountBalanceAtBlockHeightRequest) ProtoMessage() {} func (*GetAccountBalanceAtBlockHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{33} + return fileDescriptor_4382e32bb8e3e8e5, []int{35} } func (m *GetAccountBalanceAtBlockHeightRequest) XXX_Unmarshal(b []byte) error { @@ -1729,7 +1836,7 @@ func (m *AccountBalanceResponse) Reset() { *m = AccountBalanceResponse{} func (m *AccountBalanceResponse) String() string { return proto.CompactTextString(m) } func (*AccountBalanceResponse) ProtoMessage() {} func (*AccountBalanceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{34} + return fileDescriptor_4382e32bb8e3e8e5, []int{36} } func (m *AccountBalanceResponse) XXX_Unmarshal(b []byte) error { @@ -1777,7 +1884,7 @@ func (m *GetAccountKeysAtLatestBlockRequest) Reset() { *m = GetAccountKe func (m *GetAccountKeysAtLatestBlockRequest) String() string { return proto.CompactTextString(m) } func (*GetAccountKeysAtLatestBlockRequest) ProtoMessage() {} func (*GetAccountKeysAtLatestBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{35} + return fileDescriptor_4382e32bb8e3e8e5, []int{37} } func (m *GetAccountKeysAtLatestBlockRequest) XXX_Unmarshal(b []byte) error { @@ -1827,7 +1934,7 @@ func (m *GetAccountKeyAtLatestBlockRequest) Reset() { *m = GetAccountKey func (m *GetAccountKeyAtLatestBlockRequest) String() string { return proto.CompactTextString(m) } func (*GetAccountKeyAtLatestBlockRequest) ProtoMessage() {} func (*GetAccountKeyAtLatestBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{36} + return fileDescriptor_4382e32bb8e3e8e5, []int{38} } func (m *GetAccountKeyAtLatestBlockRequest) XXX_Unmarshal(b []byte) error { @@ -1882,7 +1989,7 @@ func (m *GetAccountKeysAtBlockHeightRequest) Reset() { *m = GetAccountKe func (m *GetAccountKeysAtBlockHeightRequest) String() string { return proto.CompactTextString(m) } func (*GetAccountKeysAtBlockHeightRequest) ProtoMessage() {} func (*GetAccountKeysAtBlockHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{37} + return fileDescriptor_4382e32bb8e3e8e5, []int{39} } func (m *GetAccountKeysAtBlockHeightRequest) XXX_Unmarshal(b []byte) error { @@ -1939,7 +2046,7 @@ func (m *GetAccountKeyAtBlockHeightRequest) Reset() { *m = GetAccountKey func (m *GetAccountKeyAtBlockHeightRequest) String() string { return proto.CompactTextString(m) } func (*GetAccountKeyAtBlockHeightRequest) ProtoMessage() {} func (*GetAccountKeyAtBlockHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{38} + return fileDescriptor_4382e32bb8e3e8e5, []int{40} } func (m *GetAccountKeyAtBlockHeightRequest) XXX_Unmarshal(b []byte) error { @@ -2000,7 +2107,7 @@ func (m *AccountKeysResponse) Reset() { *m = AccountKeysResponse{} } func (m *AccountKeysResponse) String() string { return proto.CompactTextString(m) } func (*AccountKeysResponse) ProtoMessage() {} func (*AccountKeysResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{39} + return fileDescriptor_4382e32bb8e3e8e5, []int{41} } func (m *AccountKeysResponse) XXX_Unmarshal(b []byte) error { @@ -2047,7 +2154,7 @@ func (m *AccountKeyResponse) Reset() { *m = AccountKeyResponse{} } func (m *AccountKeyResponse) String() string { return proto.CompactTextString(m) } func (*AccountKeyResponse) ProtoMessage() {} func (*AccountKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{40} + return fileDescriptor_4382e32bb8e3e8e5, []int{42} } func (m *AccountKeyResponse) XXX_Unmarshal(b []byte) error { @@ -2095,7 +2202,7 @@ func (m *ExecuteScriptAtLatestBlockRequest) Reset() { *m = ExecuteScript func (m *ExecuteScriptAtLatestBlockRequest) String() string { return proto.CompactTextString(m) } func (*ExecuteScriptAtLatestBlockRequest) ProtoMessage() {} func (*ExecuteScriptAtLatestBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{41} + return fileDescriptor_4382e32bb8e3e8e5, []int{43} } func (m *ExecuteScriptAtLatestBlockRequest) XXX_Unmarshal(b []byte) error { @@ -2151,7 +2258,7 @@ func (m *ExecuteScriptAtBlockIDRequest) Reset() { *m = ExecuteScriptAtBl func (m *ExecuteScriptAtBlockIDRequest) String() string { return proto.CompactTextString(m) } func (*ExecuteScriptAtBlockIDRequest) ProtoMessage() {} func (*ExecuteScriptAtBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{42} + return fileDescriptor_4382e32bb8e3e8e5, []int{44} } func (m *ExecuteScriptAtBlockIDRequest) XXX_Unmarshal(b []byte) error { @@ -2214,7 +2321,7 @@ func (m *ExecuteScriptAtBlockHeightRequest) Reset() { *m = ExecuteScript func (m *ExecuteScriptAtBlockHeightRequest) String() string { return proto.CompactTextString(m) } func (*ExecuteScriptAtBlockHeightRequest) ProtoMessage() {} func (*ExecuteScriptAtBlockHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{43} + return fileDescriptor_4382e32bb8e3e8e5, []int{45} } func (m *ExecuteScriptAtBlockHeightRequest) XXX_Unmarshal(b []byte) error { @@ -2276,7 +2383,7 @@ func (m *ExecuteScriptResponse) Reset() { *m = ExecuteScriptResponse{} } func (m *ExecuteScriptResponse) String() string { return proto.CompactTextString(m) } func (*ExecuteScriptResponse) ProtoMessage() {} func (*ExecuteScriptResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{44} + return fileDescriptor_4382e32bb8e3e8e5, []int{46} } func (m *ExecuteScriptResponse) XXX_Unmarshal(b []byte) error { @@ -2333,7 +2440,7 @@ func (m *GetEventsForHeightRangeRequest) Reset() { *m = GetEventsForHeig func (m *GetEventsForHeightRangeRequest) String() string { return proto.CompactTextString(m) } func (*GetEventsForHeightRangeRequest) ProtoMessage() {} func (*GetEventsForHeightRangeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{45} + return fileDescriptor_4382e32bb8e3e8e5, []int{47} } func (m *GetEventsForHeightRangeRequest) XXX_Unmarshal(b []byte) error { @@ -2403,7 +2510,7 @@ func (m *GetEventsForBlockIDsRequest) Reset() { *m = GetEventsForBlockID func (m *GetEventsForBlockIDsRequest) String() string { return proto.CompactTextString(m) } func (*GetEventsForBlockIDsRequest) ProtoMessage() {} func (*GetEventsForBlockIDsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{46} + return fileDescriptor_4382e32bb8e3e8e5, []int{48} } func (m *GetEventsForBlockIDsRequest) XXX_Unmarshal(b []byte) error { @@ -2464,7 +2571,7 @@ func (m *EventsResponse) Reset() { *m = EventsResponse{} } func (m *EventsResponse) String() string { return proto.CompactTextString(m) } func (*EventsResponse) ProtoMessage() {} func (*EventsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{47} + return fileDescriptor_4382e32bb8e3e8e5, []int{49} } func (m *EventsResponse) XXX_Unmarshal(b []byte) error { @@ -2513,7 +2620,7 @@ func (m *EventsResponse_Result) Reset() { *m = EventsResponse_Result{} } func (m *EventsResponse_Result) String() string { return proto.CompactTextString(m) } func (*EventsResponse_Result) ProtoMessage() {} func (*EventsResponse_Result) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{47, 0} + return fileDescriptor_4382e32bb8e3e8e5, []int{49, 0} } func (m *EventsResponse_Result) XXX_Unmarshal(b []byte) error { @@ -2572,7 +2679,7 @@ func (m *GetNetworkParametersRequest) Reset() { *m = GetNetworkParameter func (m *GetNetworkParametersRequest) String() string { return proto.CompactTextString(m) } func (*GetNetworkParametersRequest) ProtoMessage() {} func (*GetNetworkParametersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{48} + return fileDescriptor_4382e32bb8e3e8e5, []int{50} } func (m *GetNetworkParametersRequest) XXX_Unmarshal(b []byte) error { @@ -2604,7 +2711,7 @@ func (m *GetNetworkParametersResponse) Reset() { *m = GetNetworkParamete func (m *GetNetworkParametersResponse) String() string { return proto.CompactTextString(m) } func (*GetNetworkParametersResponse) ProtoMessage() {} func (*GetNetworkParametersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{49} + return fileDescriptor_4382e32bb8e3e8e5, []int{51} } func (m *GetNetworkParametersResponse) XXX_Unmarshal(b []byte) error { @@ -2642,7 +2749,7 @@ func (m *GetLatestProtocolStateSnapshotRequest) Reset() { *m = GetLatest func (m *GetLatestProtocolStateSnapshotRequest) String() string { return proto.CompactTextString(m) } func (*GetLatestProtocolStateSnapshotRequest) ProtoMessage() {} func (*GetLatestProtocolStateSnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{50} + return fileDescriptor_4382e32bb8e3e8e5, []int{52} } func (m *GetLatestProtocolStateSnapshotRequest) XXX_Unmarshal(b []byte) error { @@ -2676,7 +2783,7 @@ func (m *GetProtocolStateSnapshotByBlockIDRequest) Reset() { func (m *GetProtocolStateSnapshotByBlockIDRequest) String() string { return proto.CompactTextString(m) } func (*GetProtocolStateSnapshotByBlockIDRequest) ProtoMessage() {} func (*GetProtocolStateSnapshotByBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{51} + return fileDescriptor_4382e32bb8e3e8e5, []int{53} } func (m *GetProtocolStateSnapshotByBlockIDRequest) XXX_Unmarshal(b []byte) error { @@ -2717,7 +2824,7 @@ func (m *GetProtocolStateSnapshotByHeightRequest) Reset() { func (m *GetProtocolStateSnapshotByHeightRequest) String() string { return proto.CompactTextString(m) } func (*GetProtocolStateSnapshotByHeightRequest) ProtoMessage() {} func (*GetProtocolStateSnapshotByHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{52} + return fileDescriptor_4382e32bb8e3e8e5, []int{54} } func (m *GetProtocolStateSnapshotByHeightRequest) XXX_Unmarshal(b []byte) error { @@ -2757,7 +2864,7 @@ func (m *ProtocolStateSnapshotResponse) Reset() { *m = ProtocolStateSnap func (m *ProtocolStateSnapshotResponse) String() string { return proto.CompactTextString(m) } func (*ProtocolStateSnapshotResponse) ProtoMessage() {} func (*ProtocolStateSnapshotResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{53} + return fileDescriptor_4382e32bb8e3e8e5, []int{55} } func (m *ProtocolStateSnapshotResponse) XXX_Unmarshal(b []byte) error { @@ -2804,7 +2911,7 @@ func (m *GetExecutionResultForBlockIDRequest) Reset() { *m = GetExecutio func (m *GetExecutionResultForBlockIDRequest) String() string { return proto.CompactTextString(m) } func (*GetExecutionResultForBlockIDRequest) ProtoMessage() {} func (*GetExecutionResultForBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{54} + return fileDescriptor_4382e32bb8e3e8e5, []int{56} } func (m *GetExecutionResultForBlockIDRequest) XXX_Unmarshal(b []byte) error { @@ -2851,7 +2958,7 @@ func (m *ExecutionResultForBlockIDResponse) Reset() { *m = ExecutionResu func (m *ExecutionResultForBlockIDResponse) String() string { return proto.CompactTextString(m) } func (*ExecutionResultForBlockIDResponse) ProtoMessage() {} func (*ExecutionResultForBlockIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{55} + return fileDescriptor_4382e32bb8e3e8e5, []int{57} } func (m *ExecutionResultForBlockIDResponse) XXX_Unmarshal(b []byte) error { @@ -2898,7 +3005,7 @@ func (m *GetExecutionResultByIDRequest) Reset() { *m = GetExecutionResul func (m *GetExecutionResultByIDRequest) String() string { return proto.CompactTextString(m) } func (*GetExecutionResultByIDRequest) ProtoMessage() {} func (*GetExecutionResultByIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{56} + return fileDescriptor_4382e32bb8e3e8e5, []int{58} } func (m *GetExecutionResultByIDRequest) XXX_Unmarshal(b []byte) error { @@ -2945,7 +3052,7 @@ func (m *ExecutionResultByIDResponse) Reset() { *m = ExecutionResultByID func (m *ExecutionResultByIDResponse) String() string { return proto.CompactTextString(m) } func (*ExecutionResultByIDResponse) ProtoMessage() {} func (*ExecutionResultByIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{57} + return fileDescriptor_4382e32bb8e3e8e5, []int{59} } func (m *ExecutionResultByIDResponse) XXX_Unmarshal(b []byte) error { @@ -3003,7 +3110,7 @@ func (m *SubscribeBlocksFromStartBlockIDRequest) Reset() { func (m *SubscribeBlocksFromStartBlockIDRequest) String() string { return proto.CompactTextString(m) } func (*SubscribeBlocksFromStartBlockIDRequest) ProtoMessage() {} func (*SubscribeBlocksFromStartBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{58} + return fileDescriptor_4382e32bb8e3e8e5, []int{60} } func (m *SubscribeBlocksFromStartBlockIDRequest) XXX_Unmarshal(b []byte) error { @@ -3066,7 +3173,7 @@ func (m *SubscribeBlocksFromStartHeightRequest) Reset() { *m = Subscribe func (m *SubscribeBlocksFromStartHeightRequest) String() string { return proto.CompactTextString(m) } func (*SubscribeBlocksFromStartHeightRequest) ProtoMessage() {} func (*SubscribeBlocksFromStartHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{59} + return fileDescriptor_4382e32bb8e3e8e5, []int{61} } func (m *SubscribeBlocksFromStartHeightRequest) XXX_Unmarshal(b []byte) error { @@ -3127,7 +3234,7 @@ func (m *SubscribeBlocksFromLatestRequest) Reset() { *m = SubscribeBlock func (m *SubscribeBlocksFromLatestRequest) String() string { return proto.CompactTextString(m) } func (*SubscribeBlocksFromLatestRequest) ProtoMessage() {} func (*SubscribeBlocksFromLatestRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{60} + return fileDescriptor_4382e32bb8e3e8e5, []int{62} } func (m *SubscribeBlocksFromLatestRequest) XXX_Unmarshal(b []byte) error { @@ -3177,7 +3284,7 @@ func (m *SubscribeBlocksResponse) Reset() { *m = SubscribeBlocksResponse func (m *SubscribeBlocksResponse) String() string { return proto.CompactTextString(m) } func (*SubscribeBlocksResponse) ProtoMessage() {} func (*SubscribeBlocksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{61} + return fileDescriptor_4382e32bb8e3e8e5, []int{63} } func (m *SubscribeBlocksResponse) XXX_Unmarshal(b []byte) error { @@ -3227,7 +3334,7 @@ func (m *SubscribeBlockHeadersFromStartBlockIDRequest) String() string { } func (*SubscribeBlockHeadersFromStartBlockIDRequest) ProtoMessage() {} func (*SubscribeBlockHeadersFromStartBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{62} + return fileDescriptor_4382e32bb8e3e8e5, []int{64} } func (m *SubscribeBlockHeadersFromStartBlockIDRequest) XXX_Unmarshal(b []byte) error { @@ -3284,7 +3391,7 @@ func (m *SubscribeBlockHeadersFromStartHeightRequest) String() string { } func (*SubscribeBlockHeadersFromStartHeightRequest) ProtoMessage() {} func (*SubscribeBlockHeadersFromStartHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{63} + return fileDescriptor_4382e32bb8e3e8e5, []int{65} } func (m *SubscribeBlockHeadersFromStartHeightRequest) XXX_Unmarshal(b []byte) error { @@ -3337,7 +3444,7 @@ func (m *SubscribeBlockHeadersFromLatestRequest) Reset() { func (m *SubscribeBlockHeadersFromLatestRequest) String() string { return proto.CompactTextString(m) } func (*SubscribeBlockHeadersFromLatestRequest) ProtoMessage() {} func (*SubscribeBlockHeadersFromLatestRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{64} + return fileDescriptor_4382e32bb8e3e8e5, []int{66} } func (m *SubscribeBlockHeadersFromLatestRequest) XXX_Unmarshal(b []byte) error { @@ -3380,7 +3487,7 @@ func (m *SubscribeBlockHeadersResponse) Reset() { *m = SubscribeBlockHea func (m *SubscribeBlockHeadersResponse) String() string { return proto.CompactTextString(m) } func (*SubscribeBlockHeadersResponse) ProtoMessage() {} func (*SubscribeBlockHeadersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{65} + return fileDescriptor_4382e32bb8e3e8e5, []int{67} } func (m *SubscribeBlockHeadersResponse) XXX_Unmarshal(b []byte) error { @@ -3430,7 +3537,7 @@ func (m *SubscribeBlockDigestsFromStartBlockIDRequest) String() string { } func (*SubscribeBlockDigestsFromStartBlockIDRequest) ProtoMessage() {} func (*SubscribeBlockDigestsFromStartBlockIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{66} + return fileDescriptor_4382e32bb8e3e8e5, []int{68} } func (m *SubscribeBlockDigestsFromStartBlockIDRequest) XXX_Unmarshal(b []byte) error { @@ -3487,7 +3594,7 @@ func (m *SubscribeBlockDigestsFromStartHeightRequest) String() string { } func (*SubscribeBlockDigestsFromStartHeightRequest) ProtoMessage() {} func (*SubscribeBlockDigestsFromStartHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{67} + return fileDescriptor_4382e32bb8e3e8e5, []int{69} } func (m *SubscribeBlockDigestsFromStartHeightRequest) XXX_Unmarshal(b []byte) error { @@ -3540,7 +3647,7 @@ func (m *SubscribeBlockDigestsFromLatestRequest) Reset() { func (m *SubscribeBlockDigestsFromLatestRequest) String() string { return proto.CompactTextString(m) } func (*SubscribeBlockDigestsFromLatestRequest) ProtoMessage() {} func (*SubscribeBlockDigestsFromLatestRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{68} + return fileDescriptor_4382e32bb8e3e8e5, []int{70} } func (m *SubscribeBlockDigestsFromLatestRequest) XXX_Unmarshal(b []byte) error { @@ -3589,7 +3696,7 @@ func (m *SubscribeBlockDigestsResponse) Reset() { *m = SubscribeBlockDig func (m *SubscribeBlockDigestsResponse) String() string { return proto.CompactTextString(m) } func (*SubscribeBlockDigestsResponse) ProtoMessage() {} func (*SubscribeBlockDigestsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{69} + return fileDescriptor_4382e32bb8e3e8e5, []int{71} } func (m *SubscribeBlockDigestsResponse) XXX_Unmarshal(b []byte) error { @@ -3652,7 +3759,7 @@ func (m *SendAndSubscribeTransactionStatusesRequest) String() string { } func (*SendAndSubscribeTransactionStatusesRequest) ProtoMessage() {} func (*SendAndSubscribeTransactionStatusesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{70} + return fileDescriptor_4382e32bb8e3e8e5, []int{72} } func (m *SendAndSubscribeTransactionStatusesRequest) XXX_Unmarshal(b []byte) error { @@ -3714,7 +3821,7 @@ func (m *SendAndSubscribeTransactionStatusesResponse) String() string { } func (*SendAndSubscribeTransactionStatusesResponse) ProtoMessage() {} func (*SendAndSubscribeTransactionStatusesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4382e32bb8e3e8e5, []int{71} + return fileDescriptor_4382e32bb8e3e8e5, []int{73} } func (m *SendAndSubscribeTransactionStatusesResponse) XXX_Unmarshal(b []byte) error { @@ -3771,6 +3878,8 @@ func init() { proto.RegisterType((*GetTransactionRequest)(nil), "flow.access.GetTransactionRequest") proto.RegisterType((*GetSystemTransactionRequest)(nil), "flow.access.GetSystemTransactionRequest") proto.RegisterType((*GetSystemTransactionResultRequest)(nil), "flow.access.GetSystemTransactionResultRequest") + proto.RegisterType((*GetScheduledTransactionRequest)(nil), "flow.access.GetScheduledTransactionRequest") + proto.RegisterType((*GetScheduledTransactionResultRequest)(nil), "flow.access.GetScheduledTransactionResultRequest") proto.RegisterType((*GetTransactionByIndexRequest)(nil), "flow.access.GetTransactionByIndexRequest") proto.RegisterType((*GetTransactionsByBlockIDRequest)(nil), "flow.access.GetTransactionsByBlockIDRequest") proto.RegisterType((*TransactionResultsResponse)(nil), "flow.access.TransactionResultsResponse") @@ -3828,179 +3937,183 @@ func init() { func init() { proto.RegisterFile("flow/access/access.proto", fileDescriptor_4382e32bb8e3e8e5) } var fileDescriptor_4382e32bb8e3e8e5 = []byte{ - // 2778 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x3c, 0x5b, 0x6f, 0xdc, 0xc6, - 0xd5, 0x98, 0x5d, 0x59, 0x97, 0xa3,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0x1a, 0x1d, - 0x96, 0x44, 0x15, 0x85, 0xc0, 0xb7, 0x18, 0x2c, 0x3b, 0x20, 0x8d, 0x19, 0x22, 0x19, 0x55, 0x2b, - 0xff, 0xd8, 0xfe, 0x94, 0xff, 0x31, 0xa2, 0xa7, 0xf0, 0xe6, 0x9e, 0x1f, 0x90, 0xb6, 0x44, 0x45, - 0x69, 0x95, 0x20, 0x5e, 0x25, 0x91, 0xf6, 0x4a, 0xbd, 0xf7, 0x79, 0x79, 0x7f, 0x2c, 0xbe, 0x57, - 0x82, 0x33, 0x72, 0x16, 0xc3, 0x6b, 0x58, 0x01, 0x46, 0xd5, 0x66, 0x29, 0x1d, 0x98, 0x59, 0xf6, - 0x27, 0x33, 0xd3, 0xed, 0x50, 0xf7, 0x0a, 0xf3, 0x7e, 0x89, 0x06, 0xdd, 0x94, 0xf4, 0xab, 0x7b, - 0xeb, 0x8e, 0x45, 0x1e, 0x17, 0x10, 0x7f, 0x06, 0x8e, 0xd9, 0x21, 0x28, 0x95, 0x76, 0xd2, 0x88, - 0x3e, 0x72, 0x94, 0x52, 0x3e, 0x30, 0xa5, 0x0c, 0xed, 0xcf, 0x11, 0xfe, 0x83, 0x60, 0x91, 0x57, - 0x82, 0xbf, 0xba, 0x47, 0x4f, 0xd8, 0xe4, 0xf0, 0xf9, 0x9f, 0x72, 0x03, 0xfd, 0x0f, 0x08, 0xb4, - 0x8c, 0xc7, 0xfb, 0xdd, 0xf0, 0xf8, 0x35, 0x98, 0x4e, 0x05, 0x68, 0xf6, 0x2e, 0x89, 0x8f, 0x99, - 0x97, 0x6a, 0xa9, 0x17, 0x56, 0x4d, 0xb2, 0x6f, 0x22, 0x24, 0x06, 0x0e, 0x32, 0x04, 0x06, 0x8b, - 0xb3, 0x3f, 0x42, 0x30, 0x93, 0xb6, 0xcd, 0xe1, 0x1e, 0x83, 0x3f, 0x44, 0x30, 0x2d, 0x3b, 0x52, - 0xf6, 0x77, 0x06, 0x0e, 0xc4, 0xca, 0x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 0x89, 0x67, 0x05, - 0xfc, 0xf1, 0x82, 0x18, 0x6c, 0x30, 0xe7, 0xfd, 0x05, 0x82, 0xd3, 0x09, 0xf5, 0x1b, 0xb2, 0xf7, - 0xe4, 0xe7, 0xaf, 0x91, 0xc7, 0x70, 0xfc, 0x90, 0xd4, 0xf1, 0xa9, 0xa0, 0x8e, 0xd5, 0xc4, 0x23, - 0x7b, 0xab, 0x43, 0xf4, 0xea, 0x52, 0xd6, 0xab, 0x0f, 0xea, 0x24, 0xf9, 0x0d, 0x82, 0x73, 0x09, - 0xdf, 0xab, 0x66, 0xcb, 0x74, 0x1a, 0xe4, 0x88, 0x58, 0xf3, 0xaf, 0x72, 0xde, 0x9e, 0x17, 0xd5, - 0x36, 0x61, 0x96, 0x67, 0xbd, 0xeb, 0x93, 0x15, 0x18, 0xd9, 0x8a, 0x86, 0x58, 0xaa, 0x22, 0xfe, - 0x1c, 0xcc, 0xf7, 0x7e, 0x85, 0x40, 0x4f, 0xf4, 0xf4, 0x06, 0xd9, 0xf3, 0x8f, 0x88, 0x01, 0x3f, - 0x41, 0xf4, 0x86, 0x9e, 0x30, 0xd6, 0x27, 0x5f, 0xf2, 0x1b, 0xea, 0x41, 0xd9, 0xeb, 0x33, 0x89, - 0x1a, 0x9f, 0x17, 0x5f, 0xfb, 0x57, 0x56, 0xd3, 0xcf, 0x9a, 0xf5, 0xae, 0x31, 0xca, 0x85, 0x8c, - 0xb1, 0xcf, 0x3b, 0x7d, 0x78, 0x4d, 0x4b, 0x59, 0x22, 0x75, 0x4d, 0x9b, 0x60, 0x71, 0xba, 0xfe, - 0x80, 0xec, 0xc5, 0x77, 0xc6, 0x39, 0x79, 0x4c, 0x7f, 0x83, 0xec, 0x19, 0xe3, 0x66, 0x82, 0x65, - 0xb0, 0xed, 0xf5, 0x01, 0x02, 0x9c, 0x42, 0x18, 0x73, 0xf2, 0x2a, 0x8c, 0xa7, 0x38, 0x51, 0x24, - 0x94, 0x52, 0xeb, 0x20, 0x61,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, 0x0d, 0xd3, 0x89, 0xab, 0xff, 0x0d, 0x00, 0x00, - 0xff, 0xff, 0xcf, 0x0a, 0x11, 0x20, 0x73, 0x41, 0x00, 0x00, + // 2839 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x1c, 0x4d, 0x6f, 0xdc, 0xc6, + 0x15, 0xb3, 0x2b, 0xeb, 0xe3, 0xe9, 0xc3, 0xce, 0x48, 0x96, 0x57, 0x94, 0x65, 0xad, 0x29, 0x39, + 0x56, 0x6c, 0x77, 0xe5, 0xda, 0x2d, 0x62, 0xa7, 0x1f, 0x80, 0xe5, 0xd8, 0x8a, 0x10, 0x3b, 0x50, + 0x29, 0xc7, 0x45, 0xbf, 0xb2, 0xa0, 0x96, 0xa3, 0x15, 0xe1, 0x5d, 0x52, 0x21, 0xb9, 0xb6, 0x95, + 0x16, 0x45, 0x12, 0x38, 0x6e, 0x80, 0xa2, 0xdf, 0x40, 0xd1, 0x1a, 0x08, 0x50, 0xb4, 0xa7, 0x36, + 0x40, 0x8b, 0x1e, 0x72, 0x08, 0xda, 0xa2, 0x97, 0x1e, 0x7a, 0xea, 0xa9, 0x7f, 0xa2, 0xa7, 0xfe, + 0x85, 0x82, 0xc3, 0xe1, 0xee, 0x70, 0x38, 0xc3, 0xe5, 0xae, 0xac, 0x48, 0xea, 0xc5, 0x16, 0x67, + 0xde, 0xbc, 0xef, 0x79, 0xf3, 0x66, 0xde, 0x93, 0xa0, 0xb4, 0xd5, 0x70, 0x1f, 0x2d, 0x9b, 0xb5, + 0x1a, 0xf1, 0x7d, 0xf6, 0x5f, 0x65, 0xc7, 0x73, 0x03, 0x17, 0x8f, 0x86, 0x33, 0x95, 0x68, 0x48, + 0x9b, 0xa5, 0x60, 0xc4, 0x09, 0xec, 0xc0, 0x26, 0x14, 0xd0, 0x6d, 0x39, 0x41, 0x04, 0xa9, 0x95, + 0x93, 0x93, 0x9b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 0x6d, 0x8b, 0xa2, 0x1f, 0x33, 0x86, 0xe8, 0xf7, 0x9a, 0x85, 0x17, + 0x60, 0xbc, 0xe3, 0x28, 0xe1, 0x7c, 0x91, 0xce, 0x8f, 0x75, 0x06, 0xd7, 0x2c, 0xfc, 0x0d, 0x98, + 0xa6, 0x09, 0x44, 0x95, 0x38, 0x35, 0xd7, 0xb2, 0x9d, 0x7a, 0x7c, 0x8c, 0x97, 0x06, 0x68, 0x74, + 0x58, 0x10, 0x55, 0x14, 0x02, 0xdf, 0x62, 0xb0, 0xec, 0x80, 0x34, 0xa6, 0x88, 0x64, 0x54, 0xad, + 0xfc, 0x63, 0x7b, 0x53, 0xfe, 0x6f, 0x10, 0x3d, 0x85, 0x37, 0x76, 0xfd, 0x80, 0x34, 0x25, 0x2a, + 0xe2, 0x55, 0x82, 0x92, 0x2a, 0x89, 0xb4, 0x57, 0xe8, 0xbe, 0xcf, 0x8b, 0x7b, 0x63, 0xf1, 0xbd, + 0x02, 0x9c, 0x95, 0xb3, 0x18, 0xa6, 0x61, 0x39, 0x18, 0x55, 0x9b, 0xa5, 0xb0, 0x6f, 0x66, 0xd9, + 0x9b, 0xcc, 0x4c, 0xb7, 0x03, 0xed, 0x14, 0xe6, 0x43, 0x04, 0x67, 0x42, 0x1d, 0xd4, 0xb6, 0x89, + 0xd5, 0x6a, 0x10, 0x2b, 0xd3, 0x99, 0xc7, 0xf7, 0x35, 0xec, 0xfe, 0x07, 0xc1, 0xa2, 0x92, 0x15, + 0xde, 0x22, 0x22, 0x43, 0x47, 0xcf, 0x0c, 0xfa, 0xfb, 0x05, 0x7a, 0xd6, 0x71, 0x22, 0xae, 0xec, + 0xae, 0x39, 0x16, 0x79, 0x9c, 0xc3, 0xeb, 0xa6, 0xe0, 0x98, 0x1d, 0x82, 0x52, 0xe9, 0xc6, 0x8d, + 0xe8, 0x23, 0x43, 0x09, 0xc5, 0x7d, 0x53, 0xc2, 0xc0, 0xde, 0x94, 0xf0, 0x5f, 0x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b1, 0xda, 0x79, 0xb6, 0x1d, 0x30, 0xc6, 0xd8, 0x20, 0xed, 0x4b, 0xb8, 0xf2, + 0xf4, 0x12, 0x8c, 0xdc, 0xa0, 0xd8, 0x6f, 0xac, 0xaf, 0xe1, 0x2f, 0xc1, 0xc0, 0xba, 0xed, 0xd4, + 0x71, 0x29, 0x41, 0x96, 0xeb, 0x01, 0xd6, 0x66, 0x24, 0x33, 0x4c, 0x10, 0x42, 0xeb, 0x5f, 0x42, + 0xef, 0x2e, 0x4e, 0x4a, 0xa0, 0xec, 0x17, 0xd6, 0xce, 0x77, 0x85, 0x63, 0x64, 0x36, 0x61, 0x4a, + 0xd6, 0x06, 0x8c, 0x97, 0x44, 0x04, 0xaa, 0x4e, 0x61, 0xad, 0x9c, 0x80, 0x94, 0x35, 0xec, 0xbe, + 0x45, 0x45, 0x11, 0xda, 0x85, 0xd3, 0xa2, 0xc8, 0xfb, 0x89, 0x73, 0xe0, 0xdf, 0x82, 0x69, 0x79, + 0x87, 0x31, 0xbe, 0x90, 0x49, 0x23, 0x11, 0x04, 0x73, 0xd0, 0x59, 0x87, 0x89, 0xa4, 0x22, 0xb0, + 0x9e, 0xa1, 0xa5, 0x18, 0xaf, 0x96, 0xc6, 0xdb, 0xc6, 0x78, 0x07, 0xc6, 0xf8, 0xf6, 0x5d, 0x5c, + 0x96, 0xf2, 0xcb, 0x6b, 0x23, 0x0b, 0xdb, 0x3d, 0x38, 0x21, 0x76, 0xed, 0xe2, 0x45, 0x05, 0xc6, + 0xa4, 0xec, 0x59, 0x58, 0xbf, 0x45, 0xeb, 0xc1, 0xc9, 0x66, 0x53, 0x7c, 0x4e, 0x44, 0x2b, 0x6d, + 0x46, 0xd5, 0xe6, 0x13, 0x60, 0x92, 0x1e, 0xcd, 0x3a, 0x6d, 0x0e, 0x4c, 0x77, 0xb3, 0xe2, 0x97, + 0x44, 0x02, 0xca, 0x8e, 0x57, 0x6d, 0x21, 0x01, 0xaa, 0x68, 0x06, 0xfd, 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0xa5, 0x78, 0xcf, 0xcf, 0x34, 0x55, 0x76, 0x0d, 0x20, 0x93, 0x25, 0xe1, 0x89, 0x5a, 0x6a, 0x2a, + 0xf9, 0x63, 0x7e, 0xa6, 0xa9, 0x32, 0xdf, 0xff, 0x7b, 0x64, 0x28, 0x6d, 0xaa, 0xd4, 0x0b, 0x7e, + 0xa6, 0xa9, 0x54, 0xef, 0xfd, 0x3d, 0xb2, 0xf1, 0x0c, 0xc1, 0x42, 0x8e, 0x97, 0x61, 0xfc, 0x72, + 0xea, 0x05, 0x27, 0xdf, 0x5b, 0xbb, 0x76, 0xad, 0xf7, 0x85, 0x31, 0x73, 0x2b, 0x77, 0x40, 0x73, + 0xbd, 0x7a, 0xc5, 0x75, 0x28, 0x8a, 0x76, 0x1d, 0x20, 0xc2, 0xf5, 0xcd, 0x4a, 0xdd, 0x0e, 0xb6, + 0x5b, 0x9b, 0x95, 0x9a, 0xdb, 0x5c, 0x8e, 0x40, 0x96, 0xe9, 0x3f, 0xed, 0x3f, 0x1d, 0x51, 0x77, + 0x97, 0xb9, 0x3f, 0xdd, 0xb1, 0x39, 0x48, 0x27, 0xae, 0xfe, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x49, + 0x5b, 0xc9, 0xc3, 0xd0, 0x43, 0x00, 0x00, } diff --git a/protobuf/go/flow/access/access_grpc.pb.go b/protobuf/go/flow/access/access_grpc.pb.go index e55b79ba4..9a485a84c 100644 --- a/protobuf/go/flow/access/access_grpc.pb.go +++ b/protobuf/go/flow/access/access_grpc.pb.go @@ -37,6 +37,8 @@ const ( AccessAPI_GetTransactionsByBlockID_FullMethodName = "/flow.access.AccessAPI/GetTransactionsByBlockID" AccessAPI_GetSystemTransaction_FullMethodName = "/flow.access.AccessAPI/GetSystemTransaction" AccessAPI_GetSystemTransactionResult_FullMethodName = "/flow.access.AccessAPI/GetSystemTransactionResult" + AccessAPI_GetScheduledTransaction_FullMethodName = "/flow.access.AccessAPI/GetScheduledTransaction" + AccessAPI_GetScheduledTransactionResult_FullMethodName = "/flow.access.AccessAPI/GetScheduledTransactionResult" AccessAPI_GetAccount_FullMethodName = "/flow.access.AccessAPI/GetAccount" AccessAPI_GetAccountAtLatestBlock_FullMethodName = "/flow.access.AccessAPI/GetAccountAtLatestBlock" AccessAPI_GetAccountAtBlockHeight_FullMethodName = "/flow.access.AccessAPI/GetAccountAtBlockHeight" @@ -114,6 +116,10 @@ type AccessAPIClient interface { // GetSystemTransactionResult gets a system transaction result for a // specified block GetSystemTransactionResult(ctx context.Context, in *GetSystemTransactionResultRequest, opts ...grpc.CallOption) (*TransactionResultResponse, error) + // GetScheduledTransaction gets a scheduled transaction body for a given callback ID + GetScheduledTransaction(ctx context.Context, in *GetScheduledTransactionRequest, opts ...grpc.CallOption) (*TransactionResponse, error) + // GetScheduledTransactionResult gets a scheduled transaction result for a given callback ID + GetScheduledTransactionResult(ctx context.Context, in *GetScheduledTransactionResultRequest, opts ...grpc.CallOption) (*TransactionResultResponse, error) // GetAccount is an alias for GetAccountAtLatestBlock. // // Warning: this function is deprecated. It behaves identically to @@ -436,6 +442,24 @@ func (c *accessAPIClient) GetSystemTransactionResult(ctx context.Context, in *Ge return out, nil } +func (c *accessAPIClient) GetScheduledTransaction(ctx context.Context, in *GetScheduledTransactionRequest, opts ...grpc.CallOption) (*TransactionResponse, error) { + out := new(TransactionResponse) + err := c.cc.Invoke(ctx, AccessAPI_GetScheduledTransaction_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *accessAPIClient) GetScheduledTransactionResult(ctx context.Context, in *GetScheduledTransactionResultRequest, opts ...grpc.CallOption) (*TransactionResultResponse, error) { + out := new(TransactionResultResponse) + err := c.cc.Invoke(ctx, AccessAPI_GetScheduledTransactionResult_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *accessAPIClient) GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*GetAccountResponse, error) { out := new(GetAccountResponse) err := c.cc.Invoke(ctx, AccessAPI_GetAccount_FullMethodName, in, out, opts...) @@ -981,6 +1005,10 @@ type AccessAPIServer interface { // GetSystemTransactionResult gets a system transaction result for a // specified block GetSystemTransactionResult(context.Context, *GetSystemTransactionResultRequest) (*TransactionResultResponse, error) + // GetScheduledTransaction gets a scheduled transaction body for a given callback ID + GetScheduledTransaction(context.Context, *GetScheduledTransactionRequest) (*TransactionResponse, error) + // GetScheduledTransactionResult gets a scheduled transaction result for a given callback ID + GetScheduledTransactionResult(context.Context, *GetScheduledTransactionResultRequest) (*TransactionResultResponse, error) // GetAccount is an alias for GetAccountAtLatestBlock. // // Warning: this function is deprecated. It behaves identically to @@ -1191,6 +1219,12 @@ func (UnimplementedAccessAPIServer) GetSystemTransaction(context.Context, *GetSy func (UnimplementedAccessAPIServer) GetSystemTransactionResult(context.Context, *GetSystemTransactionResultRequest) (*TransactionResultResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSystemTransactionResult not implemented") } +func (UnimplementedAccessAPIServer) GetScheduledTransaction(context.Context, *GetScheduledTransactionRequest) (*TransactionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetScheduledTransaction not implemented") +} +func (UnimplementedAccessAPIServer) GetScheduledTransactionResult(context.Context, *GetScheduledTransactionResultRequest) (*TransactionResultResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetScheduledTransactionResult not implemented") +} func (UnimplementedAccessAPIServer) GetAccount(context.Context, *GetAccountRequest) (*GetAccountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAccount not implemented") } @@ -1617,6 +1651,42 @@ func _AccessAPI_GetSystemTransactionResult_Handler(srv interface{}, ctx context. return interceptor(ctx, in, info, handler) } +func _AccessAPI_GetScheduledTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetScheduledTransactionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AccessAPIServer).GetScheduledTransaction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AccessAPI_GetScheduledTransaction_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AccessAPIServer).GetScheduledTransaction(ctx, req.(*GetScheduledTransactionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AccessAPI_GetScheduledTransactionResult_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetScheduledTransactionResultRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AccessAPIServer).GetScheduledTransactionResult(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: AccessAPI_GetScheduledTransactionResult_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AccessAPIServer).GetScheduledTransactionResult(ctx, req.(*GetScheduledTransactionResultRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _AccessAPI_GetAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetAccountRequest) if err := dec(in); err != nil { @@ -2266,6 +2336,14 @@ var AccessAPI_ServiceDesc = grpc.ServiceDesc{ MethodName: "GetSystemTransactionResult", Handler: _AccessAPI_GetSystemTransactionResult_Handler, }, + { + MethodName: "GetScheduledTransaction", + Handler: _AccessAPI_GetScheduledTransaction_Handler, + }, + { + MethodName: "GetScheduledTransactionResult", + Handler: _AccessAPI_GetScheduledTransactionResult_Handler, + }, { MethodName: "GetAccount", Handler: _AccessAPI_GetAccount_Handler, From 8ee6e56f77b221eba739978636c7ed837995b270 Mon Sep 17 00:00:00 2001 From: Peter Argue <89119817+peterargue@users.noreply.github.com> Date: Mon, 29 Sep 2025 18:27:45 -0700 Subject: [PATCH 2/3] fix type to uint64 --- protobuf/flow/access/access.proto | 4 +- protobuf/go/flow/access/access.pb.go | 232 +++++++++++++-------------- 2 files changed, 118 insertions(+), 118 deletions(-) diff --git a/protobuf/flow/access/access.proto b/protobuf/flow/access/access.proto index cf8d072d7..737d56312 100644 --- a/protobuf/flow/access/access.proto +++ b/protobuf/flow/access/access.proto @@ -446,7 +446,7 @@ message GetSystemTransactionResultRequest { message GetScheduledTransactionRequest { // id field of the scheduled transaction returned by the system contract. - uint32 id = 1; + uint64 id = 1; // Execution state query parameters used for unsealed blocks. [optional] entities.ExecutionStateQuery execution_state_query = 2; @@ -454,7 +454,7 @@ message GetScheduledTransactionRequest { message GetScheduledTransactionResultRequest { // id field of the scheduled transaction returned by the system contract. - uint32 id = 1; + uint64 id = 1; // Desired event payload encoding. entities.EventEncodingVersion event_encoding_version = 2; diff --git a/protobuf/go/flow/access/access.pb.go b/protobuf/go/flow/access/access.pb.go index 7a11677cf..ba3183cdb 100644 --- a/protobuf/go/flow/access/access.pb.go +++ b/protobuf/go/flow/access/access.pb.go @@ -1004,7 +1004,7 @@ func (m *GetSystemTransactionResultRequest) GetId() []byte { type GetScheduledTransactionRequest struct { // id field of the scheduled transaction returned by the system contract. - Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Execution state query parameters used for unsealed blocks. [optional] ExecutionStateQuery *entities.ExecutionStateQuery `protobuf:"bytes,2,opt,name=execution_state_query,json=executionStateQuery,proto3" json:"execution_state_query,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -1037,7 +1037,7 @@ func (m *GetScheduledTransactionRequest) XXX_DiscardUnknown() { var xxx_messageInfo_GetScheduledTransactionRequest proto.InternalMessageInfo -func (m *GetScheduledTransactionRequest) GetId() uint32 { +func (m *GetScheduledTransactionRequest) GetId() uint64 { if m != nil { return m.Id } @@ -1053,7 +1053,7 @@ func (m *GetScheduledTransactionRequest) GetExecutionStateQuery() *entities.Exec type GetScheduledTransactionResultRequest struct { // id field of the scheduled transaction returned by the system contract. - Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Desired event payload encoding. EventEncodingVersion entities.EventEncodingVersion `protobuf:"varint,2,opt,name=event_encoding_version,json=eventEncodingVersion,proto3,enum=flow.entities.EventEncodingVersion" json:"event_encoding_version,omitempty"` // Execution state query parameters used for unsealed blocks. [optional] @@ -1088,7 +1088,7 @@ func (m *GetScheduledTransactionResultRequest) XXX_DiscardUnknown() { var xxx_messageInfo_GetScheduledTransactionResultRequest proto.InternalMessageInfo -func (m *GetScheduledTransactionResultRequest) GetId() uint32 { +func (m *GetScheduledTransactionResultRequest) GetId() uint64 { if m != nil { return m.Id } @@ -3990,7 +3990,7 @@ var fileDescriptor_4382e32bb8e3e8e5 = []byte{ 0xe2, 0x55, 0x82, 0x92, 0x2a, 0x89, 0xb4, 0x57, 0xe8, 0xbe, 0xcf, 0x8b, 0x7b, 0x63, 0xf1, 0xbd, 0x02, 0x9c, 0x95, 0xb3, 0x18, 0xa6, 0x61, 0x39, 0x18, 0x55, 0x9b, 0xa5, 0xb0, 0x6f, 0x66, 0xd9, 0x9b, 0xcc, 0x4c, 0xb7, 0x03, 0xed, 0x14, 0xe6, 0x43, 0x04, 0x67, 0x42, 0x1d, 0xd4, 0xb6, 0x89, - 0xd5, 0x6a, 0x10, 0x2b, 0xd3, 0x99, 0xc7, 0xf7, 0x35, 0xec, 0xfe, 0x07, 0xc1, 0xa2, 0x92, 0x15, + 0xd5, 0x6a, 0x10, 0x2b, 0xd3, 0x99, 0x07, 0xf6, 0x35, 0xec, 0xfe, 0x07, 0xc1, 0xa2, 0x92, 0x15, 0xde, 0x22, 0x22, 0x43, 0x47, 0xcf, 0x0c, 0xfa, 0xfb, 0x05, 0x7a, 0xd6, 0x71, 0x22, 0xae, 0xec, 0xae, 0x39, 0x16, 0x79, 0x9c, 0xc3, 0xeb, 0xa6, 0xe0, 0x98, 0x1d, 0x82, 0x52, 0xe9, 0xc6, 0x8d, 0xe8, 0x23, 0x43, 0x09, 0xc5, 0x7d, 0x53, 0xc2, 0xc0, 0xde, 0x94, 0xf0, 0x5f, 0x04, 0xf3, 0x49, @@ -4005,115 +4005,115 @@ var fileDescriptor_4382e32bb8e3e8e5 = []byte{ 0x46, 0x63, 0xf8, 0x12, 0x0c, 0x52, 0x9f, 0xf6, 0x4b, 0x03, 0xd4, 0x2e, 0x53, 0xb2, 0x6d, 0x60, 0x30, 0x98, 0xc4, 0xfe, 0x3a, 0x96, 0xdc, 0x5f, 0xe7, 0x60, 0x82, 0xf7, 0x46, 0xdb, 0x2a, 0x0d, 0x52, 0x80, 0x71, 0x6e, 0x54, 0x96, 0xc0, 0x0c, 0x49, 0x12, 0x98, 0xb3, 0xf1, 0xa5, 0x86, 0x5d, - 0xb0, 0x86, 0xe9, 0x05, 0x2b, 0xba, 0xb8, 0x44, 0x97, 0xb0, 0x84, 0x29, 0x46, 0x72, 0x9a, 0x02, - 0x5f, 0x84, 0x17, 0x6a, 0x6e, 0x73, 0xa7, 0x15, 0x98, 0x94, 0x7a, 0x8b, 0x6a, 0x05, 0x28, 0xf2, - 0x13, 0xdc, 0xc4, 0x9b, 0xe1, 0xb8, 0xfe, 0x01, 0x82, 0x17, 0x56, 0x49, 0x70, 0x23, 0x7a, 0x04, - 0x8a, 0x23, 0x4c, 0x09, 0x86, 0x4c, 0xcb, 0xf2, 0x88, 0xef, 0xc7, 0x01, 0x86, 0x7d, 0xee, 0xdb, - 0x41, 0xf7, 0x5d, 0xc0, 0x3c, 0x1b, 0xed, 0xbb, 0xff, 0x10, 0x7b, 0x9e, 0x62, 0x4e, 0x3c, 0x2d, - 0xe0, 0x8f, 0x17, 0xc4, 0x60, 0xfd, 0x39, 0xef, 0xcf, 0xa3, 0x03, 0x9f, 0x21, 0xbb, 0x21, 0xbb, - 0xc6, 0x7f, 0xf6, 0x1a, 0x79, 0x0c, 0xc7, 0x0f, 0x48, 0x1d, 0x9f, 0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0c, 0x52, 0x62, 0xf0, 0x57, 0xed, 0x3a, 0xf1, 0x83, 0xc3, 0x66, 0x70, 0x91, - 0xab, 0xc3, 0x64, 0x70, 0x8e, 0xb7, 0xe7, 0x6a, 0xf0, 0xdf, 0x22, 0xd1, 0xe2, 0x8c, 0x12, 0x9f, - 0xdb, 0xed, 0x21, 0x97, 0x95, 0x64, 0xa7, 0xc5, 0x9e, 0xb3, 0xd3, 0x8f, 0x0a, 0x70, 0x61, 0x83, - 0x38, 0xd6, 0x0d, 0xc7, 0x6a, 0xf3, 0x9a, 0x2a, 0x7e, 0x11, 0xff, 0xf9, 0xf4, 0x10, 0x1d, 0xc1, - 0x62, 0xf0, 0xc7, 0xa1, 0x2b, 0xe7, 0xd1, 0x4f, 0xb7, 0xea, 0x30, 0xda, 0x63, 0x75, 0x78, 0x01, - 0xc6, 0x59, 0x41, 0xb1, 0xda, 0x79, 0xb6, 0x1d, 0x30, 0xc6, 0xd8, 0x20, 0xed, 0x4b, 0xb8, 0xf2, - 0xf4, 0x12, 0x8c, 0xdc, 0xa0, 0xd8, 0x6f, 0xac, 0xaf, 0xe1, 0x2f, 0xc1, 0xc0, 0xba, 0xed, 0xd4, - 0x71, 0x29, 0x41, 0x96, 0xeb, 0x01, 0xd6, 0x66, 0x24, 0x33, 0x4c, 0x10, 0x42, 0xeb, 0x5f, 0x42, - 0xef, 0x2e, 0x4e, 0x4a, 0xa0, 0xec, 0x17, 0xd6, 0xce, 0x77, 0x85, 0x63, 0x64, 0x36, 0x61, 0x4a, - 0xd6, 0x06, 0x8c, 0x97, 0x44, 0x04, 0xaa, 0x4e, 0x61, 0xad, 0x9c, 0x80, 0x94, 0x35, 0xec, 0xbe, - 0x45, 0x45, 0x11, 0xda, 0x85, 0xd3, 0xa2, 0xc8, 0xfb, 0x89, 0x73, 0xe0, 0xdf, 0x82, 0x69, 0x79, - 0x87, 0x31, 0xbe, 0x90, 0x49, 0x23, 0x11, 0x04, 0x73, 0xd0, 0x59, 0x87, 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0x7b, 0x6e, 0x73, 0x23, 0x3c, 0x44, 0x05, 0x6f, 0x5b, 0x84, 0x89, 0xe8, + 0xbc, 0x15, 0x7c, 0x2e, 0x3a, 0x85, 0x57, 0x98, 0xe3, 0xed, 0xb1, 0x0b, 0x41, 0xd1, 0x32, 0x51, + 0x54, 0xb5, 0x4c, 0xfc, 0x03, 0xc1, 0x39, 0x15, 0xff, 0xc9, 0xed, 0x7f, 0x09, 0x30, 0xcf, 0x7e, + 0x22, 0x08, 0x9c, 0xe8, 0x88, 0xc0, 0x82, 0xf2, 0x67, 0x2c, 0xc6, 0xcf, 0x10, 0x94, 0x25, 0x62, + 0x44, 0x71, 0x34, 0x96, 0x40, 0xe4, 0x09, 0x3d, 0x17, 0x9e, 0x94, 0xdd, 0x28, 0xb7, 0xe0, 0x94, + 0xc0, 0x52, 0x3f, 0x6d, 0x29, 0xfa, 0x2f, 0x10, 0x5c, 0x4a, 0xe2, 0x89, 0x1a, 0x91, 0x0e, 0xd4, + 0xcf, 0xf4, 0x67, 0x08, 0x2e, 0x66, 0x73, 0x75, 0x70, 0xde, 0xa3, 0xd7, 0xc5, 0x3d, 0xc9, 0xf1, + 0xf6, 0x3c, 0x5d, 0x42, 0xdf, 0x80, 0x39, 0x29, 0x21, 0xae, 0x8b, 0x6e, 0x30, 0xea, 0x6b, 0xcc, + 0xd1, 0x58, 0xc6, 0x20, 0x25, 0x06, 0x7f, 0xd5, 0xae, 0x13, 0x3f, 0x38, 0x6c, 0x06, 0x17, 0xb9, + 0x3a, 0x4c, 0x06, 0xe7, 0x78, 0x7b, 0xae, 0x06, 0xff, 0x2d, 0x12, 0x2d, 0xce, 0x28, 0xf1, 0xb9, + 0xdd, 0x1e, 0x72, 0x59, 0x49, 0x76, 0x5a, 0xec, 0x39, 0x3b, 0xfd, 0xa8, 0x00, 0x17, 0x36, 0x88, + 0x63, 0xdd, 0x70, 0xac, 0x36, 0xaf, 0xa9, 0xe2, 0x17, 0xf1, 0x9f, 0x4f, 0x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xf8, 0x5a, 0x0f, 0x1c, 0x65, 0x6d, 0xc3, 0x6e, 0x0c, 0x3d, + 0x41, 0xa2, 0x5b, 0xa6, 0xea, 0x00, 0x99, 0x6e, 0xa9, 0xaa, 0x1a, 0xf4, 0xc8, 0x46, 0xda, 0x54, + 0x8a, 0xf7, 0xfc, 0x4c, 0x53, 0x65, 0xd7, 0x00, 0x32, 0x59, 0x12, 0x9e, 0xa8, 0xa5, 0xa6, 0x92, + 0x3f, 0xe6, 0x67, 0x9a, 0x2a, 0xf3, 0xfd, 0xbf, 0x47, 0x86, 0xd2, 0xa6, 0x4a, 0xbd, 0xe0, 0x67, + 0x9a, 0x4a, 0xf5, 0xde, 0xdf, 0x23, 0x1b, 0xcf, 0x10, 0x2c, 0xe4, 0x78, 0x19, 0xc6, 0x2f, 0xa7, + 0x5e, 0x70, 0xf2, 0xbd, 0xb5, 0x6b, 0xd7, 0x7a, 0x5f, 0x18, 0x33, 0xb7, 0x72, 0x07, 0x34, 0xd7, + 0xab, 0x57, 0x5c, 0x87, 0xa2, 0x68, 0xd7, 0x01, 0x22, 0x5c, 0xdf, 0xac, 0xd4, 0xed, 0x60, 0xbb, + 0xb5, 0x59, 0xa9, 0xb9, 0xcd, 0xe5, 0x08, 0x64, 0x99, 0xfe, 0xd3, 0xfe, 0xd3, 0x11, 0x75, 0x77, + 0x99, 0xfb, 0xd3, 0x1d, 0x9b, 0x83, 0x74, 0xe2, 0xea, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xf1, + 0xcf, 0xfe, 0x26, 0xd0, 0x43, 0x00, 0x00, } From 2d478f73d30943e7c95a457061cd1c8beec59f2f Mon Sep 17 00:00:00 2001 From: Peter Argue <89119817+peterargue@users.noreply.github.com> Date: Fri, 17 Oct 2025 16:54:52 -0700 Subject: [PATCH 3/3] remove system and schedule tx from openapi spec, integrate into existing endpoints --- openapi/access.yaml | 150 +---- .../.swagger-codegen/VERSION | 2 +- openapi/go-client-generated/README.md | 8 +- openapi/go-client-generated/api/swagger.yaml | 450 +------------ .../go-client-generated/api_transactions.go | 604 +----------------- openapi/go-client-generated/docs/Id.md | 8 + .../go-client-generated/docs/TransactionId.md | 8 + .../docs/TransactionsApi.md | 178 +----- openapi/go-client-generated/model_id.go | 14 + .../model_transaction_id.go | 14 + 10 files changed, 102 insertions(+), 1334 deletions(-) create mode 100644 openapi/go-client-generated/docs/Id.md create mode 100644 openapi/go-client-generated/docs/TransactionId.md create mode 100644 openapi/go-client-generated/model_id.go create mode 100644 openapi/go-client-generated/model_transaction_id.go diff --git a/openapi/access.yaml b/openapi/access.yaml index 96ed3c53f..b259e5418 100644 --- a/openapi/access.yaml +++ b/openapi/access.yaml @@ -123,15 +123,17 @@ paths: /transactions/{id}: get: summary: Get a Transaction by ID. - description: Get a transaction data by the provided transaction ID. + description: Get a transaction data by the provided transaction ID. If the transaction is a scheduled transaction, it can alternatively be retrieved by the scheduled transaction ID field returned by the system contract. tags: - Transactions parameters: - - description: The ID of the transaction to get. + - description: The ID of the transaction, or id field of the scheduled transaction returned by the system contract. name: id in: path schema: - $ref: '#/components/schemas/Identifier' + oneOf: + - $ref: '#/components/schemas/Identifier' + - $ref: '#/components/schemas/ScheduledTransactionId' required: true - $ref: '#/components/parameters/blockIdParam' - $ref: '#/components/parameters/collectionIdParam' @@ -152,16 +154,18 @@ paths: $ref: '#/components/responses/500InternalServerError' /transaction_results/{transaction_id}: get: - summary: Get a Transaction Result by ID. - description: Get transaction result by the transaction result ID. + summary: Get a Transaction Result by transaction ID or scheduled transaction ID. + description: Get transaction result by the transaction's ID. If the transaction is a scheduled transaction, it can alternatively be retrieved by the scheduled transaction ID field returned by the system contract. tags: - Transactions parameters: - - description: The transaction ID of the transaction result. + - description: The transaction ID of the transaction result, or id field of the scheduled transaction returned by the system contract. name: transaction_id in: path schema: - $ref: '#/components/schemas/Identifier' + oneOf: + - $ref: '#/components/schemas/Identifier' + - $ref: '#/components/schemas/ScheduledTransactionId' required: true - $ref: '#/components/parameters/blockIdParam' - $ref: '#/components/parameters/collectionIdParam' @@ -258,134 +262,6 @@ paths: $ref: '#/components/responses/400BadRequest' '500': $ref: '#/components/responses/500InternalServerError' - /system_transactions/{id}: - get: - summary: Get a System Transaction by ID. - description: Get a system transaction body by the provided transaction ID. - tags: - - Transactions - parameters: - - description: The ID of the system transaction to get. - name: id - in: path - schema: - $ref: '#/components/schemas/Identifier' - required: true - - $ref: '#/components/parameters/blockIdParam' - - $ref: '#/components/parameters/expandParam' - - $ref: '#/components/parameters/selectParam' - - $ref: '#/components/parameters/agreeingExecutorsCount' - - $ref: '#/components/parameters/requiredExecutorIds' - - $ref: '#/components/parameters/includeExecutorMetadata' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/Transaction' - '400': - $ref: '#/components/responses/400BadRequest' - '404': - $ref: '#/components/responses/404NotFound' - '500': - $ref: '#/components/responses/500InternalServerError' - /system_transaction_results/{transaction_id}: - get: - summary: Get a System Transaction Result by ID. - description: Get system transaction result by the transaction result ID. - tags: - - Transactions - parameters: - - description: The system transaction ID of the transaction result. - name: transaction_id - in: path - schema: - $ref: '#/components/schemas/Identifier' - required: true - - $ref: '#/components/parameters/blockIdParam' - - $ref: '#/components/parameters/expandParam' - - $ref: '#/components/parameters/selectParam' - - $ref: '#/components/parameters/agreeingExecutorsCount' - - $ref: '#/components/parameters/requiredExecutorIds' - - $ref: '#/components/parameters/includeExecutorMetadata' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/TransactionResult' - '400': - $ref: '#/components/responses/400BadRequest' - '404': - $ref: '#/components/responses/404NotFound' - '500': - $ref: '#/components/responses/500InternalServerError' - /scheduled_transactions/{id}: - get: - summary: Get a Scheduled Transaction by ID. - description: Get a scheduled transaction body by the provided scheduled transaction id field. - tags: - - Transactions - parameters: - - description: The scheduled transaction's `id` field returned by the system contract. - name: id - in: path - schema: - type: string - format: uint64 - required: true - - $ref: '#/components/parameters/expandParam' - - $ref: '#/components/parameters/selectParam' - - $ref: '#/components/parameters/agreeingExecutorsCount' - - $ref: '#/components/parameters/requiredExecutorIds' - - $ref: '#/components/parameters/includeExecutorMetadata' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/Transaction' - '400': - $ref: '#/components/responses/400BadRequest' - '404': - $ref: '#/components/responses/404NotFound' - '500': - $ref: '#/components/responses/500InternalServerError' - /scheduled_transaction_results/{id}: - get: - summary: Get a Scheduled Transaction Result by ID. - description: Get scheduled transaction result by the scheduled transaction ID. - tags: - - Transactions - parameters: - - description: The scheduled transaction's `id` field returned by the system contract. - name: id - in: path - schema: - type: string - format: uint64 - required: true - - $ref: '#/components/parameters/expandParam' - - $ref: '#/components/parameters/selectParam' - - $ref: '#/components/parameters/agreeingExecutorsCount' - - $ref: '#/components/parameters/requiredExecutorIds' - - $ref: '#/components/parameters/includeExecutorMetadata' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/TransactionResult' - '400': - $ref: '#/components/responses/400BadRequest' - '404': - $ref: '#/components/responses/404NotFound' - '500': - $ref: '#/components/responses/500InternalServerError' /collections/{id}: get: summary: Gets a Collection by ID @@ -1358,6 +1234,10 @@ components: type: string format: hexadecimal pattern: '[a-fA-F0-9]{64}' + ScheduledTransactionId: + description: The ID of a scheduled transaction. + type: string + format: uint64 Signature: description: A variable length signature. type: string diff --git a/openapi/go-client-generated/.swagger-codegen/VERSION b/openapi/go-client-generated/.swagger-codegen/VERSION index 9ad03a797..c6e7ea918 100644 --- a/openapi/go-client-generated/.swagger-codegen/VERSION +++ b/openapi/go-client-generated/.swagger-codegen/VERSION @@ -1 +1 @@ -3.0.73 \ No newline at end of file +3.0.75 \ No newline at end of file diff --git a/openapi/go-client-generated/README.md b/openapi/go-client-generated/README.md index 79ecd5fee..4125ef856 100644 --- a/openapi/go-client-generated/README.md +++ b/openapi/go-client-generated/README.md @@ -34,11 +34,7 @@ Class | Method | HTTP request | Description *NodeVersionInfoApi* | [**NodeVersionInfoGet**](docs/NodeVersionInfoApi.md#nodeversioninfoget) | **Get** /node_version_info | Get Node Version Information *ScriptsApi* | [**ScriptsPost**](docs/ScriptsApi.md#scriptspost) | **Post** /scripts | Execute a Cadence Script *SubscribeEventsApi* | [**SubscribeEventsGet**](docs/SubscribeEventsApi.md#subscribeeventsget) | **Get** /subscribe_events | Subscribe events -*TransactionsApi* | [**ScheduledTransactionResultsIdGet**](docs/TransactionsApi.md#scheduledtransactionresultsidget) | **Get** /scheduled_transaction_results/{id} | Get a Scheduled Transaction Result by ID. -*TransactionsApi* | [**ScheduledTransactionsIdGet**](docs/TransactionsApi.md#scheduledtransactionsidget) | **Get** /scheduled_transactions/{id} | Get a Scheduled Transaction by ID. -*TransactionsApi* | [**SystemTransactionResultsTransactionIdGet**](docs/TransactionsApi.md#systemtransactionresultstransactionidget) | **Get** /system_transaction_results/{transaction_id} | Get a System Transaction Result by ID. -*TransactionsApi* | [**SystemTransactionsIdGet**](docs/TransactionsApi.md#systemtransactionsidget) | **Get** /system_transactions/{id} | Get a System Transaction by ID. -*TransactionsApi* | [**TransactionResultsTransactionIdGet**](docs/TransactionsApi.md#transactionresultstransactionidget) | **Get** /transaction_results/{transaction_id} | Get a Transaction Result by ID. +*TransactionsApi* | [**TransactionResultsTransactionIdGet**](docs/TransactionsApi.md#transactionresultstransactionidget) | **Get** /transaction_results/{transaction_id} | Get a Transaction Result by transaction ID or scheduled transaction ID. *TransactionsApi* | [**TransactionsIdGet**](docs/TransactionsApi.md#transactionsidget) | **Get** /transactions/{id} | Get a Transaction by ID. *TransactionsApi* | [**TransactionsPost**](docs/TransactionsApi.md#transactionspost) | **Post** /transactions | Submit a Transaction @@ -66,6 +62,7 @@ Class | Method | HTTP request | Description - [ExecutionResult](docs/ExecutionResult.md) - [ExecutorMetadata](docs/ExecutorMetadata.md) - [HashingAlgorithm](docs/HashingAlgorithm.md) + - [Id](docs/Id.md) - [InlineResponse200](docs/InlineResponse200.md) - [Links](docs/Links.md) - [Metadata](docs/Metadata.md) @@ -79,6 +76,7 @@ Class | Method | HTTP request | Description - [Transaction](docs/Transaction.md) - [TransactionExecution](docs/TransactionExecution.md) - [TransactionExpandable](docs/TransactionExpandable.md) + - [TransactionId](docs/TransactionId.md) - [TransactionResult](docs/TransactionResult.md) - [TransactionSignature](docs/TransactionSignature.md) - [TransactionStatus](docs/TransactionStatus.md) diff --git a/openapi/go-client-generated/api/swagger.yaml b/openapi/go-client-generated/api/swagger.yaml index be29b0863..6701aad71 100644 --- a/openapi/go-client-generated/api/swagger.yaml +++ b/openapi/go-client-generated/api/swagger.yaml @@ -249,16 +249,19 @@ paths: tags: - Transactions summary: Get a Transaction by ID. - description: Get a transaction data by the provided transaction ID. + description: "Get a transaction data by the provided transaction ID. If the\ + \ transaction is a scheduled transaction, it can alternatively be retrieved\ + \ by the scheduled transaction ID field returned by the system contract." parameters: - name: id in: path - description: The ID of the transaction to get. + description: "The ID of the transaction, or id field of the scheduled transaction\ + \ returned by the system contract." required: true style: simple explode: false schema: - $ref: "#/components/schemas/Identifier" + $ref: "#/components/schemas/id" - name: block_id in: query description: A block ID optional parameter @@ -330,17 +333,21 @@ paths: get: tags: - Transactions - summary: Get a Transaction Result by ID. - description: Get transaction result by the transaction result ID. + summary: Get a Transaction Result by transaction ID or scheduled transaction + ID. + description: "Get transaction result by the transaction's ID. If the transaction\ + \ is a scheduled transaction, it can alternatively be retrieved by the scheduled\ + \ transaction ID field returned by the system contract." parameters: - name: transaction_id in: path - description: The transaction ID of the transaction result. + description: "The transaction ID of the transaction result, or id field of\ + \ the scheduled transaction returned by the system contract." required: true style: simple explode: false schema: - $ref: "#/components/schemas/Identifier" + $ref: "#/components/schemas/transaction_id" - name: block_id in: query description: A block ID optional parameter @@ -482,423 +489,6 @@ paths: application/json: schema: $ref: "#/components/schemas/Error" - /system_transactions/{id}: - get: - tags: - - Transactions - summary: Get a System Transaction by ID. - description: Get a system transaction body by the provided transaction ID. - parameters: - - name: id - in: path - description: The ID of the system transaction to get. - required: true - style: simple - explode: false - schema: - $ref: "#/components/schemas/Identifier" - - name: block_id - in: query - description: A block ID optional parameter - required: false - style: form - explode: true - schema: - $ref: "#/components/schemas/Identifier" - - name: expand - in: query - description: A comma-separated list indicating which properties of the content - to expand. - required: false - style: form - explode: false - schema: - minItems: 1 - uniqueItems: true - type: array - items: - type: string - - name: select - in: query - description: A comma-separated list indicating which properties of the content - to return. - required: false - style: form - explode: false - schema: - minItems: 1 - uniqueItems: true - type: array - items: - type: string - - name: agreeing_executors_count - in: query - description: A minimum number of execution receipts for the execution result. - required: false - allowEmptyValue: false - style: form - explode: true - schema: - type: string - format: uint64 - - name: required_executor_ids - in: query - description: "A set of execution node IDs, one of which must have produced\ - \ the execution result." - required: false - style: form - explode: false - schema: - minItems: 1 - uniqueItems: true - type: array - items: - $ref: "#/components/schemas/Identifier" - - name: include_executor_metadata - in: query - description: Specifies whether or not to include the executor metadata in - the response. - required: false - allowEmptyValue: false - style: form - explode: true - schema: - type: boolean - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/Transaction" - "400": - description: Bad Request - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - "404": - description: Not Found - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - "500": - description: Internal Server Error - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - /system_transaction_results/{transaction_id}: - get: - tags: - - Transactions - summary: Get a System Transaction Result by ID. - description: Get system transaction result by the transaction result ID. - parameters: - - name: transaction_id - in: path - description: The system transaction ID of the transaction result. - required: true - style: simple - explode: false - schema: - $ref: "#/components/schemas/Identifier" - - name: block_id - in: query - description: A block ID optional parameter - required: false - style: form - explode: true - schema: - $ref: "#/components/schemas/Identifier" - - name: expand - in: query - description: A comma-separated list indicating which properties of the content - to expand. - required: false - style: form - explode: false - schema: - minItems: 1 - uniqueItems: true - type: array - items: - type: string - - name: select - in: query - description: A comma-separated list indicating which properties of the content - to return. - required: false - style: form - explode: false - schema: - minItems: 1 - uniqueItems: true - type: array - items: - type: string - - name: agreeing_executors_count - in: query - description: A minimum number of execution receipts for the execution result. - required: false - allowEmptyValue: false - style: form - explode: true - schema: - type: string - format: uint64 - - name: required_executor_ids - in: query - description: "A set of execution node IDs, one of which must have produced\ - \ the execution result." - required: false - style: form - explode: false - schema: - minItems: 1 - uniqueItems: true - type: array - items: - $ref: "#/components/schemas/Identifier" - - name: include_executor_metadata - in: query - description: Specifies whether or not to include the executor metadata in - the response. - required: false - allowEmptyValue: false - style: form - explode: true - schema: - type: boolean - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/TransactionResult" - "400": - description: Bad Request - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - "404": - description: Not Found - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - "500": - description: Internal Server Error - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - /scheduled_transactions/{id}: - get: - tags: - - Transactions - summary: Get a Scheduled Transaction by ID. - description: Get a scheduled transaction body by the provided scheduled transaction - id field. - parameters: - - name: id - in: path - description: The scheduled transaction's `id` field returned by the system - contract. - required: true - style: simple - explode: false - schema: - type: string - format: uint64 - - name: expand - in: query - description: A comma-separated list indicating which properties of the content - to expand. - required: false - style: form - explode: false - schema: - minItems: 1 - uniqueItems: true - type: array - items: - type: string - - name: select - in: query - description: A comma-separated list indicating which properties of the content - to return. - required: false - style: form - explode: false - schema: - minItems: 1 - uniqueItems: true - type: array - items: - type: string - - name: agreeing_executors_count - in: query - description: A minimum number of execution receipts for the execution result. - required: false - allowEmptyValue: false - style: form - explode: true - schema: - type: string - format: uint64 - - name: required_executor_ids - in: query - description: "A set of execution node IDs, one of which must have produced\ - \ the execution result." - required: false - style: form - explode: false - schema: - minItems: 1 - uniqueItems: true - type: array - items: - $ref: "#/components/schemas/Identifier" - - name: include_executor_metadata - in: query - description: Specifies whether or not to include the executor metadata in - the response. - required: false - allowEmptyValue: false - style: form - explode: true - schema: - type: boolean - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/Transaction" - "400": - description: Bad Request - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - "404": - description: Not Found - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - "500": - description: Internal Server Error - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - /scheduled_transaction_results/{id}: - get: - tags: - - Transactions - summary: Get a Scheduled Transaction Result by ID. - description: Get scheduled transaction result by the scheduled transaction ID. - parameters: - - name: id - in: path - description: The scheduled transaction's `id` field returned by the system - contract. - required: true - style: simple - explode: false - schema: - type: string - format: uint64 - - name: expand - in: query - description: A comma-separated list indicating which properties of the content - to expand. - required: false - style: form - explode: false - schema: - minItems: 1 - uniqueItems: true - type: array - items: - type: string - - name: select - in: query - description: A comma-separated list indicating which properties of the content - to return. - required: false - style: form - explode: false - schema: - minItems: 1 - uniqueItems: true - type: array - items: - type: string - - name: agreeing_executors_count - in: query - description: A minimum number of execution receipts for the execution result. - required: false - allowEmptyValue: false - style: form - explode: true - schema: - type: string - format: uint64 - - name: required_executor_ids - in: query - description: "A set of execution node IDs, one of which must have produced\ - \ the execution result." - required: false - style: form - explode: false - schema: - minItems: 1 - uniqueItems: true - type: array - items: - $ref: "#/components/schemas/Identifier" - - name: include_executor_metadata - in: query - description: Specifies whether or not to include the executor metadata in - the response. - required: false - allowEmptyValue: false - style: form - explode: true - schema: - type: boolean - responses: - "200": - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/TransactionResult" - "400": - description: Bad Request - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - "404": - description: Not Found - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - "500": - description: Internal Server Error - content: - application/json: - schema: - $ref: "#/components/schemas/Error" /collections/{id}: get: tags: @@ -2744,6 +2334,10 @@ components: type: string description: A 32-byte unique identifier for an entity. format: hexadecimal + ScheduledTransactionId: + type: string + description: The ID of a scheduled transaction. + format: uint64 Signature: type: string description: A variable length signature. @@ -2897,6 +2491,14 @@ components: event_index: event_index BlockId: BlockId Height: Height + id: + oneOf: + - $ref: "#/components/schemas/Identifier" + - $ref: "#/components/schemas/ScheduledTransactionId" + transaction_id: + oneOf: + - $ref: "#/components/schemas/Identifier" + - $ref: "#/components/schemas/ScheduledTransactionId" transactions_body: required: - arguments diff --git a/openapi/go-client-generated/api_transactions.go b/openapi/go-client-generated/api_transactions.go index 4b5a5f8ee..b97b2c38b 100644 --- a/openapi/go-client-generated/api_transactions.go +++ b/openapi/go-client-generated/api_transactions.go @@ -26,600 +26,10 @@ var ( type TransactionsApiService service /* -TransactionsApiService Get a Scheduled Transaction Result by ID. -Get scheduled transaction result by the scheduled transaction ID. +TransactionsApiService Get a Transaction Result by transaction ID or scheduled transaction ID. +Get transaction result by the transaction's ID. If the transaction is a scheduled transaction, it can alternatively be retrieved by the scheduled transaction ID field returned by the system contract. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param id The scheduled transaction's `id` field returned by the system contract. - * @param optional nil or *TransactionsApiScheduledTransactionResultsIdGetOpts - Optional Parameters: - * @param "Expand" (optional.Interface of []string) - A comma-separated list indicating which properties of the content to expand. - * @param "Select_" (optional.Interface of []string) - A comma-separated list indicating which properties of the content to return. - * @param "AgreeingExecutorsCount" (optional.String) - A minimum number of execution receipts for the execution result. - * @param "RequiredExecutorIds" (optional.Interface of []string) - A set of execution node IDs, one of which must have produced the execution result. - * @param "IncludeExecutorMetadata" (optional.Bool) - Specifies whether or not to include the executor metadata in the response. -@return TransactionResult -*/ - -type TransactionsApiScheduledTransactionResultsIdGetOpts struct { - Expand optional.Interface - Select_ optional.Interface - AgreeingExecutorsCount optional.String - RequiredExecutorIds optional.Interface - IncludeExecutorMetadata optional.Bool -} - -func (a *TransactionsApiService) ScheduledTransactionResultsIdGet(ctx context.Context, id string, localVarOptionals *TransactionsApiScheduledTransactionResultsIdGetOpts) (TransactionResult, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue TransactionResult - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/scheduled_transaction_results/{id}" - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", fmt.Sprintf("%v", id), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Expand.IsSet() { - localVarQueryParams.Add("expand", parameterToString(localVarOptionals.Expand.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.Select_.IsSet() { - localVarQueryParams.Add("select", parameterToString(localVarOptionals.Select_.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.AgreeingExecutorsCount.IsSet() { - localVarQueryParams.Add("agreeing_executors_count", parameterToString(localVarOptionals.AgreeingExecutorsCount.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.RequiredExecutorIds.IsSet() { - localVarQueryParams.Add("required_executor_ids", parameterToString(localVarOptionals.RequiredExecutorIds.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.IncludeExecutorMetadata.IsSet() { - localVarQueryParams.Add("include_executor_metadata", parameterToString(localVarOptionals.IncludeExecutorMetadata.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - if localVarHttpResponse.StatusCode == 200 { - var v TransactionResult - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 400 { - var v ModelError - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 404 { - var v ModelError - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 500 { - var v ModelError - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} -/* -TransactionsApiService Get a Scheduled Transaction by ID. -Get a scheduled transaction body by the provided scheduled transaction id field. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param id The scheduled transaction's `id` field returned by the system contract. - * @param optional nil or *TransactionsApiScheduledTransactionsIdGetOpts - Optional Parameters: - * @param "Expand" (optional.Interface of []string) - A comma-separated list indicating which properties of the content to expand. - * @param "Select_" (optional.Interface of []string) - A comma-separated list indicating which properties of the content to return. - * @param "AgreeingExecutorsCount" (optional.String) - A minimum number of execution receipts for the execution result. - * @param "RequiredExecutorIds" (optional.Interface of []string) - A set of execution node IDs, one of which must have produced the execution result. - * @param "IncludeExecutorMetadata" (optional.Bool) - Specifies whether or not to include the executor metadata in the response. -@return Transaction -*/ - -type TransactionsApiScheduledTransactionsIdGetOpts struct { - Expand optional.Interface - Select_ optional.Interface - AgreeingExecutorsCount optional.String - RequiredExecutorIds optional.Interface - IncludeExecutorMetadata optional.Bool -} - -func (a *TransactionsApiService) ScheduledTransactionsIdGet(ctx context.Context, id string, localVarOptionals *TransactionsApiScheduledTransactionsIdGetOpts) (Transaction, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue Transaction - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/scheduled_transactions/{id}" - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", fmt.Sprintf("%v", id), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.Expand.IsSet() { - localVarQueryParams.Add("expand", parameterToString(localVarOptionals.Expand.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.Select_.IsSet() { - localVarQueryParams.Add("select", parameterToString(localVarOptionals.Select_.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.AgreeingExecutorsCount.IsSet() { - localVarQueryParams.Add("agreeing_executors_count", parameterToString(localVarOptionals.AgreeingExecutorsCount.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.RequiredExecutorIds.IsSet() { - localVarQueryParams.Add("required_executor_ids", parameterToString(localVarOptionals.RequiredExecutorIds.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.IncludeExecutorMetadata.IsSet() { - localVarQueryParams.Add("include_executor_metadata", parameterToString(localVarOptionals.IncludeExecutorMetadata.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - if localVarHttpResponse.StatusCode == 200 { - var v Transaction - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 400 { - var v ModelError - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 404 { - var v ModelError - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 500 { - var v ModelError - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} -/* -TransactionsApiService Get a System Transaction Result by ID. -Get system transaction result by the transaction result ID. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param transactionId The system transaction ID of the transaction result. - * @param optional nil or *TransactionsApiSystemTransactionResultsTransactionIdGetOpts - Optional Parameters: - * @param "BlockId" (optional.Interface of string) - A block ID optional parameter - * @param "Expand" (optional.Interface of []string) - A comma-separated list indicating which properties of the content to expand. - * @param "Select_" (optional.Interface of []string) - A comma-separated list indicating which properties of the content to return. - * @param "AgreeingExecutorsCount" (optional.String) - A minimum number of execution receipts for the execution result. - * @param "RequiredExecutorIds" (optional.Interface of []string) - A set of execution node IDs, one of which must have produced the execution result. - * @param "IncludeExecutorMetadata" (optional.Bool) - Specifies whether or not to include the executor metadata in the response. -@return TransactionResult -*/ - -type TransactionsApiSystemTransactionResultsTransactionIdGetOpts struct { - BlockId optional.Interface - Expand optional.Interface - Select_ optional.Interface - AgreeingExecutorsCount optional.String - RequiredExecutorIds optional.Interface - IncludeExecutorMetadata optional.Bool -} - -func (a *TransactionsApiService) SystemTransactionResultsTransactionIdGet(ctx context.Context, transactionId string, localVarOptionals *TransactionsApiSystemTransactionResultsTransactionIdGetOpts) (TransactionResult, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue TransactionResult - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/system_transaction_results/{transaction_id}" - localVarPath = strings.Replace(localVarPath, "{"+"transaction_id"+"}", fmt.Sprintf("%v", transactionId), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.BlockId.IsSet() { - localVarQueryParams.Add("block_id", parameterToString(localVarOptionals.BlockId.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Expand.IsSet() { - localVarQueryParams.Add("expand", parameterToString(localVarOptionals.Expand.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.Select_.IsSet() { - localVarQueryParams.Add("select", parameterToString(localVarOptionals.Select_.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.AgreeingExecutorsCount.IsSet() { - localVarQueryParams.Add("agreeing_executors_count", parameterToString(localVarOptionals.AgreeingExecutorsCount.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.RequiredExecutorIds.IsSet() { - localVarQueryParams.Add("required_executor_ids", parameterToString(localVarOptionals.RequiredExecutorIds.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.IncludeExecutorMetadata.IsSet() { - localVarQueryParams.Add("include_executor_metadata", parameterToString(localVarOptionals.IncludeExecutorMetadata.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - if localVarHttpResponse.StatusCode == 200 { - var v TransactionResult - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 400 { - var v ModelError - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 404 { - var v ModelError - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 500 { - var v ModelError - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} -/* -TransactionsApiService Get a System Transaction by ID. -Get a system transaction body by the provided transaction ID. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param id The ID of the system transaction to get. - * @param optional nil or *TransactionsApiSystemTransactionsIdGetOpts - Optional Parameters: - * @param "BlockId" (optional.Interface of string) - A block ID optional parameter - * @param "Expand" (optional.Interface of []string) - A comma-separated list indicating which properties of the content to expand. - * @param "Select_" (optional.Interface of []string) - A comma-separated list indicating which properties of the content to return. - * @param "AgreeingExecutorsCount" (optional.String) - A minimum number of execution receipts for the execution result. - * @param "RequiredExecutorIds" (optional.Interface of []string) - A set of execution node IDs, one of which must have produced the execution result. - * @param "IncludeExecutorMetadata" (optional.Bool) - Specifies whether or not to include the executor metadata in the response. -@return Transaction -*/ - -type TransactionsApiSystemTransactionsIdGetOpts struct { - BlockId optional.Interface - Expand optional.Interface - Select_ optional.Interface - AgreeingExecutorsCount optional.String - RequiredExecutorIds optional.Interface - IncludeExecutorMetadata optional.Bool -} - -func (a *TransactionsApiService) SystemTransactionsIdGet(ctx context.Context, id string, localVarOptionals *TransactionsApiSystemTransactionsIdGetOpts) (Transaction, *http.Response, error) { - var ( - localVarHttpMethod = strings.ToUpper("Get") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - localVarReturnValue Transaction - ) - - // create path and map variables - localVarPath := a.client.cfg.BasePath + "/system_transactions/{id}" - localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", fmt.Sprintf("%v", id), -1) - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if localVarOptionals != nil && localVarOptionals.BlockId.IsSet() { - localVarQueryParams.Add("block_id", parameterToString(localVarOptionals.BlockId.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.Expand.IsSet() { - localVarQueryParams.Add("expand", parameterToString(localVarOptionals.Expand.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.Select_.IsSet() { - localVarQueryParams.Add("select", parameterToString(localVarOptionals.Select_.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.AgreeingExecutorsCount.IsSet() { - localVarQueryParams.Add("agreeing_executors_count", parameterToString(localVarOptionals.AgreeingExecutorsCount.Value(), "")) - } - if localVarOptionals != nil && localVarOptionals.RequiredExecutorIds.IsSet() { - localVarQueryParams.Add("required_executor_ids", parameterToString(localVarOptionals.RequiredExecutorIds.Value(), "csv")) - } - if localVarOptionals != nil && localVarOptionals.IncludeExecutorMetadata.IsSet() { - localVarQueryParams.Add("include_executor_metadata", parameterToString(localVarOptionals.IncludeExecutorMetadata.Value(), "")) - } - // to determine the Content-Type header - localVarHttpContentTypes := []string{} - - // set Content-Type header - localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) - if localVarHttpContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHttpContentType - } - - // to determine the Accept header - localVarHttpHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) - if localVarHttpHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHttpHeaderAccept - } - r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHttpResponse, err := a.client.callAPI(r) - if err != nil || localVarHttpResponse == nil { - return localVarReturnValue, localVarHttpResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) - localVarHttpResponse.Body.Close() - if err != nil { - return localVarReturnValue, localVarHttpResponse, err - } - - if localVarHttpResponse.StatusCode < 300 { - // If we succeed, return the data, otherwise pass on to decode error. - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err == nil { - return localVarReturnValue, localVarHttpResponse, err - } - } - - if localVarHttpResponse.StatusCode >= 300 { - newErr := GenericSwaggerError{ - body: localVarBody, - error: localVarHttpResponse.Status, - } - if localVarHttpResponse.StatusCode == 200 { - var v Transaction - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 400 { - var v ModelError - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 404 { - var v ModelError - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - if localVarHttpResponse.StatusCode == 500 { - var v ModelError - err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHttpResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHttpResponse, newErr - } - return localVarReturnValue, localVarHttpResponse, newErr - } - - return localVarReturnValue, localVarHttpResponse, nil -} -/* -TransactionsApiService Get a Transaction Result by ID. -Get transaction result by the transaction result ID. - * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param transactionId The transaction ID of the transaction result. + * @param transactionId The transaction ID of the transaction result, or id field of the scheduled transaction returned by the system contract. * @param optional nil or *TransactionsApiTransactionResultsTransactionIdGetOpts - Optional Parameters: * @param "BlockId" (optional.Interface of string) - A block ID optional parameter * @param "CollectionId" (optional.Interface of string) - A collection ID optional parameter. @@ -641,7 +51,7 @@ type TransactionsApiTransactionResultsTransactionIdGetOpts struct { IncludeExecutorMetadata optional.Bool } -func (a *TransactionsApiService) TransactionResultsTransactionIdGet(ctx context.Context, transactionId string, localVarOptionals *TransactionsApiTransactionResultsTransactionIdGetOpts) (TransactionResult, *http.Response, error) { +func (a *TransactionsApiService) TransactionResultsTransactionIdGet(ctx context.Context, transactionId TransactionId, localVarOptionals *TransactionsApiTransactionResultsTransactionIdGetOpts) (TransactionResult, *http.Response, error) { var ( localVarHttpMethod = strings.ToUpper("Get") localVarPostBody interface{} @@ -772,9 +182,9 @@ func (a *TransactionsApiService) TransactionResultsTransactionIdGet(ctx context. } /* TransactionsApiService Get a Transaction by ID. -Get a transaction data by the provided transaction ID. +Get a transaction data by the provided transaction ID. If the transaction is a scheduled transaction, it can alternatively be retrieved by the scheduled transaction ID field returned by the system contract. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param id The ID of the transaction to get. + * @param id The ID of the transaction, or id field of the scheduled transaction returned by the system contract. * @param optional nil or *TransactionsApiTransactionsIdGetOpts - Optional Parameters: * @param "BlockId" (optional.Interface of string) - A block ID optional parameter * @param "CollectionId" (optional.Interface of string) - A collection ID optional parameter. @@ -790,7 +200,7 @@ type TransactionsApiTransactionsIdGetOpts struct { Select_ optional.Interface } -func (a *TransactionsApiService) TransactionsIdGet(ctx context.Context, id string, localVarOptionals *TransactionsApiTransactionsIdGetOpts) (Transaction, *http.Response, error) { +func (a *TransactionsApiService) TransactionsIdGet(ctx context.Context, id Id, localVarOptionals *TransactionsApiTransactionsIdGetOpts) (Transaction, *http.Response, error) { var ( localVarHttpMethod = strings.ToUpper("Get") localVarPostBody interface{} diff --git a/openapi/go-client-generated/docs/Id.md b/openapi/go-client-generated/docs/Id.md new file mode 100644 index 000000000..42573fcf7 --- /dev/null +++ b/openapi/go-client-generated/docs/Id.md @@ -0,0 +1,8 @@ +# Id + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/openapi/go-client-generated/docs/TransactionId.md b/openapi/go-client-generated/docs/TransactionId.md new file mode 100644 index 000000000..1fc22c620 --- /dev/null +++ b/openapi/go-client-generated/docs/TransactionId.md @@ -0,0 +1,8 @@ +# TransactionId + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/openapi/go-client-generated/docs/TransactionsApi.md b/openapi/go-client-generated/docs/TransactionsApi.md index 994f5f053..83bc57b6d 100644 --- a/openapi/go-client-generated/docs/TransactionsApi.md +++ b/openapi/go-client-generated/docs/TransactionsApi.md @@ -4,188 +4,22 @@ All URIs are relative to *https://rest-testnet.onflow.org/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**ScheduledTransactionResultsIdGet**](TransactionsApi.md#ScheduledTransactionResultsIdGet) | **Get** /scheduled_transaction_results/{id} | Get a Scheduled Transaction Result by ID. -[**ScheduledTransactionsIdGet**](TransactionsApi.md#ScheduledTransactionsIdGet) | **Get** /scheduled_transactions/{id} | Get a Scheduled Transaction by ID. -[**SystemTransactionResultsTransactionIdGet**](TransactionsApi.md#SystemTransactionResultsTransactionIdGet) | **Get** /system_transaction_results/{transaction_id} | Get a System Transaction Result by ID. -[**SystemTransactionsIdGet**](TransactionsApi.md#SystemTransactionsIdGet) | **Get** /system_transactions/{id} | Get a System Transaction by ID. -[**TransactionResultsTransactionIdGet**](TransactionsApi.md#TransactionResultsTransactionIdGet) | **Get** /transaction_results/{transaction_id} | Get a Transaction Result by ID. +[**TransactionResultsTransactionIdGet**](TransactionsApi.md#TransactionResultsTransactionIdGet) | **Get** /transaction_results/{transaction_id} | Get a Transaction Result by transaction ID or scheduled transaction ID. [**TransactionsIdGet**](TransactionsApi.md#TransactionsIdGet) | **Get** /transactions/{id} | Get a Transaction by ID. [**TransactionsPost**](TransactionsApi.md#TransactionsPost) | **Post** /transactions | Submit a Transaction -# **ScheduledTransactionResultsIdGet** -> TransactionResult ScheduledTransactionResultsIdGet(ctx, id, optional) -Get a Scheduled Transaction Result by ID. - -Get scheduled transaction result by the scheduled transaction ID. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **id** | **string**| The scheduled transaction's `id` field returned by the system contract. | - **optional** | ***TransactionsApiScheduledTransactionResultsIdGetOpts** | optional parameters | nil if no parameters - -### Optional Parameters -Optional parameters are passed through a pointer to a TransactionsApiScheduledTransactionResultsIdGetOpts struct -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - **expand** | [**optional.Interface of []string**](string.md)| A comma-separated list indicating which properties of the content to expand. | - **select_** | [**optional.Interface of []string**](string.md)| A comma-separated list indicating which properties of the content to return. | - **agreeingExecutorsCount** | **optional.String**| A minimum number of execution receipts for the execution result. | - **requiredExecutorIds** | [**optional.Interface of []string**](string.md)| A set of execution node IDs, one of which must have produced the execution result. | - **includeExecutorMetadata** | **optional.Bool**| Specifies whether or not to include the executor metadata in the response. | - -### Return type - -[**TransactionResult**](TransactionResult.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **ScheduledTransactionsIdGet** -> Transaction ScheduledTransactionsIdGet(ctx, id, optional) -Get a Scheduled Transaction by ID. - -Get a scheduled transaction body by the provided scheduled transaction id field. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **id** | **string**| The scheduled transaction's `id` field returned by the system contract. | - **optional** | ***TransactionsApiScheduledTransactionsIdGetOpts** | optional parameters | nil if no parameters - -### Optional Parameters -Optional parameters are passed through a pointer to a TransactionsApiScheduledTransactionsIdGetOpts struct -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - **expand** | [**optional.Interface of []string**](string.md)| A comma-separated list indicating which properties of the content to expand. | - **select_** | [**optional.Interface of []string**](string.md)| A comma-separated list indicating which properties of the content to return. | - **agreeingExecutorsCount** | **optional.String**| A minimum number of execution receipts for the execution result. | - **requiredExecutorIds** | [**optional.Interface of []string**](string.md)| A set of execution node IDs, one of which must have produced the execution result. | - **includeExecutorMetadata** | **optional.Bool**| Specifies whether or not to include the executor metadata in the response. | - -### Return type - -[**Transaction**](Transaction.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **SystemTransactionResultsTransactionIdGet** -> TransactionResult SystemTransactionResultsTransactionIdGet(ctx, transactionId, optional) -Get a System Transaction Result by ID. - -Get system transaction result by the transaction result ID. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **transactionId** | [**string**](.md)| The system transaction ID of the transaction result. | - **optional** | ***TransactionsApiSystemTransactionResultsTransactionIdGetOpts** | optional parameters | nil if no parameters - -### Optional Parameters -Optional parameters are passed through a pointer to a TransactionsApiSystemTransactionResultsTransactionIdGetOpts struct -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - **blockId** | [**optional.Interface of string**](.md)| A block ID optional parameter | - **expand** | [**optional.Interface of []string**](string.md)| A comma-separated list indicating which properties of the content to expand. | - **select_** | [**optional.Interface of []string**](string.md)| A comma-separated list indicating which properties of the content to return. | - **agreeingExecutorsCount** | **optional.String**| A minimum number of execution receipts for the execution result. | - **requiredExecutorIds** | [**optional.Interface of []string**](string.md)| A set of execution node IDs, one of which must have produced the execution result. | - **includeExecutorMetadata** | **optional.Bool**| Specifies whether or not to include the executor metadata in the response. | - -### Return type - -[**TransactionResult**](TransactionResult.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **SystemTransactionsIdGet** -> Transaction SystemTransactionsIdGet(ctx, id, optional) -Get a System Transaction by ID. - -Get a system transaction body by the provided transaction ID. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **id** | [**string**](.md)| The ID of the system transaction to get. | - **optional** | ***TransactionsApiSystemTransactionsIdGetOpts** | optional parameters | nil if no parameters - -### Optional Parameters -Optional parameters are passed through a pointer to a TransactionsApiSystemTransactionsIdGetOpts struct -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - - **blockId** | [**optional.Interface of string**](.md)| A block ID optional parameter | - **expand** | [**optional.Interface of []string**](string.md)| A comma-separated list indicating which properties of the content to expand. | - **select_** | [**optional.Interface of []string**](string.md)| A comma-separated list indicating which properties of the content to return. | - **agreeingExecutorsCount** | **optional.String**| A minimum number of execution receipts for the execution result. | - **requiredExecutorIds** | [**optional.Interface of []string**](string.md)| A set of execution node IDs, one of which must have produced the execution result. | - **includeExecutorMetadata** | **optional.Bool**| Specifies whether or not to include the executor metadata in the response. | - -### Return type - -[**Transaction**](Transaction.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - # **TransactionResultsTransactionIdGet** > TransactionResult TransactionResultsTransactionIdGet(ctx, transactionId, optional) -Get a Transaction Result by ID. +Get a Transaction Result by transaction ID or scheduled transaction ID. -Get transaction result by the transaction result ID. +Get transaction result by the transaction's ID. If the transaction is a scheduled transaction, it can alternatively be retrieved by the scheduled transaction ID field returned by the system contract. ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **transactionId** | [**string**](.md)| The transaction ID of the transaction result. | + **transactionId** | [**TransactionId**](.md)| The transaction ID of the transaction result, or id field of the scheduled transaction returned by the system contract. | **optional** | ***TransactionsApiTransactionResultsTransactionIdGetOpts** | optional parameters | nil if no parameters ### Optional Parameters @@ -220,14 +54,14 @@ No authorization required > Transaction TransactionsIdGet(ctx, id, optional) Get a Transaction by ID. -Get a transaction data by the provided transaction ID. +Get a transaction data by the provided transaction ID. If the transaction is a scheduled transaction, it can alternatively be retrieved by the scheduled transaction ID field returned by the system contract. ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. - **id** | [**string**](.md)| The ID of the transaction to get. | + **id** | [**Id**](.md)| The ID of the transaction, or id field of the scheduled transaction returned by the system contract. | **optional** | ***TransactionsApiTransactionsIdGetOpts** | optional parameters | nil if no parameters ### Optional Parameters diff --git a/openapi/go-client-generated/model_id.go b/openapi/go-client-generated/model_id.go new file mode 100644 index 000000000..3a81d5bb5 --- /dev/null +++ b/openapi/go-client-generated/model_id.go @@ -0,0 +1,14 @@ +/* + * Access API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: 1.0.0 + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type Id struct { + Identifier + ScheduledTransactionId +} diff --git a/openapi/go-client-generated/model_transaction_id.go b/openapi/go-client-generated/model_transaction_id.go new file mode 100644 index 000000000..8c3aafd35 --- /dev/null +++ b/openapi/go-client-generated/model_transaction_id.go @@ -0,0 +1,14 @@ +/* + * Access API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: 1.0.0 + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +type TransactionId struct { + Identifier + ScheduledTransactionId +}