unofficial_radix_babylon_gateway_api 1.0.0

SDKdartflutter
Platformandroidioswindowslinuxmacos

OpenAPI API client

openapi

This API is exposed by the Babylon Radix Gateway to enable clients to efficiently query current and historic state on the RadixDLT ledger, and intelligently handle transaction submission.

It is designed for use by wallets and explorers, and for light queries from front-end dApps. For exchange/asset integrations, back-end dApp integrations, or simple use cases, you should consider using the Core API on a Node. A Gateway is only needed for reading historic snapshots of ledger states or a more robust set-up.

The Gateway API is implemented by the Network Gateway, which is configured to read from full node(s) to extract and index data from the network.

This document is an API reference documentation, visit User Guide to learn more about how to run a Gateway of your own.

Migration guide

Please see the latest release notes.

Integration and forward compatibility guarantees

All responses may have additional fields added at any release, so clients are advised to use JSON parsers which ignore unknown fields on JSON objects.

When the Radix protocol is updated, new functionality may be added, and so discriminated unions returned by the API may need to be updated to have new variants added, corresponding to the updated data. Clients may need to update in advance to be able to handle these new variants when a protocol update comes out.

On the very rare occasions we need to make breaking changes to the API, these will be warned in advance with deprecation notices on previous versions. These deprecation notices will include a safe migration path. Deprecation notes or breaking changes will be flagged clearly in release notes for new versions of the Gateway.

The Gateway DB schema is not subject to any compatibility guarantees, and may be changed at any release. DB changes will be flagged in the release notes so clients doing custom DB integrations can prepare.

This Dart package is automatically generated by the OpenAPI Generator project:

  • API version: v1.6.1
  • Generator version: 7.7.0
  • Build package: org.openapitools.codegen.languages.DartClientCodegen

Requirements

Dart 2.12 or later

Installation & Usage

Github

If this Dart package is published to Github, add the following dependency to your pubspec.yaml

dependencies:
  openapi:
    git: https://github.com/GIT_USER_ID/GIT_REPO_ID.git

Local

To use the package in your local drive, add the following dependency to your pubspec.yaml

dependencies:
  openapi:
    path: /path/to/openapi

Tests

TODO

Getting Started

Please follow the installation procedure and then run the following:

import 'package:openapi/api.dart';


final api_instance = StateApi();
final stateAccountAuthorizedDepositorsPageRequest = StateAccountAuthorizedDepositorsPageRequest(); // StateAccountAuthorizedDepositorsPageRequest | 

try {
    final result = api_instance.accountAuthorizedDepositorsPage(stateAccountAuthorizedDepositorsPageRequest);
    print(result);
} catch (e) {
    print('Exception when calling StateApi->accountAuthorizedDepositorsPage: $e\n');
}

Documentation for API Endpoints

All URIs are relative to https://mainnet.radixdlt.com

ClassMethodHTTP requestDescription
StateApiaccountAuthorizedDepositorsPagePOST /state/account/page/authorized-depositorsGet Account authorized depositors
StateApiaccountLockerVaultsPagePOST /state/account-locker/page/vaultsGet Account Locker Vaults Page
StateApiaccountLockersTouchedAtPOST /state/account-lockers/touched-atGet Most Recent Touch of Account Lockers
StateApiaccountResourcePreferencesPagePOST /state/account/page/resource-preferencesGet Account resource preferences
StateApientityFungibleResourceVaultPagePOST /state/entity/page/fungible-vaults/Get page of Global Entity Fungible Resource Vaults
StateApientityFungiblesPagePOST /state/entity/page/fungibles/Get page of Global Entity Fungible Resource Balances
StateApientityMetadataPagePOST /state/entity/page/metadataGet Entity Metadata Page
StateApientityNonFungibleIdsPagePOST /state/entity/page/non-fungible-vault/idsGet page of Non-Fungibles in Vault
StateApientityNonFungibleResourceVaultPagePOST /state/entity/page/non-fungible-vaults/Get page of Global Entity Non-Fungible Resource Vaults
StateApientityNonFungiblesPagePOST /state/entity/page/non-fungibles/Get page of Global Entity Non-Fungible Resource Balances
StateApientitySchemaPagePOST /state/entity/page/schemasGet Entity Schema Page
StateApikeyValueStoreDataPOST /state/key-value-store/dataGet KeyValueStore Data
StateApikeyValueStoreKeysPOST /state/key-value-store/keysGet KeyValueStore Keys
StateApinonFungibleDataPOST /state/non-fungible/dataGet Non-Fungible Data
StateApinonFungibleIdsPOST /state/non-fungible/idsGet page of Non-Fungible Ids in Resource Collection
StateApinonFungibleLocationPOST /state/non-fungible/locationGet Non-Fungible Location
StateApipackageBlueprintPagePOST /state/package/page/blueprintsGet Package Blueprints Page
StateApipackageCodePagePOST /state/package/page/codesGet Package Codes Page
StateApistateEntityDetailsPOST /state/entity/detailsGet Entity Details
StateApistateValidatorsListPOST /state/validators/listGet Validators List
StatisticsApivalidatorsUptimePOST /statistics/validators/uptimeGet Validators Uptime
StatusApigatewayStatusPOST /status/gateway-statusGet Gateway Status
StatusApinetworkConfigurationPOST /status/network-configurationGet Network Configuration
StreamApistreamTransactionsPOST /stream/transactionsGet Transactions Stream
TransactionApiaccountDepositPreValidationPOST /transaction/account-deposit-pre-validationPreValidate deposit of resources to an account
TransactionApitransactionCommittedDetailsPOST /transaction/committed-detailsGet Committed Transaction Details
TransactionApitransactionConstructionPOST /transaction/constructionGet Construction Metadata
TransactionApitransactionPreviewPOST /transaction/previewPreview Transaction
TransactionApitransactionStatusPOST /transaction/statusGet Transaction Status
TransactionApitransactionSubmitPOST /transaction/submitSubmit Transaction

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author