import 'package:blockfrost/api.dart';
All URIs are relative to https://cardano-mainnet.blockfrost.io/api/v0
Method | HTTP request | Description |
---|---|---|
addressesAddressExtendedGet | GET /addresses/{address}/extended | Extended information of a specific address |
addressesAddressGet | GET /addresses/{address} | Specific address |
addressesAddressTotalGet | GET /addresses/{address}/total | Address details |
addressesAddressTransactionsGet | GET /addresses/{address}/transactions | Address transactions |
addressesAddressTxsGet | GET /addresses/{address}/txs | Address transactions |
addressesAddressUtxosAssetGet | GET /addresses/{address}/utxos/{asset} | Address UTXOs of a given asset |
addressesAddressUtxosGet | GET /addresses/{address}/utxos | Address UTXOs |
AddressContentExtended addressesAddressExtendedGet(address)
Extended information of a specific address
Obtain extended information about a specific address.
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().getCardanoAddressesApi();
final String address = addr1qxqs59lphg8g6qndelq8xwqn60ag3aeyfcp33c2kdp46a09re5df3pzwwmyq946axfcejy5n4x0y99wqpgtp2gd0k09qsgy6pz; // String | Bech32 address.
try {
final response = api.addressesAddressExtendedGet(address);
print(response);
} catch on DioError (e) {
print('Exception when calling CardanoAddressesApi->addressesAddressExtendedGet: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
address | String | Bech32 address. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AddressContent addressesAddressGet(address)
Specific address
Obtain information about a specific address.
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().getCardanoAddressesApi();
final String address = addr1qxqs59lphg8g6qndelq8xwqn60ag3aeyfcp33c2kdp46a09re5df3pzwwmyq946axfcejy5n4x0y99wqpgtp2gd0k09qsgy6pz; // String | Bech32 address.
try {
final response = api.addressesAddressGet(address);
print(response);
} catch on DioError (e) {
print('Exception when calling CardanoAddressesApi->addressesAddressGet: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
address | String | Bech32 address. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AddressContentTotal addressesAddressTotalGet(address)
Address details
Obtain details about an address.
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().getCardanoAddressesApi();
final String address = addr1qxqs59lphg8g6qndelq8xwqn60ag3aeyfcp33c2kdp46a09re5df3pzwwmyq946axfcejy5n4x0y99wqpgtp2gd0k09qsgy6pz; // String | Bech32 address.
try {
final response = api.addressesAddressTotalGet(address);
print(response);
} catch on DioError (e) {
print('Exception when calling CardanoAddressesApi->addressesAddressTotalGet: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
address | String | Bech32 address. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BuiltList addressesAddressTransactionsGet(address, count, page, order, from, to)
Address transactions
Transactions on the address.
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().getCardanoAddressesApi();
final String address = addr1qxqs59lphg8g6qndelq8xwqn60ag3aeyfcp33c2kdp46a09re5df3pzwwmyq946axfcejy5n4x0y99wqpgtp2gd0k09qsgy6pz; // String | Bech32 address.
final int count = 56; // int | The number of addresses per 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.
final String from = 8929261; // String | The block number and optionally also index from which (inclusive) to start search for results, concatenated using colon. Has to be lower than or equal to `to` parameter.
final String to = 9999269:10; // String | The block number and optionally also index where (inclusive) to end the search for results, concatenated using colon. Has to be higher than or equal to `from` parameter.
try {
final response = api.addressesAddressTransactionsGet(address, count, page, order, from, to);
print(response);
} catch on DioError (e) {
print('Exception when calling CardanoAddressesApi->addressesAddressTransactionsGet: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
address | String | Bech32 address. | |
count | int | The number of addresses per 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'] |
from | String | The block number and optionally also index from which (inclusive) to start search for results, concatenated using colon. Has to be lower than or equal to to parameter. |
[optional] |
to | String | The block number and optionally also index where (inclusive) to end the search for results, concatenated using colon. Has to be higher than or equal to from parameter. |
[optional] |
BuiltList<AddressTransactionsContentInner>
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BuiltList addressesAddressTxsGet(address, count, page, order)
Address transactions
Transactions on the address.
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().getCardanoAddressesApi();
final String address = addr1qxqs59lphg8g6qndelq8xwqn60ag3aeyfcp33c2kdp46a09re5df3pzwwmyq946axfcejy5n4x0y99wqpgtp2gd0k09qsgy6pz; // String | Bech32 address.
final int count = 56; // int | The number of transactions per 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.addressesAddressTxsGet(address, count, page, order);
print(response);
} catch on DioError (e) {
print('Exception when calling CardanoAddressesApi->addressesAddressTxsGet: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
address | String | Bech32 address. | |
count | int | The number of transactions per 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<String>
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BuiltList addressesAddressUtxosAssetGet(address, asset, count, page, order)
Address UTXOs of a given asset
UTXOs of the address.
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().getCardanoAddressesApi();
final String address = addr1qxqs59lphg8g6qndelq8xwqn60ag3aeyfcp33c2kdp46a09re5df3pzwwmyq946axfcejy5n4x0y99wqpgtp2gd0k09qsgy6pz; // String | Bech32 address.
final String asset = b0d07d45fe9514f80213f4020e5a61241458be626841cde717cb38a76e7574636f696e; // String | Concatenation of the policy_id and hex-encoded asset_name
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.addressesAddressUtxosAssetGet(address, asset, count, page, order);
print(response);
} catch on DioError (e) {
print('Exception when calling CardanoAddressesApi->addressesAddressUtxosAssetGet: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
address | String | Bech32 address. | |
asset | String | Concatenation of the policy_id and hex-encoded asset_name | |
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<AddressUtxoContentInner>
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BuiltList addressesAddressUtxosGet(address, count, page, order)
Address UTXOs
UTXOs of the address.
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().getCardanoAddressesApi();
final String address = addr1qxqs59lphg8g6qndelq8xwqn60ag3aeyfcp33c2kdp46a09re5df3pzwwmyq946axfcejy5n4x0y99wqpgtp2gd0k09qsgy6pz; // String | Bech32 address.
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.addressesAddressUtxosGet(address, count, page, order);
print(response);
} catch on DioError (e) {
print('Exception when calling CardanoAddressesApi->addressesAddressUtxosGet: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
address | String | Bech32 address. | |
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<AddressUtxoContentInner>
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]