import 'package:blockfrost/api.dart';All URIs are relative to https://cardano-mainnet.blockfrost.io/api/v0
| Method | HTTP request | Description |
|---|---|---|
| metadataTxsLabelsGet | GET /metadata/txs/labels | Transaction metadata labels |
| metadataTxsLabelsLabelCborGet | GET /metadata/txs/labels/{label}/cbor | Transaction metadata content in CBOR |
| metadataTxsLabelsLabelGet | GET /metadata/txs/labels/{label} | Transaction metadata content in JSON |
BuiltList metadataTxsLabelsGet(count, page, order)
Transaction metadata labels
List of all used transaction metadata labels.
import 'package:blockfrost/api.dart';
// TODO Configure API key authorization: ApiKeyAuth
//defaultApiClient.getAuthentication<ApiKeyAuth>('ApiKeyAuth').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('ApiKeyAuth').apiKeyPrefix = 'Bearer';
final api = Blockfrost().getCardanoMetadataApi();
final int count = 56; // int | The number of results displayed on one page.
final int page = 56; // int | The page number for listing the results.
final String order = order_example; // String | The ordering of items from the point of view of the blockchain, not the page listing itself. By default, we return oldest first, newest last.
try {
final response = api.metadataTxsLabelsGet(count, page, order);
print(response);
} catch on DioError (e) {
print('Exception when calling CardanoMetadataApi->metadataTxsLabelsGet: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| count | int | The number of results displayed on one page. | [optional] [default to 100] |
| page | int | The page number for listing the results. | [optional] [default to 1] |
| order | String | The ordering of items from the point of view of the blockchain, not the page listing itself. By default, we return oldest first, newest last. | [optional] [default to 'asc'] |
BuiltList<TxMetadataLabelsInner>
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BuiltList metadataTxsLabelsLabelCborGet(label, count, page, order)
Transaction metadata content in CBOR
Transaction metadata per label.
import 'package:blockfrost/api.dart';
// TODO Configure API key authorization: ApiKeyAuth
//defaultApiClient.getAuthentication<ApiKeyAuth>('ApiKeyAuth').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('ApiKeyAuth').apiKeyPrefix = 'Bearer';
final api = Blockfrost().getCardanoMetadataApi();
final String label = 1990; // String | Metadata label
final int count = 56; // int | The number of results displayed on one page.
final int page = 56; // int | The page number for listing the results.
final String order = order_example; // String | The ordering of items from the point of view of the blockchain, not the page listing itself. By default, we return oldest first, newest last.
try {
final response = api.metadataTxsLabelsLabelCborGet(label, count, page, order);
print(response);
} catch on DioError (e) {
print('Exception when calling CardanoMetadataApi->metadataTxsLabelsLabelCborGet: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| label | String | Metadata label | |
| count | int | The number of results displayed on one page. | [optional] [default to 100] |
| page | int | The page number for listing the results. | [optional] [default to 1] |
| order | String | The ordering of items from the point of view of the blockchain, not the page listing itself. By default, we return oldest first, newest last. | [optional] [default to 'asc'] |
BuiltList<TxMetadataLabelCborInner>
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BuiltList metadataTxsLabelsLabelGet(label, count, page, order)
Transaction metadata content in JSON
Transaction metadata per label.
import 'package:blockfrost/api.dart';
// TODO Configure API key authorization: ApiKeyAuth
//defaultApiClient.getAuthentication<ApiKeyAuth>('ApiKeyAuth').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('ApiKeyAuth').apiKeyPrefix = 'Bearer';
final api = Blockfrost().getCardanoMetadataApi();
final String label = 1990; // String | Metadata label
final int count = 56; // int | The number of results displayed on one page.
final int page = 56; // int | The page number for listing the results.
final String order = order_example; // String | The ordering of items from the point of view of the blockchain, not the page listing itself. By default, we return oldest first, newest last.
try {
final response = api.metadataTxsLabelsLabelGet(label, count, page, order);
print(response);
} catch on DioError (e) {
print('Exception when calling CardanoMetadataApi->metadataTxsLabelsLabelGet: $e\n');
}| Name | Type | Description | Notes |
|---|---|---|---|
| label | String | Metadata label | |
| count | int | The number of results displayed on one page. | [optional] [default to 100] |
| page | int | The page number for listing the results. | [optional] [default to 1] |
| order | String | The ordering of items from the point of view of the blockchain, not the page listing itself. By default, we return oldest first, newest last. | [optional] [default to 'asc'] |
BuiltList<TxMetadataLabelJsonInner>
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]