symbol_rest_client 1.0.8

SDKdartflutter
Platformandroidioswindowslinuxmacos

OpenAPI API client

symbol_rest_client

OpenAPI Specification of catapult-rest

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

  • API version: 1.0.4
  • 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:
  symbol_rest_client:
    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:
  symbol_rest_client:
    path: /path/to/symbol_rest_client

Tests

TODO

Getting Started

Please follow the installation procedure and then run the following:

import 'package:symbol_rest_client/api.dart';


final api_instance = AccountRoutesApi();
final accountId = accountId_example; // String | Account public key or address encoded using a 32-character set.

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

Documentation for API Endpoints

All URIs are relative to http://localhost:3000

ClassMethodHTTP requestDescription
AccountRoutesApigetAccountInfoGET /accounts/{accountId}Get account information
AccountRoutesApigetAccountInfoMerkleGET /accounts/{accountId}/merkleGet account merkle information
AccountRoutesApigetAccountsInfoPOST /accountsGet accounts information
AccountRoutesApisearchAccountsGET /accountsSearch accounts
BlockRoutesApigetBlockByHeightGET /blocks/{height}Get block information
BlockRoutesApigetMerkleReceiptsGET /blocks/{height}/statements/{hash}/merkleGet the merkle path for a given a receipt statement hash and block
BlockRoutesApigetMerkleTransactionGET /blocks/{height}/transactions/{hash}/merkleGet the merkle path for a given a transaction and block
BlockRoutesApisearchBlocksGET /blocksSearch blocks
ChainRoutesApigetChainInfoGET /chain/infoGet the current information of the chain
FinalizationRoutesApigetFinalizationProofAtEpochGET /finalization/proof/epoch/{epoch}Get finalization proof
FinalizationRoutesApigetFinalizationProofAtHeightGET /finalization/proof/height/{height}Get finalization proof
HashLockRoutesApigetHashLockGET /lock/hash/{hash}Get hash lock information
HashLockRoutesApigetHashLockMerkleGET /lock/hash/{hash}/merkleGet hash lock merkle information
HashLockRoutesApisearchHashLockGET /lock/hashSearch hash lock entries
MetadataRoutesApigetMetadataGET /metadata/{compositeHash}Get metadata information
MetadataRoutesApigetMetadataMerkleGET /metadata/{compositeHash}/merkleGet metadata merkle information
MetadataRoutesApisearchMetadataEntriesGET /metadataSearch metadata entries
MosaicRoutesApigetMosaicGET /mosaics/{mosaicId}Get mosaic information
MosaicRoutesApigetMosaicMerkleGET /mosaics/{mosaicId}/merkleGet mosaic merkle information
MosaicRoutesApigetMosaicsPOST /mosaicsGet mosaics information for an array of mosaics
MosaicRoutesApisearchMosaicsGET /mosaicsSearch mosaics
MultisigRoutesApigetAccountMultisigGET /account/{address}/multisigGet multisig account information
MultisigRoutesApigetAccountMultisigGraphGET /account/{address}/multisig/graphGet multisig account graph information
MultisigRoutesApigetAccountMultisigMerkleGET /account/{address}/multisig/merkleGet multisig account merkle information
NamespaceRoutesApigetAccountsNamesPOST /namespaces/account/namesGet readable names for a set of accountIds
NamespaceRoutesApigetMosaicsNamesPOST /namespaces/mosaic/namesGet readable names for a set of mosaics
NamespaceRoutesApigetNamespaceGET /namespaces/{namespaceId}Get namespace information
NamespaceRoutesApigetNamespaceMerkleGET /namespaces/{namespaceId}/merkleGet namespace merkle information
NamespaceRoutesApigetNamespacesNamesPOST /namespaces/namesGet readable names for a set of namespaces
NamespaceRoutesApisearchNamespacesGET /namespacesSearch namespaces
NetworkRoutesApigetNetworkPropertiesGET /network/propertiesGet the network properties
NetworkRoutesApigetNetworkTypeGET /networkGet the current network type of the chain
NetworkRoutesApigetRentalFeesGET /network/fees/rentalGet rental fees information
NetworkRoutesApigetTransactionFeesGET /network/fees/transactionGet transaction fees information
NodeRoutesApigetNodeHealthGET /node/healthGet the node health information
NodeRoutesApigetNodeInfoGET /node/infoGet the node information
NodeRoutesApigetNodePeersGET /node/peersGet peers information
NodeRoutesApigetNodeStorageGET /node/storageGet the storage information of the node
NodeRoutesApigetNodeTimeGET /node/timeGet the node time
NodeRoutesApigetServerInfoGET /node/serverGet the version of the running REST component
NodeRoutesApigetUnlockedAccountGET /node/unlockedaccountGet the unlocked harvesting account public keys.
ReceiptRoutesApisearchAddressResolutionStatementsGET /statements/resolutions/addressGet receipts address resolution statements
ReceiptRoutesApisearchMosaicResolutionStatementsGET /statements/resolutions/mosaicGet receipts mosaic resolution statements
ReceiptRoutesApisearchReceiptsGET /statements/transactionSearch transaction statements
RestrictionAccountRoutesApigetAccountRestrictionsGET /restrictions/account/{address}Get the account restrictions
RestrictionAccountRoutesApigetAccountRestrictionsMerkleGET /restrictions/account/{address}/merkleGet the account restrictions merkle
RestrictionAccountRoutesApisearchAccountRestrictionsGET /restrictions/accountSearch account restrictions
RestrictionMosaicRoutesApigetMosaicRestrictionsGET /restrictions/mosaic/{compositeHash}Get the mosaic restrictions
RestrictionMosaicRoutesApigetMosaicRestrictionsMerkleGET /restrictions/mosaic/{compositeHash}/merkleGet the mosaic restrictions merkle
RestrictionMosaicRoutesApisearchMosaicRestrictionsGET /restrictions/mosaicSearch mosaic restrictions
SecretLockRoutesApigetSecretLockGET /lock/secret/{compositeHash}Get secret lock information
SecretLockRoutesApigetSecretLockMerkleGET /lock/secret/{compositeHash}/merkleGet secret lock merkle information
SecretLockRoutesApisearchSecretLockGET /lock/secretSearch secret lock entries
TransactionRoutesApiannounceCosignatureTransactionPUT /transactions/cosignatureAnnounce a cosignature transaction
TransactionRoutesApiannouncePartialTransactionPUT /transactions/partialAnnounce an aggregate bonded transaction
TransactionRoutesApiannounceTransactionPUT /transactionsAnnounce a new transaction
TransactionRoutesApigetConfirmedTransactionGET /transactions/confirmed/{transactionId}Get confirmed transaction information
TransactionRoutesApigetConfirmedTransactionsPOST /transactions/confirmedGet confirmed trasactions information
TransactionRoutesApigetPartialTransactionGET /transactions/partial/{transactionId}Get partial transaction information
TransactionRoutesApigetPartialTransactionsPOST /transactions/partialGet partial trasactions information
TransactionRoutesApigetUnconfirmedTransactionGET /transactions/unconfirmed/{transactionId}Get unconfirmed transaction information
TransactionRoutesApigetUnconfirmedTransactionsPOST /transactions/unconfirmedGet unconfirmed trasactions information
TransactionRoutesApisearchConfirmedTransactionsGET /transactions/confirmedSearch confirmed transactions
TransactionRoutesApisearchPartialTransactionsGET /transactions/partialSearch partial transactions
TransactionRoutesApisearchUnconfirmedTransactionsGET /transactions/unconfirmedSearch unconfirmed transactions
TransactionStatusRoutesApigetTransactionStatusGET /transactionStatus/{hash}Get transaction status
TransactionStatusRoutesApigetTransactionStatusesPOST /transactionStatusGet transaction statuses

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author