You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi/access.yaml
+15-7Lines changed: 15 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -123,15 +123,17 @@ paths:
123
123
/transactions/{id}:
124
124
get:
125
125
summary: Get a Transaction by ID.
126
-
description: Get a transaction data by the provided transaction ID.
126
+
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.
127
127
tags:
128
128
- Transactions
129
129
parameters:
130
-
- description: The ID of the transaction to get.
130
+
- description: The ID of the transaction, or id field of the scheduled transaction returned by the system contract.
description: Get transaction result by the transaction result ID.
157
+
summary: Get a Transaction Result by transaction ID or scheduled transaction ID.
158
+
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.
157
159
tags:
158
160
- Transactions
159
161
parameters:
160
-
- description: The transaction ID of the transaction result.
162
+
- description: The transaction ID of the transaction result, or id field of the scheduled transaction returned by the system contract.
*NodeVersionInfoApi* | [**NodeVersionInfoGet**](docs/NodeVersionInfoApi.md#nodeversioninfoget) | **Get** /node_version_info | Get Node Version Information
*TransactionsApi* | [**TransactionResultsTransactionIdGet**](docs/TransactionsApi.md#transactionresultstransactionidget) | **Get** /transaction_results/{transaction_id} | Get a Transaction Result by ID.
37
+
*TransactionsApi* | [**TransactionResultsTransactionIdGet**](docs/TransactionsApi.md#transactionresultstransactionidget) | **Get** /transaction_results/{transaction_id} | Get a Transaction Result by transaction ID or scheduled transaction ID.
38
38
*TransactionsApi* | [**TransactionsIdGet**](docs/TransactionsApi.md#transactionsidget) | **Get** /transactions/{id} | Get a Transaction by ID.
39
39
*TransactionsApi* | [**TransactionsPost**](docs/TransactionsApi.md#transactionspost) | **Post** /transactions | Submit a Transaction
Copy file name to clipboardExpand all lines: openapi/go-client-generated/api_transactions.go
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -26,10 +26,10 @@ var (
26
26
27
27
typeTransactionsApiServiceservice
28
28
/*
29
-
TransactionsApiService Get a Transaction Result by ID.
30
-
Get transaction result by the transaction result ID.
29
+
TransactionsApiService Get a Transaction Result by transaction ID or scheduled transaction ID.
30
+
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.
31
31
* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
32
-
* @param transactionId The transaction ID of the transaction result.
32
+
* @param transactionId The transaction ID of the transaction result, or id field of the scheduled transaction returned by the system contract.
33
33
* @param optional nil or *TransactionsApiTransactionResultsTransactionIdGetOpts - Optional Parameters:
34
34
* @param "BlockId" (optional.Interface of string) - A block ID optional parameter
35
35
* @param "CollectionId" (optional.Interface of string) - A collection ID optional parameter.
@@ -51,7 +51,7 @@ type TransactionsApiTransactionResultsTransactionIdGetOpts struct {
@@ -182,9 +182,9 @@ func (a *TransactionsApiService) TransactionResultsTransactionIdGet(ctx context.
182
182
}
183
183
/*
184
184
TransactionsApiService Get a Transaction by ID.
185
-
Get a transaction data by the provided transaction ID.
185
+
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.
186
186
* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
187
-
* @param id The ID of the transaction to get.
187
+
* @param id The ID of the transaction, or id field of the scheduled transaction returned by the system contract.
188
188
* @param optional nil or *TransactionsApiTransactionsIdGetOpts - Optional Parameters:
189
189
* @param "BlockId" (optional.Interface of string) - A block ID optional parameter
190
190
* @param "CollectionId" (optional.Interface of string) - A collection ID optional parameter.
@@ -200,7 +200,7 @@ type TransactionsApiTransactionsIdGetOpts struct {
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: openapi/go-client-generated/docs/TransactionsApi.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,22 +4,22 @@ All URIs are relative to *https://rest-testnet.onflow.org/v1*
4
4
5
5
Method | HTTP request | Description
6
6
------------- | ------------- | -------------
7
-
[**TransactionResultsTransactionIdGet**](TransactionsApi.md#TransactionResultsTransactionIdGet) | **Get** /transaction_results/{transaction_id} | Get a Transaction Result by ID.
7
+
[**TransactionResultsTransactionIdGet**](TransactionsApi.md#TransactionResultsTransactionIdGet) | **Get** /transaction_results/{transaction_id} | Get a Transaction Result by transaction ID or scheduled transaction ID.
8
8
[**TransactionsIdGet**](TransactionsApi.md#TransactionsIdGet) | **Get** /transactions/{id} | Get a Transaction by ID.
9
9
[**TransactionsPost**](TransactionsApi.md#TransactionsPost) | **Post** /transactions | Submit a Transaction
Get a Transaction Result by transaction ID or scheduled transaction ID.
14
14
15
-
Get transaction result by the transaction result ID.
15
+
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.
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
22
-
**transactionId** | [**string**](.md)| The transaction ID of the transaction result. |
22
+
**transactionId** | [**TransactionId**](.md)| The transaction ID of the transaction result, or id field of the scheduled transaction returned by the system contract. |
23
23
**optional** | ***TransactionsApiTransactionResultsTransactionIdGetOpts** | optional parameters | nil if no parameters
Get a transaction data by the provided transaction ID.
57
+
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.
0 commit comments