All URIs are relative to https://rest-canary.onflow.org/v1/
Method | HTTP request | Description |
---|---|---|
TransactionResultsTransactionIdGet | Get /transaction_results/{transaction_id} | Get a Transaction Result by ID. |
TransactionsIdGet | Get /transactions/{id} | Get a Transaction by ID. |
TransactionsPost | Post /transactions | Submit a Transaction |
TransactionResult TransactionResultsTransactionIdGet(ctx, transactionId, optional) Get a Transaction Result by ID.
Get transaction result by the transaction result ID.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
transactionId | string | The transaction ID of the transaction result. | |
optional | *TransactionsApiTransactionResultsTransactionIdGetOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a TransactionsApiTransactionResultsTransactionIdGetOpts struct
Name | Type | Description | Notes |
---|
blockId | optional.Interface of string| A block ID optional parameter | collectionId | optional.Interface of string| A collection ID optional parameter. | expand | optional.Interface of []string| A comma-separated list indicating which properties of the content to expand. | select_ | optional.Interface of []string| A comma-separated list indicating which properties of the content to return. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Transaction TransactionsIdGet(ctx, id, optional) Get a Transaction by ID.
Get a transaction data by the provided transaction ID.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The ID of the transaction to get. | |
optional | *TransactionsApiTransactionsIdGetOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a TransactionsApiTransactionsIdGetOpts struct
Name | Type | Description | Notes |
---|
blockId | optional.Interface of string| A block ID optional parameter | collectionId | optional.Interface of string| A collection ID optional parameter. | expand | optional.Interface of []string| A comma-separated list indicating which properties of the content to expand. | select_ | optional.Interface of []string| A comma-separated list indicating which properties of the content to return. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Transaction TransactionsPost(ctx, body) Submit a Transaction
Send a new signed transaction payload to the network with required transaction fields.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | TransactionsBody | The transaction to submit. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]