@nemtus/symbol-rest-api-client-fetch 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +268 -0
- package/cjs/api/apis/AccountRoutesApi.d.ts +76 -0
- package/cjs/api/apis/AccountRoutesApi.js +209 -0
- package/cjs/api/apis/BlockRoutesApi.d.ts +80 -0
- package/cjs/api/apis/BlockRoutesApi.js +225 -0
- package/cjs/api/apis/ChainRoutesApi.d.ts +28 -0
- package/cjs/api/apis/ChainRoutesApi.js +94 -0
- package/cjs/api/apis/FinalizationRoutesApi.d.ts +44 -0
- package/cjs/api/apis/FinalizationRoutesApi.js +130 -0
- package/cjs/api/apis/HashLockRoutesApi.d.ts +91 -0
- package/cjs/api/apis/HashLockRoutesApi.js +250 -0
- package/cjs/api/apis/MetadataRoutesApi.d.ts +94 -0
- package/cjs/api/apis/MetadataRoutesApi.js +259 -0
- package/cjs/api/apis/MosaicRoutesApi.d.ts +74 -0
- package/cjs/api/apis/MosaicRoutesApi.js +206 -0
- package/cjs/api/apis/MultisigRoutesApi.d.ts +57 -0
- package/cjs/api/apis/MultisigRoutesApi.js +162 -0
- package/cjs/api/apis/NamespaceRoutesApi.d.ts +103 -0
- package/cjs/api/apis/NamespaceRoutesApi.js +281 -0
- package/cjs/api/apis/NetworkRoutesApi.d.ts +111 -0
- package/cjs/api/apis/NetworkRoutesApi.js +337 -0
- package/cjs/api/apis/NodeRoutesApi.d.ts +102 -0
- package/cjs/api/apis/NodeRoutesApi.js +290 -0
- package/cjs/api/apis/ReceiptRoutesApi.d.ts +76 -0
- package/cjs/api/apis/ReceiptRoutesApi.js +216 -0
- package/cjs/api/apis/RestrictionAccountRoutesApi.d.ts +74 -0
- package/cjs/api/apis/RestrictionAccountRoutesApi.js +206 -0
- package/cjs/api/apis/RestrictionMosaicRoutesApi.d.ts +76 -0
- package/cjs/api/apis/RestrictionMosaicRoutesApi.js +212 -0
- package/cjs/api/apis/SecretLockRoutesApi.d.ts +93 -0
- package/cjs/api/apis/SecretLockRoutesApi.js +256 -0
- package/cjs/api/apis/TransactionRoutesApi.d.ts +216 -0
- package/cjs/api/apis/TransactionRoutesApi.js +579 -0
- package/cjs/api/apis/TransactionStatusRoutesApi.d.ts +44 -0
- package/cjs/api/apis/TransactionStatusRoutesApi.js +131 -0
- package/cjs/api/apis/index.d.ts +17 -0
- package/cjs/api/apis/index.js +35 -0
- package/cjs/api/index.d.ts +3 -0
- package/cjs/api/index.js +21 -0
- package/cjs/api/models/AccountAddressRestrictionTransactionBodyDTO.d.ts +45 -0
- package/cjs/api/models/AccountAddressRestrictionTransactionBodyDTO.js +59 -0
- package/cjs/api/models/AccountAddressRestrictionTransactionDTO.d.ts +113 -0
- package/cjs/api/models/AccountAddressRestrictionTransactionDTO.js +92 -0
- package/cjs/api/models/AccountDTO.d.ts +116 -0
- package/cjs/api/models/AccountDTO.js +94 -0
- package/cjs/api/models/AccountIds.d.ts +40 -0
- package/cjs/api/models/AccountIds.js +50 -0
- package/cjs/api/models/AccountInfoDTO.d.ts +41 -0
- package/cjs/api/models/AccountInfoDTO.js +55 -0
- package/cjs/api/models/AccountKeyLinkNetworkPropertiesDTO.d.ts +32 -0
- package/cjs/api/models/AccountKeyLinkNetworkPropertiesDTO.js +48 -0
- package/cjs/api/models/AccountKeyLinkTransactionBodyDTO.d.ts +39 -0
- package/cjs/api/models/AccountKeyLinkTransactionBodyDTO.js +55 -0
- package/cjs/api/models/AccountKeyLinkTransactionDTO.d.ts +109 -0
- package/cjs/api/models/AccountKeyLinkTransactionDTO.js +88 -0
- package/cjs/api/models/AccountLinkPublicKeyDTO.d.ts +32 -0
- package/cjs/api/models/AccountLinkPublicKeyDTO.js +50 -0
- package/cjs/api/models/AccountLinkVotingKeyDTO.d.ts +50 -0
- package/cjs/api/models/AccountLinkVotingKeyDTO.js +58 -0
- package/cjs/api/models/AccountLinkVotingKeysDTO.d.ts +33 -0
- package/cjs/api/models/AccountLinkVotingKeysDTO.js +51 -0
- package/cjs/api/models/AccountMetadataTransactionBodyDTO.d.ts +71 -0
- package/cjs/api/models/AccountMetadataTransactionBodyDTO.js +66 -0
- package/cjs/api/models/AccountMetadataTransactionDTO.d.ts +137 -0
- package/cjs/api/models/AccountMetadataTransactionDTO.js +99 -0
- package/cjs/api/models/AccountMosaicRestrictionTransactionBodyDTO.d.ts +45 -0
- package/cjs/api/models/AccountMosaicRestrictionTransactionBodyDTO.js +59 -0
- package/cjs/api/models/AccountMosaicRestrictionTransactionDTO.d.ts +113 -0
- package/cjs/api/models/AccountMosaicRestrictionTransactionDTO.js +92 -0
- package/cjs/api/models/AccountNamesDTO.d.ts +40 -0
- package/cjs/api/models/AccountNamesDTO.js +54 -0
- package/cjs/api/models/AccountOperationRestrictionTransactionBodyDTO.d.ts +46 -0
- package/cjs/api/models/AccountOperationRestrictionTransactionBodyDTO.js +60 -0
- package/cjs/api/models/AccountOperationRestrictionTransactionDTO.d.ts +114 -0
- package/cjs/api/models/AccountOperationRestrictionTransactionDTO.js +93 -0
- package/cjs/api/models/AccountOrderByEnum.d.ts +28 -0
- package/cjs/api/models/AccountOrderByEnum.js +54 -0
- package/cjs/api/models/AccountPage.d.ts +40 -0
- package/cjs/api/models/AccountPage.js +56 -0
- package/cjs/api/models/AccountRestrictionDTO.d.ts +42 -0
- package/cjs/api/models/AccountRestrictionDTO.js +56 -0
- package/cjs/api/models/AccountRestrictionDTOValuesInner.d.ts +26 -0
- package/cjs/api/models/AccountRestrictionDTOValuesInner.js +38 -0
- package/cjs/api/models/AccountRestrictionFlagsEnum.d.ts +49 -0
- package/cjs/api/models/AccountRestrictionFlagsEnum.js +75 -0
- package/cjs/api/models/AccountRestrictionNetworkPropertiesDTO.d.ts +32 -0
- package/cjs/api/models/AccountRestrictionNetworkPropertiesDTO.js +48 -0
- package/cjs/api/models/AccountRestrictionsDTO.d.ts +50 -0
- package/cjs/api/models/AccountRestrictionsDTO.js +59 -0
- package/cjs/api/models/AccountRestrictionsInfoDTO.d.ts +33 -0
- package/cjs/api/models/AccountRestrictionsInfoDTO.js +51 -0
- package/cjs/api/models/AccountRestrictionsPage.d.ts +40 -0
- package/cjs/api/models/AccountRestrictionsPage.js +56 -0
- package/cjs/api/models/AccountTypeEnum.d.ts +40 -0
- package/cjs/api/models/AccountTypeEnum.js +66 -0
- package/cjs/api/models/AccountsNamesDTO.d.ts +33 -0
- package/cjs/api/models/AccountsNamesDTO.js +51 -0
- package/cjs/api/models/ActivityBucketDTO.d.ts +69 -0
- package/cjs/api/models/ActivityBucketDTO.js +62 -0
- package/cjs/api/models/AddressAliasTransactionBodyDTO.d.ts +50 -0
- package/cjs/api/models/AddressAliasTransactionBodyDTO.js +59 -0
- package/cjs/api/models/AddressAliasTransactionDTO.d.ts +118 -0
- package/cjs/api/models/AddressAliasTransactionDTO.js +92 -0
- package/cjs/api/models/Addresses.d.ts +32 -0
- package/cjs/api/models/Addresses.js +48 -0
- package/cjs/api/models/AggregateNetworkPropertiesDTO.d.ts +58 -0
- package/cjs/api/models/AggregateNetworkPropertiesDTO.js +56 -0
- package/cjs/api/models/AggregateTransactionBodyDTO.d.ts +41 -0
- package/cjs/api/models/AggregateTransactionBodyDTO.js +55 -0
- package/cjs/api/models/AggregateTransactionBodyExtendedDTO.d.ts +48 -0
- package/cjs/api/models/AggregateTransactionBodyExtendedDTO.js +60 -0
- package/cjs/api/models/AggregateTransactionDTO.d.ts +107 -0
- package/cjs/api/models/AggregateTransactionDTO.js +88 -0
- package/cjs/api/models/AggregateTransactionExtendedDTO.d.ts +114 -0
- package/cjs/api/models/AggregateTransactionExtendedDTO.js +93 -0
- package/cjs/api/models/AliasActionEnum.d.ts +28 -0
- package/cjs/api/models/AliasActionEnum.js +54 -0
- package/cjs/api/models/AliasDTO.d.ts +52 -0
- package/cjs/api/models/AliasDTO.js +55 -0
- package/cjs/api/models/AliasTypeEnum.d.ts +33 -0
- package/cjs/api/models/AliasTypeEnum.js +59 -0
- package/cjs/api/models/AnnounceTransactionInfoDTO.d.ts +48 -0
- package/cjs/api/models/AnnounceTransactionInfoDTO.js +50 -0
- package/cjs/api/models/BalanceChangeReceiptDTO.d.ts +69 -0
- package/cjs/api/models/BalanceChangeReceiptDTO.js +67 -0
- package/cjs/api/models/BalanceTransferReceiptDTO.d.ts +78 -0
- package/cjs/api/models/BalanceTransferReceiptDTO.js +71 -0
- package/cjs/api/models/BlockDTO.d.ts +192 -0
- package/cjs/api/models/BlockDTO.js +119 -0
- package/cjs/api/models/BlockInfoDTO.d.ts +48 -0
- package/cjs/api/models/BlockInfoDTO.js +60 -0
- package/cjs/api/models/BlockInfoDTOBlock.d.ts +219 -0
- package/cjs/api/models/BlockInfoDTOBlock.js +135 -0
- package/cjs/api/models/BlockMetaDTO.d.ts +84 -0
- package/cjs/api/models/BlockMetaDTO.js +74 -0
- package/cjs/api/models/BlockOrderByEnum.d.ts +28 -0
- package/cjs/api/models/BlockOrderByEnum.js +54 -0
- package/cjs/api/models/BlockPage.d.ts +40 -0
- package/cjs/api/models/BlockPage.js +56 -0
- package/cjs/api/models/BmTreeSignature.d.ts +42 -0
- package/cjs/api/models/BmTreeSignature.js +55 -0
- package/cjs/api/models/BsonLongDTO.d.ts +45 -0
- package/cjs/api/models/BsonLongDTO.js +58 -0
- package/cjs/api/models/ChainInfoDTO.d.ts +66 -0
- package/cjs/api/models/ChainInfoDTO.js +63 -0
- package/cjs/api/models/ChainPropertiesDTO.d.ts +214 -0
- package/cjs/api/models/ChainPropertiesDTO.js +106 -0
- package/cjs/api/models/CommunicationTimestampsDTO.d.ts +60 -0
- package/cjs/api/models/CommunicationTimestampsDTO.js +50 -0
- package/cjs/api/models/CompositeHashes.d.ts +32 -0
- package/cjs/api/models/CompositeHashes.js +48 -0
- package/cjs/api/models/Cosignature.d.ts +55 -0
- package/cjs/api/models/Cosignature.js +62 -0
- package/cjs/api/models/CosignatureDTO.d.ts +49 -0
- package/cjs/api/models/CosignatureDTO.js +58 -0
- package/cjs/api/models/DeploymentDTO.d.ts +45 -0
- package/cjs/api/models/DeploymentDTO.js +58 -0
- package/cjs/api/models/EmbeddedAccountAddressRestrictionTransactionDTO.d.ts +70 -0
- package/cjs/api/models/EmbeddedAccountAddressRestrictionTransactionDTO.js +76 -0
- package/cjs/api/models/EmbeddedAccountKeyLinkTransactionDTO.d.ts +64 -0
- package/cjs/api/models/EmbeddedAccountKeyLinkTransactionDTO.js +72 -0
- package/cjs/api/models/EmbeddedAccountMetadataTransactionDTO.d.ts +94 -0
- package/cjs/api/models/EmbeddedAccountMetadataTransactionDTO.js +83 -0
- package/cjs/api/models/EmbeddedAccountMosaicRestrictionTransactionDTO.d.ts +70 -0
- package/cjs/api/models/EmbeddedAccountMosaicRestrictionTransactionDTO.js +76 -0
- package/cjs/api/models/EmbeddedAccountOperationRestrictionTransactionDTO.d.ts +71 -0
- package/cjs/api/models/EmbeddedAccountOperationRestrictionTransactionDTO.js +77 -0
- package/cjs/api/models/EmbeddedAddressAliasTransactionDTO.d.ts +75 -0
- package/cjs/api/models/EmbeddedAddressAliasTransactionDTO.js +76 -0
- package/cjs/api/models/EmbeddedHashLockTransactionDTO.d.ts +82 -0
- package/cjs/api/models/EmbeddedHashLockTransactionDTO.js +79 -0
- package/cjs/api/models/EmbeddedMosaicAddressRestrictionTransactionDTO.d.ts +93 -0
- package/cjs/api/models/EmbeddedMosaicAddressRestrictionTransactionDTO.js +83 -0
- package/cjs/api/models/EmbeddedMosaicAliasTransactionDTO.d.ts +76 -0
- package/cjs/api/models/EmbeddedMosaicAliasTransactionDTO.js +76 -0
- package/cjs/api/models/EmbeddedMosaicDefinitionTransactionDTO.d.ts +98 -0
- package/cjs/api/models/EmbeddedMosaicDefinitionTransactionDTO.js +83 -0
- package/cjs/api/models/EmbeddedMosaicGlobalRestrictionTransactionDTO.d.ts +106 -0
- package/cjs/api/models/EmbeddedMosaicGlobalRestrictionTransactionDTO.js +92 -0
- package/cjs/api/models/EmbeddedMosaicMetadataTransactionDTO.d.ts +103 -0
- package/cjs/api/models/EmbeddedMosaicMetadataTransactionDTO.js +87 -0
- package/cjs/api/models/EmbeddedMosaicSupplyChangeTransactionDTO.d.ts +77 -0
- package/cjs/api/models/EmbeddedMosaicSupplyChangeTransactionDTO.js +76 -0
- package/cjs/api/models/EmbeddedMosaicSupplyRevocationTransactionDTO.d.ts +79 -0
- package/cjs/api/models/EmbeddedMosaicSupplyRevocationTransactionDTO.js +75 -0
- package/cjs/api/models/EmbeddedMultisigAccountModificationTransactionDTO.d.ts +83 -0
- package/cjs/api/models/EmbeddedMultisigAccountModificationTransactionDTO.js +79 -0
- package/cjs/api/models/EmbeddedNamespaceMetadataTransactionDTO.d.ts +103 -0
- package/cjs/api/models/EmbeddedNamespaceMetadataTransactionDTO.js +87 -0
- package/cjs/api/models/EmbeddedNamespaceRegistrationTransactionDTO.d.ts +88 -0
- package/cjs/api/models/EmbeddedNamespaceRegistrationTransactionDTO.js +80 -0
- package/cjs/api/models/EmbeddedNodeKeyLinkTransactionDTO.d.ts +64 -0
- package/cjs/api/models/EmbeddedNodeKeyLinkTransactionDTO.js +72 -0
- package/cjs/api/models/EmbeddedSecretLockTransactionDTO.d.ts +98 -0
- package/cjs/api/models/EmbeddedSecretLockTransactionDTO.js +88 -0
- package/cjs/api/models/EmbeddedSecretProofTransactionDTO.d.ts +79 -0
- package/cjs/api/models/EmbeddedSecretProofTransactionDTO.js +80 -0
- package/cjs/api/models/EmbeddedTransactionBodyDTO.d.ts +33 -0
- package/cjs/api/models/EmbeddedTransactionBodyDTO.js +51 -0
- package/cjs/api/models/EmbeddedTransactionDTO.d.ts +51 -0
- package/cjs/api/models/EmbeddedTransactionDTO.js +63 -0
- package/cjs/api/models/EmbeddedTransactionInfoDTO.d.ts +48 -0
- package/cjs/api/models/EmbeddedTransactionInfoDTO.js +60 -0
- package/cjs/api/models/EmbeddedTransactionInfoDTOTransaction.d.ts +427 -0
- package/cjs/api/models/EmbeddedTransactionInfoDTOTransaction.js +256 -0
- package/cjs/api/models/EmbeddedTransactionMetaDTO.d.ts +91 -0
- package/cjs/api/models/EmbeddedTransactionMetaDTO.js +66 -0
- package/cjs/api/models/EmbeddedTransferTransactionDTO.d.ts +74 -0
- package/cjs/api/models/EmbeddedTransferTransactionDTO.js +74 -0
- package/cjs/api/models/EmbeddedVotingKeyLinkTransactionDTO.d.ts +82 -0
- package/cjs/api/models/EmbeddedVotingKeyLinkTransactionDTO.js +80 -0
- package/cjs/api/models/EmbeddedVrfKeyLinkTransactionDTO.d.ts +64 -0
- package/cjs/api/models/EmbeddedVrfKeyLinkTransactionDTO.js +72 -0
- package/cjs/api/models/EntityDTO.d.ts +54 -0
- package/cjs/api/models/EntityDTO.js +63 -0
- package/cjs/api/models/FinalizationProofDTO.d.ts +75 -0
- package/cjs/api/models/FinalizationProofDTO.js +71 -0
- package/cjs/api/models/FinalizedBlockDTO.d.ts +59 -0
- package/cjs/api/models/FinalizedBlockDTO.js +62 -0
- package/cjs/api/models/ForkHeightsDTO.d.ts +92 -0
- package/cjs/api/models/ForkHeightsDTO.js +60 -0
- package/cjs/api/models/HashLockEntryDTO.d.ts +86 -0
- package/cjs/api/models/HashLockEntryDTO.js +75 -0
- package/cjs/api/models/HashLockInfoDTO.d.ts +41 -0
- package/cjs/api/models/HashLockInfoDTO.js +55 -0
- package/cjs/api/models/HashLockNetworkPropertiesDTO.d.ts +38 -0
- package/cjs/api/models/HashLockNetworkPropertiesDTO.js +50 -0
- package/cjs/api/models/HashLockPage.d.ts +40 -0
- package/cjs/api/models/HashLockPage.js +56 -0
- package/cjs/api/models/HashLockTransactionBodyDTO.d.ts +57 -0
- package/cjs/api/models/HashLockTransactionBodyDTO.js +62 -0
- package/cjs/api/models/HashLockTransactionDTO.d.ts +125 -0
- package/cjs/api/models/HashLockTransactionDTO.js +95 -0
- package/cjs/api/models/ImportanceBlockDTO.d.ts +221 -0
- package/cjs/api/models/ImportanceBlockDTO.js +135 -0
- package/cjs/api/models/InflationReceiptDTO.d.ts +58 -0
- package/cjs/api/models/InflationReceiptDTO.js +63 -0
- package/cjs/api/models/LinkActionEnum.d.ts +28 -0
- package/cjs/api/models/LinkActionEnum.js +54 -0
- package/cjs/api/models/LockHashAlgorithmEnum.d.ts +30 -0
- package/cjs/api/models/LockHashAlgorithmEnum.js +56 -0
- package/cjs/api/models/LockStatus.d.ts +28 -0
- package/cjs/api/models/LockStatus.js +54 -0
- package/cjs/api/models/MerklePathItemDTO.d.ts +41 -0
- package/cjs/api/models/MerklePathItemDTO.js +51 -0
- package/cjs/api/models/MerkleProofInfoDTO.d.ts +33 -0
- package/cjs/api/models/MerkleProofInfoDTO.js +49 -0
- package/cjs/api/models/MerkleStateInfoDTO.d.ts +45 -0
- package/cjs/api/models/MerkleStateInfoDTO.js +55 -0
- package/cjs/api/models/MerkleStateInfoDTOTreeInner.d.ts +82 -0
- package/cjs/api/models/MerkleStateInfoDTOTreeInner.js +84 -0
- package/cjs/api/models/MerkleTreeBranchDTO.d.ts +72 -0
- package/cjs/api/models/MerkleTreeBranchDTO.js +76 -0
- package/cjs/api/models/MerkleTreeBranchLinkDTO.d.ts +40 -0
- package/cjs/api/models/MerkleTreeBranchLinkDTO.js +54 -0
- package/cjs/api/models/MerkleTreeLeafDTO.d.ts +65 -0
- package/cjs/api/models/MerkleTreeLeafDTO.js +71 -0
- package/cjs/api/models/MerkleTreeNodeTypeEnum.d.ts +29 -0
- package/cjs/api/models/MerkleTreeNodeTypeEnum.js +55 -0
- package/cjs/api/models/MessageGroup.d.ts +58 -0
- package/cjs/api/models/MessageGroup.js +64 -0
- package/cjs/api/models/MetadataEntryDTO.d.ts +97 -0
- package/cjs/api/models/MetadataEntryDTO.js +82 -0
- package/cjs/api/models/MetadataEntryDTOTargetId.d.ts +26 -0
- package/cjs/api/models/MetadataEntryDTOTargetId.js +38 -0
- package/cjs/api/models/MetadataInfoDTO.d.ts +41 -0
- package/cjs/api/models/MetadataInfoDTO.js +55 -0
- package/cjs/api/models/MetadataNetworkPropertiesDTO.d.ts +32 -0
- package/cjs/api/models/MetadataNetworkPropertiesDTO.js +48 -0
- package/cjs/api/models/MetadataPage.d.ts +40 -0
- package/cjs/api/models/MetadataPage.js +56 -0
- package/cjs/api/models/MetadataTypeEnum.d.ts +30 -0
- package/cjs/api/models/MetadataTypeEnum.js +56 -0
- package/cjs/api/models/ModelError.d.ts +44 -0
- package/cjs/api/models/ModelError.js +54 -0
- package/cjs/api/models/Mosaic.d.ts +49 -0
- package/cjs/api/models/Mosaic.js +54 -0
- package/cjs/api/models/MosaicAddressRestrictionDTO.d.ts +41 -0
- package/cjs/api/models/MosaicAddressRestrictionDTO.js +55 -0
- package/cjs/api/models/MosaicAddressRestrictionEntryDTO.d.ts +43 -0
- package/cjs/api/models/MosaicAddressRestrictionEntryDTO.js +54 -0
- package/cjs/api/models/MosaicAddressRestrictionEntryWrapperDTO.d.ts +72 -0
- package/cjs/api/models/MosaicAddressRestrictionEntryWrapperDTO.js +72 -0
- package/cjs/api/models/MosaicAddressRestrictionTransactionBodyDTO.d.ts +68 -0
- package/cjs/api/models/MosaicAddressRestrictionTransactionBodyDTO.js +66 -0
- package/cjs/api/models/MosaicAddressRestrictionTransactionDTO.d.ts +136 -0
- package/cjs/api/models/MosaicAddressRestrictionTransactionDTO.js +99 -0
- package/cjs/api/models/MosaicAliasTransactionBodyDTO.d.ts +51 -0
- package/cjs/api/models/MosaicAliasTransactionBodyDTO.js +59 -0
- package/cjs/api/models/MosaicAliasTransactionDTO.d.ts +119 -0
- package/cjs/api/models/MosaicAliasTransactionDTO.js +92 -0
- package/cjs/api/models/MosaicDTO.d.ts +108 -0
- package/cjs/api/models/MosaicDTO.js +82 -0
- package/cjs/api/models/MosaicDefinitionTransactionBodyDTO.d.ts +73 -0
- package/cjs/api/models/MosaicDefinitionTransactionBodyDTO.js +66 -0
- package/cjs/api/models/MosaicDefinitionTransactionDTO.d.ts +141 -0
- package/cjs/api/models/MosaicDefinitionTransactionDTO.js +99 -0
- package/cjs/api/models/MosaicExpiryReceiptDTO.d.ts +48 -0
- package/cjs/api/models/MosaicExpiryReceiptDTO.js +59 -0
- package/cjs/api/models/MosaicGlobalRestrictionDTO.d.ts +41 -0
- package/cjs/api/models/MosaicGlobalRestrictionDTO.js +55 -0
- package/cjs/api/models/MosaicGlobalRestrictionEntryDTO.d.ts +41 -0
- package/cjs/api/models/MosaicGlobalRestrictionEntryDTO.js +55 -0
- package/cjs/api/models/MosaicGlobalRestrictionEntryRestrictionDTO.d.ts +51 -0
- package/cjs/api/models/MosaicGlobalRestrictionEntryRestrictionDTO.js +59 -0
- package/cjs/api/models/MosaicGlobalRestrictionEntryWrapperDTO.d.ts +64 -0
- package/cjs/api/models/MosaicGlobalRestrictionEntryWrapperDTO.js +68 -0
- package/cjs/api/models/MosaicGlobalRestrictionTransactionBodyDTO.d.ts +81 -0
- package/cjs/api/models/MosaicGlobalRestrictionTransactionBodyDTO.js +75 -0
- package/cjs/api/models/MosaicGlobalRestrictionTransactionDTO.d.ts +149 -0
- package/cjs/api/models/MosaicGlobalRestrictionTransactionDTO.js +108 -0
- package/cjs/api/models/MosaicIds.d.ts +32 -0
- package/cjs/api/models/MosaicIds.js +48 -0
- package/cjs/api/models/MosaicInfoDTO.d.ts +41 -0
- package/cjs/api/models/MosaicInfoDTO.js +55 -0
- package/cjs/api/models/MosaicMetadataTransactionBodyDTO.d.ts +80 -0
- package/cjs/api/models/MosaicMetadataTransactionBodyDTO.js +70 -0
- package/cjs/api/models/MosaicMetadataTransactionDTO.d.ts +146 -0
- package/cjs/api/models/MosaicMetadataTransactionDTO.js +103 -0
- package/cjs/api/models/MosaicNamesDTO.d.ts +44 -0
- package/cjs/api/models/MosaicNamesDTO.js +54 -0
- package/cjs/api/models/MosaicNetworkPropertiesDTO.d.ts +76 -0
- package/cjs/api/models/MosaicNetworkPropertiesDTO.js +58 -0
- package/cjs/api/models/MosaicPage.d.ts +40 -0
- package/cjs/api/models/MosaicPage.js +56 -0
- package/cjs/api/models/MosaicRestrictionDTO.d.ts +41 -0
- package/cjs/api/models/MosaicRestrictionDTO.js +55 -0
- package/cjs/api/models/MosaicRestrictionEntryTypeEnum.d.ts +28 -0
- package/cjs/api/models/MosaicRestrictionEntryTypeEnum.js +54 -0
- package/cjs/api/models/MosaicRestrictionNetworkPropertiesDTO.d.ts +32 -0
- package/cjs/api/models/MosaicRestrictionNetworkPropertiesDTO.js +48 -0
- package/cjs/api/models/MosaicRestrictionTypeEnum.d.ts +38 -0
- package/cjs/api/models/MosaicRestrictionTypeEnum.js +64 -0
- package/cjs/api/models/MosaicRestrictionsPage.d.ts +40 -0
- package/cjs/api/models/MosaicRestrictionsPage.js +56 -0
- package/cjs/api/models/MosaicRestrictionsPageDataInner.d.ts +41 -0
- package/cjs/api/models/MosaicRestrictionsPageDataInner.js +55 -0
- package/cjs/api/models/MosaicSupplyChangeActionEnum.d.ts +28 -0
- package/cjs/api/models/MosaicSupplyChangeActionEnum.js +54 -0
- package/cjs/api/models/MosaicSupplyChangeTransactionBodyDTO.d.ts +52 -0
- package/cjs/api/models/MosaicSupplyChangeTransactionBodyDTO.js +59 -0
- package/cjs/api/models/MosaicSupplyChangeTransactionDTO.d.ts +120 -0
- package/cjs/api/models/MosaicSupplyChangeTransactionDTO.js +92 -0
- package/cjs/api/models/MosaicSupplyRevocationTransactionBodyDTO.d.ts +54 -0
- package/cjs/api/models/MosaicSupplyRevocationTransactionBodyDTO.js +58 -0
- package/cjs/api/models/MosaicSupplyRevocationTransactionDTO.d.ts +122 -0
- package/cjs/api/models/MosaicSupplyRevocationTransactionDTO.js +91 -0
- package/cjs/api/models/MosaicsNamesDTO.d.ts +36 -0
- package/cjs/api/models/MosaicsNamesDTO.js +51 -0
- package/cjs/api/models/MultisigAccountGraphInfoDTO.d.ts +43 -0
- package/cjs/api/models/MultisigAccountGraphInfoDTO.js +55 -0
- package/cjs/api/models/MultisigAccountInfoDTO.d.ts +33 -0
- package/cjs/api/models/MultisigAccountInfoDTO.js +51 -0
- package/cjs/api/models/MultisigAccountModificationTransactionBodyDTO.d.ts +58 -0
- package/cjs/api/models/MultisigAccountModificationTransactionBodyDTO.js +62 -0
- package/cjs/api/models/MultisigAccountModificationTransactionDTO.d.ts +128 -0
- package/cjs/api/models/MultisigAccountModificationTransactionDTO.js +95 -0
- package/cjs/api/models/MultisigDTO.d.ts +71 -0
- package/cjs/api/models/MultisigDTO.js +70 -0
- package/cjs/api/models/MultisigNetworkPropertiesDTO.d.ts +48 -0
- package/cjs/api/models/MultisigNetworkPropertiesDTO.js +52 -0
- package/cjs/api/models/NamespaceDTO.d.ts +117 -0
- package/cjs/api/models/NamespaceDTO.js +88 -0
- package/cjs/api/models/NamespaceExpiryReceiptDTO.d.ts +48 -0
- package/cjs/api/models/NamespaceExpiryReceiptDTO.js +59 -0
- package/cjs/api/models/NamespaceIds.d.ts +32 -0
- package/cjs/api/models/NamespaceIds.js +48 -0
- package/cjs/api/models/NamespaceInfoDTO.d.ts +48 -0
- package/cjs/api/models/NamespaceInfoDTO.js +60 -0
- package/cjs/api/models/NamespaceMetaDTO.d.ts +44 -0
- package/cjs/api/models/NamespaceMetaDTO.js +54 -0
- package/cjs/api/models/NamespaceMetadataTransactionBodyDTO.d.ts +80 -0
- package/cjs/api/models/NamespaceMetadataTransactionBodyDTO.js +70 -0
- package/cjs/api/models/NamespaceMetadataTransactionDTO.d.ts +146 -0
- package/cjs/api/models/NamespaceMetadataTransactionDTO.js +103 -0
- package/cjs/api/models/NamespaceNameDTO.d.ts +50 -0
- package/cjs/api/models/NamespaceNameDTO.js +56 -0
- package/cjs/api/models/NamespaceNetworkPropertiesDTO.d.ts +108 -0
- package/cjs/api/models/NamespaceNetworkPropertiesDTO.js +68 -0
- package/cjs/api/models/NamespacePage.d.ts +40 -0
- package/cjs/api/models/NamespacePage.js +56 -0
- package/cjs/api/models/NamespaceRegistrationTransactionBodyDTO.d.ts +63 -0
- package/cjs/api/models/NamespaceRegistrationTransactionBodyDTO.js +63 -0
- package/cjs/api/models/NamespaceRegistrationTransactionDTO.d.ts +131 -0
- package/cjs/api/models/NamespaceRegistrationTransactionDTO.js +96 -0
- package/cjs/api/models/NamespaceRegistrationTypeEnum.d.ts +33 -0
- package/cjs/api/models/NamespaceRegistrationTypeEnum.js +59 -0
- package/cjs/api/models/NetworkConfigurationDTO.d.ts +72 -0
- package/cjs/api/models/NetworkConfigurationDTO.js +70 -0
- package/cjs/api/models/NetworkInflationDTO.d.ts +45 -0
- package/cjs/api/models/NetworkInflationDTO.js +54 -0
- package/cjs/api/models/NetworkPropertiesDTO.d.ts +57 -0
- package/cjs/api/models/NetworkPropertiesDTO.js +57 -0
- package/cjs/api/models/NetworkTypeDTO.d.ts +46 -0
- package/cjs/api/models/NetworkTypeDTO.js +62 -0
- package/cjs/api/models/NetworkTypeEnum.d.ts +28 -0
- package/cjs/api/models/NetworkTypeEnum.js +54 -0
- package/cjs/api/models/NodeHealthDTO.d.ts +39 -0
- package/cjs/api/models/NodeHealthDTO.js +55 -0
- package/cjs/api/models/NodeHealthInfoDTO.d.ts +35 -0
- package/cjs/api/models/NodeHealthInfoDTO.js +51 -0
- package/cjs/api/models/NodeIdentityEqualityStrategy.d.ts +26 -0
- package/cjs/api/models/NodeIdentityEqualityStrategy.js +52 -0
- package/cjs/api/models/NodeInfoDTO.d.ts +98 -0
- package/cjs/api/models/NodeInfoDTO.js +81 -0
- package/cjs/api/models/NodeKeyLinkTransactionBodyDTO.d.ts +39 -0
- package/cjs/api/models/NodeKeyLinkTransactionBodyDTO.js +55 -0
- package/cjs/api/models/NodeKeyLinkTransactionDTO.d.ts +110 -0
- package/cjs/api/models/NodeKeyLinkTransactionDTO.js +88 -0
- package/cjs/api/models/NodeStatusEnum.d.ts +25 -0
- package/cjs/api/models/NodeStatusEnum.js +51 -0
- package/cjs/api/models/NodeTimeDTO.d.ts +35 -0
- package/cjs/api/models/NodeTimeDTO.js +51 -0
- package/cjs/api/models/Order.d.ts +28 -0
- package/cjs/api/models/Order.js +54 -0
- package/cjs/api/models/Pagination.d.ts +40 -0
- package/cjs/api/models/Pagination.js +54 -0
- package/cjs/api/models/ParentPublicKeySignaturePair.d.ts +41 -0
- package/cjs/api/models/ParentPublicKeySignaturePair.js +54 -0
- package/cjs/api/models/PluginsPropertiesDTO.d.ts +103 -0
- package/cjs/api/models/PluginsPropertiesDTO.js +79 -0
- package/cjs/api/models/PositionEnum.d.ts +28 -0
- package/cjs/api/models/PositionEnum.js +54 -0
- package/cjs/api/models/ReceiptDTO.d.ts +39 -0
- package/cjs/api/models/ReceiptDTO.js +55 -0
- package/cjs/api/models/ReceiptTypeEnum.d.ts +57 -0
- package/cjs/api/models/ReceiptTypeEnum.js +83 -0
- package/cjs/api/models/RentalFeesDTO.d.ts +59 -0
- package/cjs/api/models/RentalFeesDTO.js +58 -0
- package/cjs/api/models/ResolutionEntryDTO.d.ts +40 -0
- package/cjs/api/models/ResolutionEntryDTO.js +56 -0
- package/cjs/api/models/ResolutionEntryDTOResolved.d.ts +26 -0
- package/cjs/api/models/ResolutionEntryDTOResolved.js +38 -0
- package/cjs/api/models/ResolutionStatementDTO.d.ts +52 -0
- package/cjs/api/models/ResolutionStatementDTO.js +60 -0
- package/cjs/api/models/ResolutionStatementDTOUnresolved.d.ts +26 -0
- package/cjs/api/models/ResolutionStatementDTOUnresolved.js +38 -0
- package/cjs/api/models/ResolutionStatementInfoDTO.d.ts +49 -0
- package/cjs/api/models/ResolutionStatementInfoDTO.js +60 -0
- package/cjs/api/models/ResolutionStatementPage.d.ts +40 -0
- package/cjs/api/models/ResolutionStatementPage.js +56 -0
- package/cjs/api/models/SecretLockEntryDTO.d.ts +108 -0
- package/cjs/api/models/SecretLockEntryDTO.js +88 -0
- package/cjs/api/models/SecretLockInfoDTO.d.ts +41 -0
- package/cjs/api/models/SecretLockInfoDTO.js +55 -0
- package/cjs/api/models/SecretLockNetworkPropertiesDTO.d.ts +44 -0
- package/cjs/api/models/SecretLockNetworkPropertiesDTO.js +52 -0
- package/cjs/api/models/SecretLockPage.d.ts +40 -0
- package/cjs/api/models/SecretLockPage.js +56 -0
- package/cjs/api/models/SecretLockTransactionBodyDTO.d.ts +73 -0
- package/cjs/api/models/SecretLockTransactionBodyDTO.js +71 -0
- package/cjs/api/models/SecretLockTransactionDTO.d.ts +143 -0
- package/cjs/api/models/SecretLockTransactionDTO.js +104 -0
- package/cjs/api/models/SecretProofTransactionBodyDTO.d.ts +54 -0
- package/cjs/api/models/SecretProofTransactionBodyDTO.js +63 -0
- package/cjs/api/models/SecretProofTransactionDTO.d.ts +122 -0
- package/cjs/api/models/SecretProofTransactionDTO.js +96 -0
- package/cjs/api/models/ServerDTO.d.ts +40 -0
- package/cjs/api/models/ServerDTO.js +55 -0
- package/cjs/api/models/ServerInfoDTO.d.ts +35 -0
- package/cjs/api/models/ServerInfoDTO.js +51 -0
- package/cjs/api/models/SizePrefixedEntityDTO.d.ts +37 -0
- package/cjs/api/models/SizePrefixedEntityDTO.js +50 -0
- package/cjs/api/models/SourceDTO.d.ts +42 -0
- package/cjs/api/models/SourceDTO.js +54 -0
- package/cjs/api/models/StageEnum.d.ts +31 -0
- package/cjs/api/models/StageEnum.js +57 -0
- package/cjs/api/models/StatementMetaDTO.d.ts +42 -0
- package/cjs/api/models/StatementMetaDTO.js +50 -0
- package/cjs/api/models/StorageInfoDTO.d.ts +62 -0
- package/cjs/api/models/StorageInfoDTO.js +63 -0
- package/cjs/api/models/StorageInfoDatabaseDTO.d.ts +72 -0
- package/cjs/api/models/StorageInfoDatabaseDTO.js +67 -0
- package/cjs/api/models/SupplementalPublicKeysDTO.d.ts +54 -0
- package/cjs/api/models/SupplementalPublicKeysDTO.js +56 -0
- package/cjs/api/models/TransactionBodyDTO.d.ts +52 -0
- package/cjs/api/models/TransactionBodyDTO.js +54 -0
- package/cjs/api/models/TransactionDTO.d.ts +94 -0
- package/cjs/api/models/TransactionDTO.js +79 -0
- package/cjs/api/models/TransactionFeesDTO.d.ts +119 -0
- package/cjs/api/models/TransactionFeesDTO.js +66 -0
- package/cjs/api/models/TransactionGroupEnum.d.ts +32 -0
- package/cjs/api/models/TransactionGroupEnum.js +58 -0
- package/cjs/api/models/TransactionHashes.d.ts +32 -0
- package/cjs/api/models/TransactionHashes.js +50 -0
- package/cjs/api/models/TransactionIds.d.ts +32 -0
- package/cjs/api/models/TransactionIds.js +50 -0
- package/cjs/api/models/TransactionInfoDTO.d.ts +54 -0
- package/cjs/api/models/TransactionInfoDTO.js +60 -0
- package/cjs/api/models/TransactionInfoDTOMeta.d.ts +103 -0
- package/cjs/api/models/TransactionInfoDTOMeta.js +74 -0
- package/cjs/api/models/TransactionInfoDTOTransaction.d.ts +493 -0
- package/cjs/api/models/TransactionInfoDTOTransaction.js +286 -0
- package/cjs/api/models/TransactionMetaDTO.d.ts +100 -0
- package/cjs/api/models/TransactionMetaDTO.js +66 -0
- package/cjs/api/models/TransactionPage.d.ts +40 -0
- package/cjs/api/models/TransactionPage.js +56 -0
- package/cjs/api/models/TransactionPayload.d.ts +35 -0
- package/cjs/api/models/TransactionPayload.js +50 -0
- package/cjs/api/models/TransactionStatementDTO.d.ts +48 -0
- package/cjs/api/models/TransactionStatementDTO.js +60 -0
- package/cjs/api/models/TransactionStatementDTOReceiptsInner.d.ts +91 -0
- package/cjs/api/models/TransactionStatementDTOReceiptsInner.js +79 -0
- package/cjs/api/models/TransactionStatementInfoDTO.d.ts +48 -0
- package/cjs/api/models/TransactionStatementInfoDTO.js +60 -0
- package/cjs/api/models/TransactionStatementPage.d.ts +40 -0
- package/cjs/api/models/TransactionStatementPage.js +56 -0
- package/cjs/api/models/TransactionStatusDTO.d.ts +70 -0
- package/cjs/api/models/TransactionStatusDTO.js +64 -0
- package/cjs/api/models/TransactionStatusEnum.d.ts +382 -0
- package/cjs/api/models/TransactionStatusEnum.js +408 -0
- package/cjs/api/models/TransactionTypeEnum.d.ts +74 -0
- package/cjs/api/models/TransactionTypeEnum.js +100 -0
- package/cjs/api/models/TransferNetworkPropertiesDTO.d.ts +32 -0
- package/cjs/api/models/TransferNetworkPropertiesDTO.js +48 -0
- package/cjs/api/models/TransferTransactionBodyDTO.d.ts +49 -0
- package/cjs/api/models/TransferTransactionBodyDTO.js +57 -0
- package/cjs/api/models/TransferTransactionDTO.d.ts +117 -0
- package/cjs/api/models/TransferTransactionDTO.js +90 -0
- package/cjs/api/models/UnlockedAccountDTO.d.ts +34 -0
- package/cjs/api/models/UnlockedAccountDTO.js +50 -0
- package/cjs/api/models/UnresolvedMosaic.d.ts +45 -0
- package/cjs/api/models/UnresolvedMosaic.js +54 -0
- package/cjs/api/models/VerifiableEntityDTO.d.ts +38 -0
- package/cjs/api/models/VerifiableEntityDTO.js +50 -0
- package/cjs/api/models/VotingKeyLinkTransactionBodyDTO.d.ts +57 -0
- package/cjs/api/models/VotingKeyLinkTransactionBodyDTO.js +63 -0
- package/cjs/api/models/VotingKeyLinkTransactionDTO.d.ts +127 -0
- package/cjs/api/models/VotingKeyLinkTransactionDTO.js +96 -0
- package/cjs/api/models/VrfKeyLinkTransactionBodyDTO.d.ts +39 -0
- package/cjs/api/models/VrfKeyLinkTransactionBodyDTO.js +55 -0
- package/cjs/api/models/VrfKeyLinkTransactionDTO.d.ts +110 -0
- package/cjs/api/models/VrfKeyLinkTransactionDTO.js +88 -0
- package/cjs/api/models/index.d.ts +247 -0
- package/cjs/api/models/index.js +265 -0
- package/cjs/api/runtime.d.ts +184 -0
- package/cjs/api/runtime.js +350 -0
- package/cjs/cdn.d.ts +1 -0
- package/cjs/cdn.js +37 -0
- package/cjs/index.d.ts +1 -0
- package/cjs/index.js +17 -0
- package/esm/api/apis/AccountRoutesApi.d.ts +76 -0
- package/esm/api/apis/AccountRoutesApi.js +147 -0
- package/esm/api/apis/BlockRoutesApi.d.ts +80 -0
- package/esm/api/apis/BlockRoutesApi.js +163 -0
- package/esm/api/apis/ChainRoutesApi.d.ts +28 -0
- package/esm/api/apis/ChainRoutesApi.js +44 -0
- package/esm/api/apis/FinalizationRoutesApi.d.ts +44 -0
- package/esm/api/apis/FinalizationRoutesApi.js +76 -0
- package/esm/api/apis/HashLockRoutesApi.d.ts +91 -0
- package/esm/api/apis/HashLockRoutesApi.js +184 -0
- package/esm/api/apis/MetadataRoutesApi.d.ts +94 -0
- package/esm/api/apis/MetadataRoutesApi.js +193 -0
- package/esm/api/apis/MosaicRoutesApi.d.ts +74 -0
- package/esm/api/apis/MosaicRoutesApi.js +144 -0
- package/esm/api/apis/MultisigRoutesApi.d.ts +57 -0
- package/esm/api/apis/MultisigRoutesApi.js +104 -0
- package/esm/api/apis/NamespaceRoutesApi.d.ts +103 -0
- package/esm/api/apis/NamespaceRoutesApi.js +211 -0
- package/esm/api/apis/NetworkRoutesApi.d.ts +111 -0
- package/esm/api/apis/NetworkRoutesApi.js +255 -0
- package/esm/api/apis/NodeRoutesApi.d.ts +102 -0
- package/esm/api/apis/NodeRoutesApi.js +212 -0
- package/esm/api/apis/ReceiptRoutesApi.d.ts +76 -0
- package/esm/api/apis/ReceiptRoutesApi.js +158 -0
- package/esm/api/apis/RestrictionAccountRoutesApi.d.ts +74 -0
- package/esm/api/apis/RestrictionAccountRoutesApi.js +144 -0
- package/esm/api/apis/RestrictionMosaicRoutesApi.d.ts +76 -0
- package/esm/api/apis/RestrictionMosaicRoutesApi.js +150 -0
- package/esm/api/apis/SecretLockRoutesApi.d.ts +93 -0
- package/esm/api/apis/SecretLockRoutesApi.js +190 -0
- package/esm/api/apis/TransactionRoutesApi.d.ts +216 -0
- package/esm/api/apis/TransactionRoutesApi.js +485 -0
- package/esm/api/apis/TransactionStatusRoutesApi.d.ts +44 -0
- package/esm/api/apis/TransactionStatusRoutesApi.js +77 -0
- package/esm/api/apis/index.d.ts +17 -0
- package/esm/api/apis/index.js +19 -0
- package/esm/api/index.d.ts +3 -0
- package/esm/api/index.js +5 -0
- package/esm/api/models/AccountAddressRestrictionTransactionBodyDTO.d.ts +45 -0
- package/esm/api/models/AccountAddressRestrictionTransactionBodyDTO.js +52 -0
- package/esm/api/models/AccountAddressRestrictionTransactionDTO.d.ts +113 -0
- package/esm/api/models/AccountAddressRestrictionTransactionDTO.js +85 -0
- package/esm/api/models/AccountDTO.d.ts +116 -0
- package/esm/api/models/AccountDTO.js +87 -0
- package/esm/api/models/AccountIds.d.ts +40 -0
- package/esm/api/models/AccountIds.js +43 -0
- package/esm/api/models/AccountInfoDTO.d.ts +41 -0
- package/esm/api/models/AccountInfoDTO.js +48 -0
- package/esm/api/models/AccountKeyLinkNetworkPropertiesDTO.d.ts +32 -0
- package/esm/api/models/AccountKeyLinkNetworkPropertiesDTO.js +41 -0
- package/esm/api/models/AccountKeyLinkTransactionBodyDTO.d.ts +39 -0
- package/esm/api/models/AccountKeyLinkTransactionBodyDTO.js +48 -0
- package/esm/api/models/AccountKeyLinkTransactionDTO.d.ts +109 -0
- package/esm/api/models/AccountKeyLinkTransactionDTO.js +81 -0
- package/esm/api/models/AccountLinkPublicKeyDTO.d.ts +32 -0
- package/esm/api/models/AccountLinkPublicKeyDTO.js +43 -0
- package/esm/api/models/AccountLinkVotingKeyDTO.d.ts +50 -0
- package/esm/api/models/AccountLinkVotingKeyDTO.js +51 -0
- package/esm/api/models/AccountLinkVotingKeysDTO.d.ts +33 -0
- package/esm/api/models/AccountLinkVotingKeysDTO.js +44 -0
- package/esm/api/models/AccountMetadataTransactionBodyDTO.d.ts +71 -0
- package/esm/api/models/AccountMetadataTransactionBodyDTO.js +59 -0
- package/esm/api/models/AccountMetadataTransactionDTO.d.ts +137 -0
- package/esm/api/models/AccountMetadataTransactionDTO.js +92 -0
- package/esm/api/models/AccountMosaicRestrictionTransactionBodyDTO.d.ts +45 -0
- package/esm/api/models/AccountMosaicRestrictionTransactionBodyDTO.js +52 -0
- package/esm/api/models/AccountMosaicRestrictionTransactionDTO.d.ts +113 -0
- package/esm/api/models/AccountMosaicRestrictionTransactionDTO.js +85 -0
- package/esm/api/models/AccountNamesDTO.d.ts +40 -0
- package/esm/api/models/AccountNamesDTO.js +47 -0
- package/esm/api/models/AccountOperationRestrictionTransactionBodyDTO.d.ts +46 -0
- package/esm/api/models/AccountOperationRestrictionTransactionBodyDTO.js +53 -0
- package/esm/api/models/AccountOperationRestrictionTransactionDTO.d.ts +114 -0
- package/esm/api/models/AccountOperationRestrictionTransactionDTO.js +86 -0
- package/esm/api/models/AccountOrderByEnum.d.ts +28 -0
- package/esm/api/models/AccountOrderByEnum.js +46 -0
- package/esm/api/models/AccountPage.d.ts +40 -0
- package/esm/api/models/AccountPage.js +49 -0
- package/esm/api/models/AccountRestrictionDTO.d.ts +42 -0
- package/esm/api/models/AccountRestrictionDTO.js +49 -0
- package/esm/api/models/AccountRestrictionDTOValuesInner.d.ts +26 -0
- package/esm/api/models/AccountRestrictionDTOValuesInner.js +31 -0
- package/esm/api/models/AccountRestrictionFlagsEnum.d.ts +49 -0
- package/esm/api/models/AccountRestrictionFlagsEnum.js +67 -0
- package/esm/api/models/AccountRestrictionNetworkPropertiesDTO.d.ts +32 -0
- package/esm/api/models/AccountRestrictionNetworkPropertiesDTO.js +41 -0
- package/esm/api/models/AccountRestrictionsDTO.d.ts +50 -0
- package/esm/api/models/AccountRestrictionsDTO.js +52 -0
- package/esm/api/models/AccountRestrictionsInfoDTO.d.ts +33 -0
- package/esm/api/models/AccountRestrictionsInfoDTO.js +44 -0
- package/esm/api/models/AccountRestrictionsPage.d.ts +40 -0
- package/esm/api/models/AccountRestrictionsPage.js +49 -0
- package/esm/api/models/AccountTypeEnum.d.ts +40 -0
- package/esm/api/models/AccountTypeEnum.js +58 -0
- package/esm/api/models/AccountsNamesDTO.d.ts +33 -0
- package/esm/api/models/AccountsNamesDTO.js +44 -0
- package/esm/api/models/ActivityBucketDTO.d.ts +69 -0
- package/esm/api/models/ActivityBucketDTO.js +55 -0
- package/esm/api/models/AddressAliasTransactionBodyDTO.d.ts +50 -0
- package/esm/api/models/AddressAliasTransactionBodyDTO.js +52 -0
- package/esm/api/models/AddressAliasTransactionDTO.d.ts +118 -0
- package/esm/api/models/AddressAliasTransactionDTO.js +85 -0
- package/esm/api/models/Addresses.d.ts +32 -0
- package/esm/api/models/Addresses.js +41 -0
- package/esm/api/models/AggregateNetworkPropertiesDTO.d.ts +58 -0
- package/esm/api/models/AggregateNetworkPropertiesDTO.js +49 -0
- package/esm/api/models/AggregateTransactionBodyDTO.d.ts +41 -0
- package/esm/api/models/AggregateTransactionBodyDTO.js +48 -0
- package/esm/api/models/AggregateTransactionBodyExtendedDTO.d.ts +48 -0
- package/esm/api/models/AggregateTransactionBodyExtendedDTO.js +53 -0
- package/esm/api/models/AggregateTransactionDTO.d.ts +107 -0
- package/esm/api/models/AggregateTransactionDTO.js +81 -0
- package/esm/api/models/AggregateTransactionExtendedDTO.d.ts +114 -0
- package/esm/api/models/AggregateTransactionExtendedDTO.js +86 -0
- package/esm/api/models/AliasActionEnum.d.ts +28 -0
- package/esm/api/models/AliasActionEnum.js +46 -0
- package/esm/api/models/AliasDTO.d.ts +52 -0
- package/esm/api/models/AliasDTO.js +48 -0
- package/esm/api/models/AliasTypeEnum.d.ts +33 -0
- package/esm/api/models/AliasTypeEnum.js +51 -0
- package/esm/api/models/AnnounceTransactionInfoDTO.d.ts +48 -0
- package/esm/api/models/AnnounceTransactionInfoDTO.js +43 -0
- package/esm/api/models/BalanceChangeReceiptDTO.d.ts +69 -0
- package/esm/api/models/BalanceChangeReceiptDTO.js +60 -0
- package/esm/api/models/BalanceTransferReceiptDTO.d.ts +78 -0
- package/esm/api/models/BalanceTransferReceiptDTO.js +64 -0
- package/esm/api/models/BlockDTO.d.ts +192 -0
- package/esm/api/models/BlockDTO.js +112 -0
- package/esm/api/models/BlockInfoDTO.d.ts +48 -0
- package/esm/api/models/BlockInfoDTO.js +53 -0
- package/esm/api/models/BlockInfoDTOBlock.d.ts +219 -0
- package/esm/api/models/BlockInfoDTOBlock.js +128 -0
- package/esm/api/models/BlockMetaDTO.d.ts +84 -0
- package/esm/api/models/BlockMetaDTO.js +67 -0
- package/esm/api/models/BlockOrderByEnum.d.ts +28 -0
- package/esm/api/models/BlockOrderByEnum.js +46 -0
- package/esm/api/models/BlockPage.d.ts +40 -0
- package/esm/api/models/BlockPage.js +49 -0
- package/esm/api/models/BmTreeSignature.d.ts +42 -0
- package/esm/api/models/BmTreeSignature.js +48 -0
- package/esm/api/models/BsonLongDTO.d.ts +45 -0
- package/esm/api/models/BsonLongDTO.js +51 -0
- package/esm/api/models/ChainInfoDTO.d.ts +66 -0
- package/esm/api/models/ChainInfoDTO.js +56 -0
- package/esm/api/models/ChainPropertiesDTO.d.ts +214 -0
- package/esm/api/models/ChainPropertiesDTO.js +99 -0
- package/esm/api/models/CommunicationTimestampsDTO.d.ts +60 -0
- package/esm/api/models/CommunicationTimestampsDTO.js +43 -0
- package/esm/api/models/CompositeHashes.d.ts +32 -0
- package/esm/api/models/CompositeHashes.js +41 -0
- package/esm/api/models/Cosignature.d.ts +55 -0
- package/esm/api/models/Cosignature.js +55 -0
- package/esm/api/models/CosignatureDTO.d.ts +49 -0
- package/esm/api/models/CosignatureDTO.js +51 -0
- package/esm/api/models/DeploymentDTO.d.ts +45 -0
- package/esm/api/models/DeploymentDTO.js +51 -0
- package/esm/api/models/EmbeddedAccountAddressRestrictionTransactionDTO.d.ts +70 -0
- package/esm/api/models/EmbeddedAccountAddressRestrictionTransactionDTO.js +69 -0
- package/esm/api/models/EmbeddedAccountKeyLinkTransactionDTO.d.ts +64 -0
- package/esm/api/models/EmbeddedAccountKeyLinkTransactionDTO.js +65 -0
- package/esm/api/models/EmbeddedAccountMetadataTransactionDTO.d.ts +94 -0
- package/esm/api/models/EmbeddedAccountMetadataTransactionDTO.js +76 -0
- package/esm/api/models/EmbeddedAccountMosaicRestrictionTransactionDTO.d.ts +70 -0
- package/esm/api/models/EmbeddedAccountMosaicRestrictionTransactionDTO.js +69 -0
- package/esm/api/models/EmbeddedAccountOperationRestrictionTransactionDTO.d.ts +71 -0
- package/esm/api/models/EmbeddedAccountOperationRestrictionTransactionDTO.js +70 -0
- package/esm/api/models/EmbeddedAddressAliasTransactionDTO.d.ts +75 -0
- package/esm/api/models/EmbeddedAddressAliasTransactionDTO.js +69 -0
- package/esm/api/models/EmbeddedHashLockTransactionDTO.d.ts +82 -0
- package/esm/api/models/EmbeddedHashLockTransactionDTO.js +72 -0
- package/esm/api/models/EmbeddedMosaicAddressRestrictionTransactionDTO.d.ts +93 -0
- package/esm/api/models/EmbeddedMosaicAddressRestrictionTransactionDTO.js +76 -0
- package/esm/api/models/EmbeddedMosaicAliasTransactionDTO.d.ts +76 -0
- package/esm/api/models/EmbeddedMosaicAliasTransactionDTO.js +69 -0
- package/esm/api/models/EmbeddedMosaicDefinitionTransactionDTO.d.ts +98 -0
- package/esm/api/models/EmbeddedMosaicDefinitionTransactionDTO.js +76 -0
- package/esm/api/models/EmbeddedMosaicGlobalRestrictionTransactionDTO.d.ts +106 -0
- package/esm/api/models/EmbeddedMosaicGlobalRestrictionTransactionDTO.js +85 -0
- package/esm/api/models/EmbeddedMosaicMetadataTransactionDTO.d.ts +103 -0
- package/esm/api/models/EmbeddedMosaicMetadataTransactionDTO.js +80 -0
- package/esm/api/models/EmbeddedMosaicSupplyChangeTransactionDTO.d.ts +77 -0
- package/esm/api/models/EmbeddedMosaicSupplyChangeTransactionDTO.js +69 -0
- package/esm/api/models/EmbeddedMosaicSupplyRevocationTransactionDTO.d.ts +79 -0
- package/esm/api/models/EmbeddedMosaicSupplyRevocationTransactionDTO.js +68 -0
- package/esm/api/models/EmbeddedMultisigAccountModificationTransactionDTO.d.ts +83 -0
- package/esm/api/models/EmbeddedMultisigAccountModificationTransactionDTO.js +72 -0
- package/esm/api/models/EmbeddedNamespaceMetadataTransactionDTO.d.ts +103 -0
- package/esm/api/models/EmbeddedNamespaceMetadataTransactionDTO.js +80 -0
- package/esm/api/models/EmbeddedNamespaceRegistrationTransactionDTO.d.ts +88 -0
- package/esm/api/models/EmbeddedNamespaceRegistrationTransactionDTO.js +73 -0
- package/esm/api/models/EmbeddedNodeKeyLinkTransactionDTO.d.ts +64 -0
- package/esm/api/models/EmbeddedNodeKeyLinkTransactionDTO.js +65 -0
- package/esm/api/models/EmbeddedSecretLockTransactionDTO.d.ts +98 -0
- package/esm/api/models/EmbeddedSecretLockTransactionDTO.js +81 -0
- package/esm/api/models/EmbeddedSecretProofTransactionDTO.d.ts +79 -0
- package/esm/api/models/EmbeddedSecretProofTransactionDTO.js +73 -0
- package/esm/api/models/EmbeddedTransactionBodyDTO.d.ts +33 -0
- package/esm/api/models/EmbeddedTransactionBodyDTO.js +44 -0
- package/esm/api/models/EmbeddedTransactionDTO.d.ts +51 -0
- package/esm/api/models/EmbeddedTransactionDTO.js +56 -0
- package/esm/api/models/EmbeddedTransactionInfoDTO.d.ts +48 -0
- package/esm/api/models/EmbeddedTransactionInfoDTO.js +53 -0
- package/esm/api/models/EmbeddedTransactionInfoDTOTransaction.d.ts +427 -0
- package/esm/api/models/EmbeddedTransactionInfoDTOTransaction.js +249 -0
- package/esm/api/models/EmbeddedTransactionMetaDTO.d.ts +91 -0
- package/esm/api/models/EmbeddedTransactionMetaDTO.js +59 -0
- package/esm/api/models/EmbeddedTransferTransactionDTO.d.ts +74 -0
- package/esm/api/models/EmbeddedTransferTransactionDTO.js +67 -0
- package/esm/api/models/EmbeddedVotingKeyLinkTransactionDTO.d.ts +82 -0
- package/esm/api/models/EmbeddedVotingKeyLinkTransactionDTO.js +73 -0
- package/esm/api/models/EmbeddedVrfKeyLinkTransactionDTO.d.ts +64 -0
- package/esm/api/models/EmbeddedVrfKeyLinkTransactionDTO.js +65 -0
- package/esm/api/models/EntityDTO.d.ts +54 -0
- package/esm/api/models/EntityDTO.js +56 -0
- package/esm/api/models/FinalizationProofDTO.d.ts +75 -0
- package/esm/api/models/FinalizationProofDTO.js +64 -0
- package/esm/api/models/FinalizedBlockDTO.d.ts +59 -0
- package/esm/api/models/FinalizedBlockDTO.js +55 -0
- package/esm/api/models/ForkHeightsDTO.d.ts +92 -0
- package/esm/api/models/ForkHeightsDTO.js +53 -0
- package/esm/api/models/HashLockEntryDTO.d.ts +86 -0
- package/esm/api/models/HashLockEntryDTO.js +68 -0
- package/esm/api/models/HashLockInfoDTO.d.ts +41 -0
- package/esm/api/models/HashLockInfoDTO.js +48 -0
- package/esm/api/models/HashLockNetworkPropertiesDTO.d.ts +38 -0
- package/esm/api/models/HashLockNetworkPropertiesDTO.js +43 -0
- package/esm/api/models/HashLockPage.d.ts +40 -0
- package/esm/api/models/HashLockPage.js +49 -0
- package/esm/api/models/HashLockTransactionBodyDTO.d.ts +57 -0
- package/esm/api/models/HashLockTransactionBodyDTO.js +55 -0
- package/esm/api/models/HashLockTransactionDTO.d.ts +125 -0
- package/esm/api/models/HashLockTransactionDTO.js +88 -0
- package/esm/api/models/ImportanceBlockDTO.d.ts +221 -0
- package/esm/api/models/ImportanceBlockDTO.js +128 -0
- package/esm/api/models/InflationReceiptDTO.d.ts +58 -0
- package/esm/api/models/InflationReceiptDTO.js +56 -0
- package/esm/api/models/LinkActionEnum.d.ts +28 -0
- package/esm/api/models/LinkActionEnum.js +46 -0
- package/esm/api/models/LockHashAlgorithmEnum.d.ts +30 -0
- package/esm/api/models/LockHashAlgorithmEnum.js +48 -0
- package/esm/api/models/LockStatus.d.ts +28 -0
- package/esm/api/models/LockStatus.js +46 -0
- package/esm/api/models/MerklePathItemDTO.d.ts +41 -0
- package/esm/api/models/MerklePathItemDTO.js +44 -0
- package/esm/api/models/MerkleProofInfoDTO.d.ts +33 -0
- package/esm/api/models/MerkleProofInfoDTO.js +42 -0
- package/esm/api/models/MerkleStateInfoDTO.d.ts +45 -0
- package/esm/api/models/MerkleStateInfoDTO.js +48 -0
- package/esm/api/models/MerkleStateInfoDTOTreeInner.d.ts +82 -0
- package/esm/api/models/MerkleStateInfoDTOTreeInner.js +77 -0
- package/esm/api/models/MerkleTreeBranchDTO.d.ts +72 -0
- package/esm/api/models/MerkleTreeBranchDTO.js +69 -0
- package/esm/api/models/MerkleTreeBranchLinkDTO.d.ts +40 -0
- package/esm/api/models/MerkleTreeBranchLinkDTO.js +47 -0
- package/esm/api/models/MerkleTreeLeafDTO.d.ts +65 -0
- package/esm/api/models/MerkleTreeLeafDTO.js +64 -0
- package/esm/api/models/MerkleTreeNodeTypeEnum.d.ts +29 -0
- package/esm/api/models/MerkleTreeNodeTypeEnum.js +47 -0
- package/esm/api/models/MessageGroup.d.ts +58 -0
- package/esm/api/models/MessageGroup.js +57 -0
- package/esm/api/models/MetadataEntryDTO.d.ts +97 -0
- package/esm/api/models/MetadataEntryDTO.js +75 -0
- package/esm/api/models/MetadataEntryDTOTargetId.d.ts +26 -0
- package/esm/api/models/MetadataEntryDTOTargetId.js +31 -0
- package/esm/api/models/MetadataInfoDTO.d.ts +41 -0
- package/esm/api/models/MetadataInfoDTO.js +48 -0
- package/esm/api/models/MetadataNetworkPropertiesDTO.d.ts +32 -0
- package/esm/api/models/MetadataNetworkPropertiesDTO.js +41 -0
- package/esm/api/models/MetadataPage.d.ts +40 -0
- package/esm/api/models/MetadataPage.js +49 -0
- package/esm/api/models/MetadataTypeEnum.d.ts +30 -0
- package/esm/api/models/MetadataTypeEnum.js +48 -0
- package/esm/api/models/ModelError.d.ts +44 -0
- package/esm/api/models/ModelError.js +47 -0
- package/esm/api/models/Mosaic.d.ts +49 -0
- package/esm/api/models/Mosaic.js +47 -0
- package/esm/api/models/MosaicAddressRestrictionDTO.d.ts +41 -0
- package/esm/api/models/MosaicAddressRestrictionDTO.js +48 -0
- package/esm/api/models/MosaicAddressRestrictionEntryDTO.d.ts +43 -0
- package/esm/api/models/MosaicAddressRestrictionEntryDTO.js +47 -0
- package/esm/api/models/MosaicAddressRestrictionEntryWrapperDTO.d.ts +72 -0
- package/esm/api/models/MosaicAddressRestrictionEntryWrapperDTO.js +65 -0
- package/esm/api/models/MosaicAddressRestrictionTransactionBodyDTO.d.ts +68 -0
- package/esm/api/models/MosaicAddressRestrictionTransactionBodyDTO.js +59 -0
- package/esm/api/models/MosaicAddressRestrictionTransactionDTO.d.ts +136 -0
- package/esm/api/models/MosaicAddressRestrictionTransactionDTO.js +92 -0
- package/esm/api/models/MosaicAliasTransactionBodyDTO.d.ts +51 -0
- package/esm/api/models/MosaicAliasTransactionBodyDTO.js +52 -0
- package/esm/api/models/MosaicAliasTransactionDTO.d.ts +119 -0
- package/esm/api/models/MosaicAliasTransactionDTO.js +85 -0
- package/esm/api/models/MosaicDTO.d.ts +108 -0
- package/esm/api/models/MosaicDTO.js +75 -0
- package/esm/api/models/MosaicDefinitionTransactionBodyDTO.d.ts +73 -0
- package/esm/api/models/MosaicDefinitionTransactionBodyDTO.js +59 -0
- package/esm/api/models/MosaicDefinitionTransactionDTO.d.ts +141 -0
- package/esm/api/models/MosaicDefinitionTransactionDTO.js +92 -0
- package/esm/api/models/MosaicExpiryReceiptDTO.d.ts +48 -0
- package/esm/api/models/MosaicExpiryReceiptDTO.js +52 -0
- package/esm/api/models/MosaicGlobalRestrictionDTO.d.ts +41 -0
- package/esm/api/models/MosaicGlobalRestrictionDTO.js +48 -0
- package/esm/api/models/MosaicGlobalRestrictionEntryDTO.d.ts +41 -0
- package/esm/api/models/MosaicGlobalRestrictionEntryDTO.js +48 -0
- package/esm/api/models/MosaicGlobalRestrictionEntryRestrictionDTO.d.ts +51 -0
- package/esm/api/models/MosaicGlobalRestrictionEntryRestrictionDTO.js +52 -0
- package/esm/api/models/MosaicGlobalRestrictionEntryWrapperDTO.d.ts +64 -0
- package/esm/api/models/MosaicGlobalRestrictionEntryWrapperDTO.js +61 -0
- package/esm/api/models/MosaicGlobalRestrictionTransactionBodyDTO.d.ts +81 -0
- package/esm/api/models/MosaicGlobalRestrictionTransactionBodyDTO.js +68 -0
- package/esm/api/models/MosaicGlobalRestrictionTransactionDTO.d.ts +149 -0
- package/esm/api/models/MosaicGlobalRestrictionTransactionDTO.js +101 -0
- package/esm/api/models/MosaicIds.d.ts +32 -0
- package/esm/api/models/MosaicIds.js +41 -0
- package/esm/api/models/MosaicInfoDTO.d.ts +41 -0
- package/esm/api/models/MosaicInfoDTO.js +48 -0
- package/esm/api/models/MosaicMetadataTransactionBodyDTO.d.ts +80 -0
- package/esm/api/models/MosaicMetadataTransactionBodyDTO.js +63 -0
- package/esm/api/models/MosaicMetadataTransactionDTO.d.ts +146 -0
- package/esm/api/models/MosaicMetadataTransactionDTO.js +96 -0
- package/esm/api/models/MosaicNamesDTO.d.ts +44 -0
- package/esm/api/models/MosaicNamesDTO.js +47 -0
- package/esm/api/models/MosaicNetworkPropertiesDTO.d.ts +76 -0
- package/esm/api/models/MosaicNetworkPropertiesDTO.js +51 -0
- package/esm/api/models/MosaicPage.d.ts +40 -0
- package/esm/api/models/MosaicPage.js +49 -0
- package/esm/api/models/MosaicRestrictionDTO.d.ts +41 -0
- package/esm/api/models/MosaicRestrictionDTO.js +48 -0
- package/esm/api/models/MosaicRestrictionEntryTypeEnum.d.ts +28 -0
- package/esm/api/models/MosaicRestrictionEntryTypeEnum.js +46 -0
- package/esm/api/models/MosaicRestrictionNetworkPropertiesDTO.d.ts +32 -0
- package/esm/api/models/MosaicRestrictionNetworkPropertiesDTO.js +41 -0
- package/esm/api/models/MosaicRestrictionTypeEnum.d.ts +38 -0
- package/esm/api/models/MosaicRestrictionTypeEnum.js +56 -0
- package/esm/api/models/MosaicRestrictionsPage.d.ts +40 -0
- package/esm/api/models/MosaicRestrictionsPage.js +49 -0
- package/esm/api/models/MosaicRestrictionsPageDataInner.d.ts +41 -0
- package/esm/api/models/MosaicRestrictionsPageDataInner.js +48 -0
- package/esm/api/models/MosaicSupplyChangeActionEnum.d.ts +28 -0
- package/esm/api/models/MosaicSupplyChangeActionEnum.js +46 -0
- package/esm/api/models/MosaicSupplyChangeTransactionBodyDTO.d.ts +52 -0
- package/esm/api/models/MosaicSupplyChangeTransactionBodyDTO.js +52 -0
- package/esm/api/models/MosaicSupplyChangeTransactionDTO.d.ts +120 -0
- package/esm/api/models/MosaicSupplyChangeTransactionDTO.js +85 -0
- package/esm/api/models/MosaicSupplyRevocationTransactionBodyDTO.d.ts +54 -0
- package/esm/api/models/MosaicSupplyRevocationTransactionBodyDTO.js +51 -0
- package/esm/api/models/MosaicSupplyRevocationTransactionDTO.d.ts +122 -0
- package/esm/api/models/MosaicSupplyRevocationTransactionDTO.js +84 -0
- package/esm/api/models/MosaicsNamesDTO.d.ts +36 -0
- package/esm/api/models/MosaicsNamesDTO.js +44 -0
- package/esm/api/models/MultisigAccountGraphInfoDTO.d.ts +43 -0
- package/esm/api/models/MultisigAccountGraphInfoDTO.js +48 -0
- package/esm/api/models/MultisigAccountInfoDTO.d.ts +33 -0
- package/esm/api/models/MultisigAccountInfoDTO.js +44 -0
- package/esm/api/models/MultisigAccountModificationTransactionBodyDTO.d.ts +58 -0
- package/esm/api/models/MultisigAccountModificationTransactionBodyDTO.js +55 -0
- package/esm/api/models/MultisigAccountModificationTransactionDTO.d.ts +128 -0
- package/esm/api/models/MultisigAccountModificationTransactionDTO.js +88 -0
- package/esm/api/models/MultisigDTO.d.ts +71 -0
- package/esm/api/models/MultisigDTO.js +63 -0
- package/esm/api/models/MultisigNetworkPropertiesDTO.d.ts +48 -0
- package/esm/api/models/MultisigNetworkPropertiesDTO.js +45 -0
- package/esm/api/models/NamespaceDTO.d.ts +117 -0
- package/esm/api/models/NamespaceDTO.js +81 -0
- package/esm/api/models/NamespaceExpiryReceiptDTO.d.ts +48 -0
- package/esm/api/models/NamespaceExpiryReceiptDTO.js +52 -0
- package/esm/api/models/NamespaceIds.d.ts +32 -0
- package/esm/api/models/NamespaceIds.js +41 -0
- package/esm/api/models/NamespaceInfoDTO.d.ts +48 -0
- package/esm/api/models/NamespaceInfoDTO.js +53 -0
- package/esm/api/models/NamespaceMetaDTO.d.ts +44 -0
- package/esm/api/models/NamespaceMetaDTO.js +47 -0
- package/esm/api/models/NamespaceMetadataTransactionBodyDTO.d.ts +80 -0
- package/esm/api/models/NamespaceMetadataTransactionBodyDTO.js +63 -0
- package/esm/api/models/NamespaceMetadataTransactionDTO.d.ts +146 -0
- package/esm/api/models/NamespaceMetadataTransactionDTO.js +96 -0
- package/esm/api/models/NamespaceNameDTO.d.ts +50 -0
- package/esm/api/models/NamespaceNameDTO.js +49 -0
- package/esm/api/models/NamespaceNetworkPropertiesDTO.d.ts +108 -0
- package/esm/api/models/NamespaceNetworkPropertiesDTO.js +61 -0
- package/esm/api/models/NamespacePage.d.ts +40 -0
- package/esm/api/models/NamespacePage.js +49 -0
- package/esm/api/models/NamespaceRegistrationTransactionBodyDTO.d.ts +63 -0
- package/esm/api/models/NamespaceRegistrationTransactionBodyDTO.js +56 -0
- package/esm/api/models/NamespaceRegistrationTransactionDTO.d.ts +131 -0
- package/esm/api/models/NamespaceRegistrationTransactionDTO.js +89 -0
- package/esm/api/models/NamespaceRegistrationTypeEnum.d.ts +33 -0
- package/esm/api/models/NamespaceRegistrationTypeEnum.js +51 -0
- package/esm/api/models/NetworkConfigurationDTO.d.ts +72 -0
- package/esm/api/models/NetworkConfigurationDTO.js +63 -0
- package/esm/api/models/NetworkInflationDTO.d.ts +45 -0
- package/esm/api/models/NetworkInflationDTO.js +47 -0
- package/esm/api/models/NetworkPropertiesDTO.d.ts +57 -0
- package/esm/api/models/NetworkPropertiesDTO.js +50 -0
- package/esm/api/models/NetworkTypeDTO.d.ts +46 -0
- package/esm/api/models/NetworkTypeDTO.js +54 -0
- package/esm/api/models/NetworkTypeEnum.d.ts +28 -0
- package/esm/api/models/NetworkTypeEnum.js +46 -0
- package/esm/api/models/NodeHealthDTO.d.ts +39 -0
- package/esm/api/models/NodeHealthDTO.js +48 -0
- package/esm/api/models/NodeHealthInfoDTO.d.ts +35 -0
- package/esm/api/models/NodeHealthInfoDTO.js +44 -0
- package/esm/api/models/NodeIdentityEqualityStrategy.d.ts +26 -0
- package/esm/api/models/NodeIdentityEqualityStrategy.js +44 -0
- package/esm/api/models/NodeInfoDTO.d.ts +98 -0
- package/esm/api/models/NodeInfoDTO.js +74 -0
- package/esm/api/models/NodeKeyLinkTransactionBodyDTO.d.ts +39 -0
- package/esm/api/models/NodeKeyLinkTransactionBodyDTO.js +48 -0
- package/esm/api/models/NodeKeyLinkTransactionDTO.d.ts +110 -0
- package/esm/api/models/NodeKeyLinkTransactionDTO.js +81 -0
- package/esm/api/models/NodeStatusEnum.d.ts +25 -0
- package/esm/api/models/NodeStatusEnum.js +43 -0
- package/esm/api/models/NodeTimeDTO.d.ts +35 -0
- package/esm/api/models/NodeTimeDTO.js +44 -0
- package/esm/api/models/Order.d.ts +28 -0
- package/esm/api/models/Order.js +46 -0
- package/esm/api/models/Pagination.d.ts +40 -0
- package/esm/api/models/Pagination.js +47 -0
- package/esm/api/models/ParentPublicKeySignaturePair.d.ts +41 -0
- package/esm/api/models/ParentPublicKeySignaturePair.js +47 -0
- package/esm/api/models/PluginsPropertiesDTO.d.ts +103 -0
- package/esm/api/models/PluginsPropertiesDTO.js +72 -0
- package/esm/api/models/PositionEnum.d.ts +28 -0
- package/esm/api/models/PositionEnum.js +46 -0
- package/esm/api/models/ReceiptDTO.d.ts +39 -0
- package/esm/api/models/ReceiptDTO.js +48 -0
- package/esm/api/models/ReceiptTypeEnum.d.ts +57 -0
- package/esm/api/models/ReceiptTypeEnum.js +75 -0
- package/esm/api/models/RentalFeesDTO.d.ts +59 -0
- package/esm/api/models/RentalFeesDTO.js +51 -0
- package/esm/api/models/ResolutionEntryDTO.d.ts +40 -0
- package/esm/api/models/ResolutionEntryDTO.js +49 -0
- package/esm/api/models/ResolutionEntryDTOResolved.d.ts +26 -0
- package/esm/api/models/ResolutionEntryDTOResolved.js +31 -0
- package/esm/api/models/ResolutionStatementDTO.d.ts +52 -0
- package/esm/api/models/ResolutionStatementDTO.js +53 -0
- package/esm/api/models/ResolutionStatementDTOUnresolved.d.ts +26 -0
- package/esm/api/models/ResolutionStatementDTOUnresolved.js +31 -0
- package/esm/api/models/ResolutionStatementInfoDTO.d.ts +49 -0
- package/esm/api/models/ResolutionStatementInfoDTO.js +53 -0
- package/esm/api/models/ResolutionStatementPage.d.ts +40 -0
- package/esm/api/models/ResolutionStatementPage.js +49 -0
- package/esm/api/models/SecretLockEntryDTO.d.ts +108 -0
- package/esm/api/models/SecretLockEntryDTO.js +81 -0
- package/esm/api/models/SecretLockInfoDTO.d.ts +41 -0
- package/esm/api/models/SecretLockInfoDTO.js +48 -0
- package/esm/api/models/SecretLockNetworkPropertiesDTO.d.ts +44 -0
- package/esm/api/models/SecretLockNetworkPropertiesDTO.js +45 -0
- package/esm/api/models/SecretLockPage.d.ts +40 -0
- package/esm/api/models/SecretLockPage.js +49 -0
- package/esm/api/models/SecretLockTransactionBodyDTO.d.ts +73 -0
- package/esm/api/models/SecretLockTransactionBodyDTO.js +64 -0
- package/esm/api/models/SecretLockTransactionDTO.d.ts +143 -0
- package/esm/api/models/SecretLockTransactionDTO.js +97 -0
- package/esm/api/models/SecretProofTransactionBodyDTO.d.ts +54 -0
- package/esm/api/models/SecretProofTransactionBodyDTO.js +56 -0
- package/esm/api/models/SecretProofTransactionDTO.d.ts +122 -0
- package/esm/api/models/SecretProofTransactionDTO.js +89 -0
- package/esm/api/models/ServerDTO.d.ts +40 -0
- package/esm/api/models/ServerDTO.js +48 -0
- package/esm/api/models/ServerInfoDTO.d.ts +35 -0
- package/esm/api/models/ServerInfoDTO.js +44 -0
- package/esm/api/models/SizePrefixedEntityDTO.d.ts +37 -0
- package/esm/api/models/SizePrefixedEntityDTO.js +43 -0
- package/esm/api/models/SourceDTO.d.ts +42 -0
- package/esm/api/models/SourceDTO.js +47 -0
- package/esm/api/models/StageEnum.d.ts +31 -0
- package/esm/api/models/StageEnum.js +49 -0
- package/esm/api/models/StatementMetaDTO.d.ts +42 -0
- package/esm/api/models/StatementMetaDTO.js +43 -0
- package/esm/api/models/StorageInfoDTO.d.ts +62 -0
- package/esm/api/models/StorageInfoDTO.js +56 -0
- package/esm/api/models/StorageInfoDatabaseDTO.d.ts +72 -0
- package/esm/api/models/StorageInfoDatabaseDTO.js +60 -0
- package/esm/api/models/SupplementalPublicKeysDTO.d.ts +54 -0
- package/esm/api/models/SupplementalPublicKeysDTO.js +49 -0
- package/esm/api/models/TransactionBodyDTO.d.ts +52 -0
- package/esm/api/models/TransactionBodyDTO.js +47 -0
- package/esm/api/models/TransactionDTO.d.ts +94 -0
- package/esm/api/models/TransactionDTO.js +72 -0
- package/esm/api/models/TransactionFeesDTO.d.ts +119 -0
- package/esm/api/models/TransactionFeesDTO.js +59 -0
- package/esm/api/models/TransactionGroupEnum.d.ts +32 -0
- package/esm/api/models/TransactionGroupEnum.js +50 -0
- package/esm/api/models/TransactionHashes.d.ts +32 -0
- package/esm/api/models/TransactionHashes.js +43 -0
- package/esm/api/models/TransactionIds.d.ts +32 -0
- package/esm/api/models/TransactionIds.js +43 -0
- package/esm/api/models/TransactionInfoDTO.d.ts +54 -0
- package/esm/api/models/TransactionInfoDTO.js +53 -0
- package/esm/api/models/TransactionInfoDTOMeta.d.ts +103 -0
- package/esm/api/models/TransactionInfoDTOMeta.js +67 -0
- package/esm/api/models/TransactionInfoDTOTransaction.d.ts +493 -0
- package/esm/api/models/TransactionInfoDTOTransaction.js +279 -0
- package/esm/api/models/TransactionMetaDTO.d.ts +100 -0
- package/esm/api/models/TransactionMetaDTO.js +59 -0
- package/esm/api/models/TransactionPage.d.ts +40 -0
- package/esm/api/models/TransactionPage.js +49 -0
- package/esm/api/models/TransactionPayload.d.ts +35 -0
- package/esm/api/models/TransactionPayload.js +43 -0
- package/esm/api/models/TransactionStatementDTO.d.ts +48 -0
- package/esm/api/models/TransactionStatementDTO.js +53 -0
- package/esm/api/models/TransactionStatementDTOReceiptsInner.d.ts +91 -0
- package/esm/api/models/TransactionStatementDTOReceiptsInner.js +72 -0
- package/esm/api/models/TransactionStatementInfoDTO.d.ts +48 -0
- package/esm/api/models/TransactionStatementInfoDTO.js +53 -0
- package/esm/api/models/TransactionStatementPage.d.ts +40 -0
- package/esm/api/models/TransactionStatementPage.js +49 -0
- package/esm/api/models/TransactionStatusDTO.d.ts +70 -0
- package/esm/api/models/TransactionStatusDTO.js +57 -0
- package/esm/api/models/TransactionStatusEnum.d.ts +382 -0
- package/esm/api/models/TransactionStatusEnum.js +400 -0
- package/esm/api/models/TransactionTypeEnum.d.ts +74 -0
- package/esm/api/models/TransactionTypeEnum.js +92 -0
- package/esm/api/models/TransferNetworkPropertiesDTO.d.ts +32 -0
- package/esm/api/models/TransferNetworkPropertiesDTO.js +41 -0
- package/esm/api/models/TransferTransactionBodyDTO.d.ts +49 -0
- package/esm/api/models/TransferTransactionBodyDTO.js +50 -0
- package/esm/api/models/TransferTransactionDTO.d.ts +117 -0
- package/esm/api/models/TransferTransactionDTO.js +83 -0
- package/esm/api/models/UnlockedAccountDTO.d.ts +34 -0
- package/esm/api/models/UnlockedAccountDTO.js +43 -0
- package/esm/api/models/UnresolvedMosaic.d.ts +45 -0
- package/esm/api/models/UnresolvedMosaic.js +47 -0
- package/esm/api/models/VerifiableEntityDTO.d.ts +38 -0
- package/esm/api/models/VerifiableEntityDTO.js +43 -0
- package/esm/api/models/VotingKeyLinkTransactionBodyDTO.d.ts +57 -0
- package/esm/api/models/VotingKeyLinkTransactionBodyDTO.js +56 -0
- package/esm/api/models/VotingKeyLinkTransactionDTO.d.ts +127 -0
- package/esm/api/models/VotingKeyLinkTransactionDTO.js +89 -0
- package/esm/api/models/VrfKeyLinkTransactionBodyDTO.d.ts +39 -0
- package/esm/api/models/VrfKeyLinkTransactionBodyDTO.js +48 -0
- package/esm/api/models/VrfKeyLinkTransactionDTO.d.ts +110 -0
- package/esm/api/models/VrfKeyLinkTransactionDTO.js +81 -0
- package/esm/api/models/index.d.ts +247 -0
- package/esm/api/models/index.js +249 -0
- package/esm/api/runtime.d.ts +184 -0
- package/esm/api/runtime.js +333 -0
- package/esm/cdn.d.ts +1 -0
- package/esm/cdn.js +2 -0
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/index.min.js +1 -0
- package/package.json +64 -0
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Catapult REST Endpoints
|
|
5
|
+
* OpenAPI Specification of catapult-rest
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.5
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import * as runtime from '../runtime';
|
|
15
|
+
import { AccountIdsToJSON, AccountInfoDTOFromJSON, AccountPageFromJSON, MerkleStateInfoDTOFromJSON, } from '../models/index';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export class AccountRoutesApi extends runtime.BaseAPI {
|
|
20
|
+
/**
|
|
21
|
+
* Retrieves account data for a given account identifier. The response contains the account state including balance, importance, public key, linked keys, and activity buckets. The `accountId` path parameter accepts either a public key or a Base32-encoded address.
|
|
22
|
+
* Get account information
|
|
23
|
+
*/
|
|
24
|
+
async getAccountInfoRaw(requestParameters, initOverrides) {
|
|
25
|
+
if (requestParameters['accountId'] == null) {
|
|
26
|
+
throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling getAccountInfo().');
|
|
27
|
+
}
|
|
28
|
+
const queryParameters = {};
|
|
29
|
+
const headerParameters = {};
|
|
30
|
+
let urlPath = `/accounts/{accountId}`;
|
|
31
|
+
urlPath = urlPath.replace(`{${"accountId"}}`, encodeURIComponent(String(requestParameters['accountId'])));
|
|
32
|
+
const response = await this.request({
|
|
33
|
+
path: urlPath,
|
|
34
|
+
method: 'GET',
|
|
35
|
+
headers: headerParameters,
|
|
36
|
+
query: queryParameters,
|
|
37
|
+
}, initOverrides);
|
|
38
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AccountInfoDTOFromJSON(jsonValue));
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Retrieves account data for a given account identifier. The response contains the account state including balance, importance, public key, linked keys, and activity buckets. The `accountId` path parameter accepts either a public key or a Base32-encoded address.
|
|
42
|
+
* Get account information
|
|
43
|
+
*/
|
|
44
|
+
async getAccountInfo(requestParameters, initOverrides) {
|
|
45
|
+
const response = await this.getAccountInfoRaw(requestParameters, initOverrides);
|
|
46
|
+
return await response.value();
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Retrieves the Merkle proof data for a given account. The Merkle path can be used to independently verify that the account state is included in the block state hash. If no account state entry exists for the supplied account ID, the endpoint still returns a Merkle proof response, but it is a negative proof showing that no account state entry exists for the requested account. The `accountId` path parameter accepts either a public key or a Base32-encoded address.
|
|
50
|
+
* Get account Merkle information
|
|
51
|
+
*/
|
|
52
|
+
async getAccountInfoMerkleRaw(requestParameters, initOverrides) {
|
|
53
|
+
if (requestParameters['accountId'] == null) {
|
|
54
|
+
throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling getAccountInfoMerkle().');
|
|
55
|
+
}
|
|
56
|
+
const queryParameters = {};
|
|
57
|
+
const headerParameters = {};
|
|
58
|
+
let urlPath = `/accounts/{accountId}/merkle`;
|
|
59
|
+
urlPath = urlPath.replace(`{${"accountId"}}`, encodeURIComponent(String(requestParameters['accountId'])));
|
|
60
|
+
const response = await this.request({
|
|
61
|
+
path: urlPath,
|
|
62
|
+
method: 'GET',
|
|
63
|
+
headers: headerParameters,
|
|
64
|
+
query: queryParameters,
|
|
65
|
+
}, initOverrides);
|
|
66
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MerkleStateInfoDTOFromJSON(jsonValue));
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Retrieves the Merkle proof data for a given account. The Merkle path can be used to independently verify that the account state is included in the block state hash. If no account state entry exists for the supplied account ID, the endpoint still returns a Merkle proof response, but it is a negative proof showing that no account state entry exists for the requested account. The `accountId` path parameter accepts either a public key or a Base32-encoded address.
|
|
70
|
+
* Get account Merkle information
|
|
71
|
+
*/
|
|
72
|
+
async getAccountInfoMerkle(requestParameters, initOverrides) {
|
|
73
|
+
const response = await this.getAccountInfoMerkleRaw(requestParameters, initOverrides);
|
|
74
|
+
return await response.value();
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Retrieves account data for multiple accounts in a single request. This is the batch equivalent of the single-account endpoint. The request body accepts either an array of public keys or an array of addresses (not both). If both `publicKeys` and `addresses` are provided, the request is invalid and the server returns `409` error.
|
|
78
|
+
* Get accounts information
|
|
79
|
+
*/
|
|
80
|
+
async getAccountsInfoRaw(requestParameters, initOverrides) {
|
|
81
|
+
const queryParameters = {};
|
|
82
|
+
const headerParameters = {};
|
|
83
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
84
|
+
let urlPath = `/accounts`;
|
|
85
|
+
const response = await this.request({
|
|
86
|
+
path: urlPath,
|
|
87
|
+
method: 'POST',
|
|
88
|
+
headers: headerParameters,
|
|
89
|
+
query: queryParameters,
|
|
90
|
+
body: AccountIdsToJSON(requestParameters['accountIds']),
|
|
91
|
+
}, initOverrides);
|
|
92
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(AccountInfoDTOFromJSON));
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Retrieves account data for multiple accounts in a single request. This is the batch equivalent of the single-account endpoint. The request body accepts either an array of public keys or an array of addresses (not both). If both `publicKeys` and `addresses` are provided, the request is invalid and the server returns `409` error.
|
|
96
|
+
* Get accounts information
|
|
97
|
+
*/
|
|
98
|
+
async getAccountsInfo(requestParameters = {}, initOverrides) {
|
|
99
|
+
const response = await this.getAccountsInfoRaw(requestParameters, initOverrides);
|
|
100
|
+
return await response.value();
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Returns a paginated list of accounts matching the given criteria. Results can be filtered by `address` and `mosaicId` (mosaic ownership), and ordered by `id` or `balance`. Standard pagination parameters (`pageSize`, `pageNumber`, `offset`, `order`) apply. The `orderBy` parameter supports `id` and `balance`; when using `orderBy=balance`, the `mosaicId` filter is required. The `offset` value must match the `orderBy` field.
|
|
104
|
+
* Search accounts
|
|
105
|
+
*/
|
|
106
|
+
async searchAccountsRaw(requestParameters, initOverrides) {
|
|
107
|
+
const queryParameters = {};
|
|
108
|
+
if (requestParameters['address'] != null) {
|
|
109
|
+
queryParameters['address'] = requestParameters['address'];
|
|
110
|
+
}
|
|
111
|
+
if (requestParameters['pageSize'] != null) {
|
|
112
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
113
|
+
}
|
|
114
|
+
if (requestParameters['pageNumber'] != null) {
|
|
115
|
+
queryParameters['pageNumber'] = requestParameters['pageNumber'];
|
|
116
|
+
}
|
|
117
|
+
if (requestParameters['offset'] != null) {
|
|
118
|
+
queryParameters['offset'] = requestParameters['offset'];
|
|
119
|
+
}
|
|
120
|
+
if (requestParameters['order'] != null) {
|
|
121
|
+
queryParameters['order'] = requestParameters['order'];
|
|
122
|
+
}
|
|
123
|
+
if (requestParameters['orderBy'] != null) {
|
|
124
|
+
queryParameters['orderBy'] = requestParameters['orderBy'];
|
|
125
|
+
}
|
|
126
|
+
if (requestParameters['mosaicId'] != null) {
|
|
127
|
+
queryParameters['mosaicId'] = requestParameters['mosaicId'];
|
|
128
|
+
}
|
|
129
|
+
const headerParameters = {};
|
|
130
|
+
let urlPath = `/accounts`;
|
|
131
|
+
const response = await this.request({
|
|
132
|
+
path: urlPath,
|
|
133
|
+
method: 'GET',
|
|
134
|
+
headers: headerParameters,
|
|
135
|
+
query: queryParameters,
|
|
136
|
+
}, initOverrides);
|
|
137
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AccountPageFromJSON(jsonValue));
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Returns a paginated list of accounts matching the given criteria. Results can be filtered by `address` and `mosaicId` (mosaic ownership), and ordered by `id` or `balance`. Standard pagination parameters (`pageSize`, `pageNumber`, `offset`, `order`) apply. The `orderBy` parameter supports `id` and `balance`; when using `orderBy=balance`, the `mosaicId` filter is required. The `offset` value must match the `orderBy` field.
|
|
141
|
+
* Search accounts
|
|
142
|
+
*/
|
|
143
|
+
async searchAccounts(requestParameters = {}, initOverrides) {
|
|
144
|
+
const response = await this.searchAccountsRaw(requestParameters, initOverrides);
|
|
145
|
+
return await response.value();
|
|
146
|
+
}
|
|
147
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Catapult REST Endpoints
|
|
3
|
+
* OpenAPI Specification of catapult-rest
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.5
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { BlockInfoDTO, BlockOrderByEnum, BlockPage, MerkleProofInfoDTO, Order } from '../models/index';
|
|
14
|
+
export interface GetBlockByHeightRequest {
|
|
15
|
+
height: string;
|
|
16
|
+
}
|
|
17
|
+
export interface GetMerkleReceiptsRequest {
|
|
18
|
+
height: string;
|
|
19
|
+
hash: string;
|
|
20
|
+
}
|
|
21
|
+
export interface GetMerkleTransactionRequest {
|
|
22
|
+
height: string;
|
|
23
|
+
hash: string;
|
|
24
|
+
}
|
|
25
|
+
export interface SearchBlocksRequest {
|
|
26
|
+
signerPublicKey?: string;
|
|
27
|
+
beneficiaryAddress?: string;
|
|
28
|
+
pageSize?: number;
|
|
29
|
+
pageNumber?: number;
|
|
30
|
+
offset?: string;
|
|
31
|
+
order?: Order;
|
|
32
|
+
orderBy?: BlockOrderByEnum;
|
|
33
|
+
fromTimestamp?: string;
|
|
34
|
+
toTimestamp?: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
export declare class BlockRoutesApi extends runtime.BaseAPI {
|
|
40
|
+
/**
|
|
41
|
+
* Returns the block at the given height. The response includes the block header, harvester signature, and block metadata (hash, total fee, generation hash, transaction and statement counts). If the block is an importance block, the response additionally contains voting-eligible and harvesting-eligible account counts, total voting balance, and the previous importance block hash.
|
|
42
|
+
* Get block information
|
|
43
|
+
*/
|
|
44
|
+
getBlockByHeightRaw(requestParameters: GetBlockByHeightRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BlockInfoDTO>>;
|
|
45
|
+
/**
|
|
46
|
+
* Returns the block at the given height. The response includes the block header, harvester signature, and block metadata (hash, total fee, generation hash, transaction and statement counts). If the block is an importance block, the response additionally contains voting-eligible and harvesting-eligible account counts, total voting balance, and the previous importance block hash.
|
|
47
|
+
* Get block information
|
|
48
|
+
*/
|
|
49
|
+
getBlockByHeight(requestParameters: GetBlockByHeightRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BlockInfoDTO>;
|
|
50
|
+
/**
|
|
51
|
+
* Returns the [Merkle path](https://docs.symbol.dev/concepts/data-validation.html#merkle-proof) for a [receipt statement or resolution](https://docs.symbol.dev/concepts/receipt.html) linked to a block. The `hash` parameter is the receipt statement hash, not the transaction hash. The Merkle path is the minimum number of nodes needed to calculate the Merkle root. Steps to calculate the Merkle root: 1. proofHash = hash (leaf). 2. Concatenate proofHash with the first unprocessed item from the merklePath list as follows: - `left`: the item hash is concatenated before the proofHash (proofHash = sha_256(item.hash + proofHash)). - `right`: the item hash is concatenated after the proofHash (proofHash = sha_256(proofHash + item.hash)). 3. Repeat 2. for every item in the merklePath list. 4. Compare if the calculated proofHash equals the one recorded in the [block header](https://docs.symbol.dev/concepts/block.html) (`block.receiptsHash`) to verify if the statement was linked with the block.
|
|
52
|
+
* Get the Merkle path for a given receipt statement hash and block
|
|
53
|
+
*/
|
|
54
|
+
getMerkleReceiptsRaw(requestParameters: GetMerkleReceiptsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MerkleProofInfoDTO>>;
|
|
55
|
+
/**
|
|
56
|
+
* Returns the [Merkle path](https://docs.symbol.dev/concepts/data-validation.html#merkle-proof) for a [receipt statement or resolution](https://docs.symbol.dev/concepts/receipt.html) linked to a block. The `hash` parameter is the receipt statement hash, not the transaction hash. The Merkle path is the minimum number of nodes needed to calculate the Merkle root. Steps to calculate the Merkle root: 1. proofHash = hash (leaf). 2. Concatenate proofHash with the first unprocessed item from the merklePath list as follows: - `left`: the item hash is concatenated before the proofHash (proofHash = sha_256(item.hash + proofHash)). - `right`: the item hash is concatenated after the proofHash (proofHash = sha_256(proofHash + item.hash)). 3. Repeat 2. for every item in the merklePath list. 4. Compare if the calculated proofHash equals the one recorded in the [block header](https://docs.symbol.dev/concepts/block.html) (`block.receiptsHash`) to verify if the statement was linked with the block.
|
|
57
|
+
* Get the Merkle path for a given receipt statement hash and block
|
|
58
|
+
*/
|
|
59
|
+
getMerkleReceipts(requestParameters: GetMerkleReceiptsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MerkleProofInfoDTO>;
|
|
60
|
+
/**
|
|
61
|
+
* Returns the [Merkle path](https://docs.symbol.dev/concepts/data-validation.html#merkle-proof) for a [transaction](https://docs.symbol.dev/concepts/transaction.html) included in a block. The Merkle path is the minimum number of nodes needed to calculate the Merkle root. Steps to calculate the Merkle root: 1. proofHash = hash (leaf). 2. Concatenate proofHash with the first unprocessed item from the merklePath list as follows: - `left`: the item hash is concatenated before the proofHash (proofHash = sha_256(item.hash + proofHash)). - `right`: the item hash is concatenated after the proofHash (proofHash = sha_256(proofHash + item.hash)). 3. Repeat 2. for every item in the merklePath list. 4. Compare if the calculated proofHash equals the one recorded in the [block header](https://docs.symbol.dev/concepts/block.html) (`block.transactionsHash`) to verify if the transaction was included in the block.
|
|
62
|
+
* Get the Merkle path for a given transaction and block
|
|
63
|
+
*/
|
|
64
|
+
getMerkleTransactionRaw(requestParameters: GetMerkleTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MerkleProofInfoDTO>>;
|
|
65
|
+
/**
|
|
66
|
+
* Returns the [Merkle path](https://docs.symbol.dev/concepts/data-validation.html#merkle-proof) for a [transaction](https://docs.symbol.dev/concepts/transaction.html) included in a block. The Merkle path is the minimum number of nodes needed to calculate the Merkle root. Steps to calculate the Merkle root: 1. proofHash = hash (leaf). 2. Concatenate proofHash with the first unprocessed item from the merklePath list as follows: - `left`: the item hash is concatenated before the proofHash (proofHash = sha_256(item.hash + proofHash)). - `right`: the item hash is concatenated after the proofHash (proofHash = sha_256(proofHash + item.hash)). 3. Repeat 2. for every item in the merklePath list. 4. Compare if the calculated proofHash equals the one recorded in the [block header](https://docs.symbol.dev/concepts/block.html) (`block.transactionsHash`) to verify if the transaction was included in the block.
|
|
67
|
+
* Get the Merkle path for a given transaction and block
|
|
68
|
+
*/
|
|
69
|
+
getMerkleTransaction(requestParameters: GetMerkleTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MerkleProofInfoDTO>;
|
|
70
|
+
/**
|
|
71
|
+
* Returns a paginated list of blocks matching the given criteria. Results can be filtered by harvester (`signerPublicKey`), `beneficiaryAddress`, and timestamp range. Standard pagination parameters (`pageSize`, `pageNumber`, `offset`, `order`) apply. The `orderBy` parameter supports `id` and `height`. The `offset` value must match the `orderBy` field.
|
|
72
|
+
* Search blocks
|
|
73
|
+
*/
|
|
74
|
+
searchBlocksRaw(requestParameters: SearchBlocksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BlockPage>>;
|
|
75
|
+
/**
|
|
76
|
+
* Returns a paginated list of blocks matching the given criteria. Results can be filtered by harvester (`signerPublicKey`), `beneficiaryAddress`, and timestamp range. Standard pagination parameters (`pageSize`, `pageNumber`, `offset`, `order`) apply. The `orderBy` parameter supports `id` and `height`. The `offset` value must match the `orderBy` field.
|
|
77
|
+
* Search blocks
|
|
78
|
+
*/
|
|
79
|
+
searchBlocks(requestParameters?: SearchBlocksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BlockPage>;
|
|
80
|
+
}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Catapult REST Endpoints
|
|
5
|
+
* OpenAPI Specification of catapult-rest
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.5
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import * as runtime from '../runtime';
|
|
15
|
+
import { BlockInfoDTOFromJSON, BlockPageFromJSON, MerkleProofInfoDTOFromJSON, } from '../models/index';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export class BlockRoutesApi extends runtime.BaseAPI {
|
|
20
|
+
/**
|
|
21
|
+
* Returns the block at the given height. The response includes the block header, harvester signature, and block metadata (hash, total fee, generation hash, transaction and statement counts). If the block is an importance block, the response additionally contains voting-eligible and harvesting-eligible account counts, total voting balance, and the previous importance block hash.
|
|
22
|
+
* Get block information
|
|
23
|
+
*/
|
|
24
|
+
async getBlockByHeightRaw(requestParameters, initOverrides) {
|
|
25
|
+
if (requestParameters['height'] == null) {
|
|
26
|
+
throw new runtime.RequiredError('height', 'Required parameter "height" was null or undefined when calling getBlockByHeight().');
|
|
27
|
+
}
|
|
28
|
+
const queryParameters = {};
|
|
29
|
+
const headerParameters = {};
|
|
30
|
+
let urlPath = `/blocks/{height}`;
|
|
31
|
+
urlPath = urlPath.replace(`{${"height"}}`, encodeURIComponent(String(requestParameters['height'])));
|
|
32
|
+
const response = await this.request({
|
|
33
|
+
path: urlPath,
|
|
34
|
+
method: 'GET',
|
|
35
|
+
headers: headerParameters,
|
|
36
|
+
query: queryParameters,
|
|
37
|
+
}, initOverrides);
|
|
38
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => BlockInfoDTOFromJSON(jsonValue));
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Returns the block at the given height. The response includes the block header, harvester signature, and block metadata (hash, total fee, generation hash, transaction and statement counts). If the block is an importance block, the response additionally contains voting-eligible and harvesting-eligible account counts, total voting balance, and the previous importance block hash.
|
|
42
|
+
* Get block information
|
|
43
|
+
*/
|
|
44
|
+
async getBlockByHeight(requestParameters, initOverrides) {
|
|
45
|
+
const response = await this.getBlockByHeightRaw(requestParameters, initOverrides);
|
|
46
|
+
return await response.value();
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns the [Merkle path](https://docs.symbol.dev/concepts/data-validation.html#merkle-proof) for a [receipt statement or resolution](https://docs.symbol.dev/concepts/receipt.html) linked to a block. The `hash` parameter is the receipt statement hash, not the transaction hash. The Merkle path is the minimum number of nodes needed to calculate the Merkle root. Steps to calculate the Merkle root: 1. proofHash = hash (leaf). 2. Concatenate proofHash with the first unprocessed item from the merklePath list as follows: - `left`: the item hash is concatenated before the proofHash (proofHash = sha_256(item.hash + proofHash)). - `right`: the item hash is concatenated after the proofHash (proofHash = sha_256(proofHash + item.hash)). 3. Repeat 2. for every item in the merklePath list. 4. Compare if the calculated proofHash equals the one recorded in the [block header](https://docs.symbol.dev/concepts/block.html) (`block.receiptsHash`) to verify if the statement was linked with the block.
|
|
50
|
+
* Get the Merkle path for a given receipt statement hash and block
|
|
51
|
+
*/
|
|
52
|
+
async getMerkleReceiptsRaw(requestParameters, initOverrides) {
|
|
53
|
+
if (requestParameters['height'] == null) {
|
|
54
|
+
throw new runtime.RequiredError('height', 'Required parameter "height" was null or undefined when calling getMerkleReceipts().');
|
|
55
|
+
}
|
|
56
|
+
if (requestParameters['hash'] == null) {
|
|
57
|
+
throw new runtime.RequiredError('hash', 'Required parameter "hash" was null or undefined when calling getMerkleReceipts().');
|
|
58
|
+
}
|
|
59
|
+
const queryParameters = {};
|
|
60
|
+
const headerParameters = {};
|
|
61
|
+
let urlPath = `/blocks/{height}/statements/{hash}/merkle`;
|
|
62
|
+
urlPath = urlPath.replace(`{${"height"}}`, encodeURIComponent(String(requestParameters['height'])));
|
|
63
|
+
urlPath = urlPath.replace(`{${"hash"}}`, encodeURIComponent(String(requestParameters['hash'])));
|
|
64
|
+
const response = await this.request({
|
|
65
|
+
path: urlPath,
|
|
66
|
+
method: 'GET',
|
|
67
|
+
headers: headerParameters,
|
|
68
|
+
query: queryParameters,
|
|
69
|
+
}, initOverrides);
|
|
70
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MerkleProofInfoDTOFromJSON(jsonValue));
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Returns the [Merkle path](https://docs.symbol.dev/concepts/data-validation.html#merkle-proof) for a [receipt statement or resolution](https://docs.symbol.dev/concepts/receipt.html) linked to a block. The `hash` parameter is the receipt statement hash, not the transaction hash. The Merkle path is the minimum number of nodes needed to calculate the Merkle root. Steps to calculate the Merkle root: 1. proofHash = hash (leaf). 2. Concatenate proofHash with the first unprocessed item from the merklePath list as follows: - `left`: the item hash is concatenated before the proofHash (proofHash = sha_256(item.hash + proofHash)). - `right`: the item hash is concatenated after the proofHash (proofHash = sha_256(proofHash + item.hash)). 3. Repeat 2. for every item in the merklePath list. 4. Compare if the calculated proofHash equals the one recorded in the [block header](https://docs.symbol.dev/concepts/block.html) (`block.receiptsHash`) to verify if the statement was linked with the block.
|
|
74
|
+
* Get the Merkle path for a given receipt statement hash and block
|
|
75
|
+
*/
|
|
76
|
+
async getMerkleReceipts(requestParameters, initOverrides) {
|
|
77
|
+
const response = await this.getMerkleReceiptsRaw(requestParameters, initOverrides);
|
|
78
|
+
return await response.value();
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Returns the [Merkle path](https://docs.symbol.dev/concepts/data-validation.html#merkle-proof) for a [transaction](https://docs.symbol.dev/concepts/transaction.html) included in a block. The Merkle path is the minimum number of nodes needed to calculate the Merkle root. Steps to calculate the Merkle root: 1. proofHash = hash (leaf). 2. Concatenate proofHash with the first unprocessed item from the merklePath list as follows: - `left`: the item hash is concatenated before the proofHash (proofHash = sha_256(item.hash + proofHash)). - `right`: the item hash is concatenated after the proofHash (proofHash = sha_256(proofHash + item.hash)). 3. Repeat 2. for every item in the merklePath list. 4. Compare if the calculated proofHash equals the one recorded in the [block header](https://docs.symbol.dev/concepts/block.html) (`block.transactionsHash`) to verify if the transaction was included in the block.
|
|
82
|
+
* Get the Merkle path for a given transaction and block
|
|
83
|
+
*/
|
|
84
|
+
async getMerkleTransactionRaw(requestParameters, initOverrides) {
|
|
85
|
+
if (requestParameters['height'] == null) {
|
|
86
|
+
throw new runtime.RequiredError('height', 'Required parameter "height" was null or undefined when calling getMerkleTransaction().');
|
|
87
|
+
}
|
|
88
|
+
if (requestParameters['hash'] == null) {
|
|
89
|
+
throw new runtime.RequiredError('hash', 'Required parameter "hash" was null or undefined when calling getMerkleTransaction().');
|
|
90
|
+
}
|
|
91
|
+
const queryParameters = {};
|
|
92
|
+
const headerParameters = {};
|
|
93
|
+
let urlPath = `/blocks/{height}/transactions/{hash}/merkle`;
|
|
94
|
+
urlPath = urlPath.replace(`{${"height"}}`, encodeURIComponent(String(requestParameters['height'])));
|
|
95
|
+
urlPath = urlPath.replace(`{${"hash"}}`, encodeURIComponent(String(requestParameters['hash'])));
|
|
96
|
+
const response = await this.request({
|
|
97
|
+
path: urlPath,
|
|
98
|
+
method: 'GET',
|
|
99
|
+
headers: headerParameters,
|
|
100
|
+
query: queryParameters,
|
|
101
|
+
}, initOverrides);
|
|
102
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MerkleProofInfoDTOFromJSON(jsonValue));
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Returns the [Merkle path](https://docs.symbol.dev/concepts/data-validation.html#merkle-proof) for a [transaction](https://docs.symbol.dev/concepts/transaction.html) included in a block. The Merkle path is the minimum number of nodes needed to calculate the Merkle root. Steps to calculate the Merkle root: 1. proofHash = hash (leaf). 2. Concatenate proofHash with the first unprocessed item from the merklePath list as follows: - `left`: the item hash is concatenated before the proofHash (proofHash = sha_256(item.hash + proofHash)). - `right`: the item hash is concatenated after the proofHash (proofHash = sha_256(proofHash + item.hash)). 3. Repeat 2. for every item in the merklePath list. 4. Compare if the calculated proofHash equals the one recorded in the [block header](https://docs.symbol.dev/concepts/block.html) (`block.transactionsHash`) to verify if the transaction was included in the block.
|
|
106
|
+
* Get the Merkle path for a given transaction and block
|
|
107
|
+
*/
|
|
108
|
+
async getMerkleTransaction(requestParameters, initOverrides) {
|
|
109
|
+
const response = await this.getMerkleTransactionRaw(requestParameters, initOverrides);
|
|
110
|
+
return await response.value();
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Returns a paginated list of blocks matching the given criteria. Results can be filtered by harvester (`signerPublicKey`), `beneficiaryAddress`, and timestamp range. Standard pagination parameters (`pageSize`, `pageNumber`, `offset`, `order`) apply. The `orderBy` parameter supports `id` and `height`. The `offset` value must match the `orderBy` field.
|
|
114
|
+
* Search blocks
|
|
115
|
+
*/
|
|
116
|
+
async searchBlocksRaw(requestParameters, initOverrides) {
|
|
117
|
+
const queryParameters = {};
|
|
118
|
+
if (requestParameters['signerPublicKey'] != null) {
|
|
119
|
+
queryParameters['signerPublicKey'] = requestParameters['signerPublicKey'];
|
|
120
|
+
}
|
|
121
|
+
if (requestParameters['beneficiaryAddress'] != null) {
|
|
122
|
+
queryParameters['beneficiaryAddress'] = requestParameters['beneficiaryAddress'];
|
|
123
|
+
}
|
|
124
|
+
if (requestParameters['pageSize'] != null) {
|
|
125
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
126
|
+
}
|
|
127
|
+
if (requestParameters['pageNumber'] != null) {
|
|
128
|
+
queryParameters['pageNumber'] = requestParameters['pageNumber'];
|
|
129
|
+
}
|
|
130
|
+
if (requestParameters['offset'] != null) {
|
|
131
|
+
queryParameters['offset'] = requestParameters['offset'];
|
|
132
|
+
}
|
|
133
|
+
if (requestParameters['order'] != null) {
|
|
134
|
+
queryParameters['order'] = requestParameters['order'];
|
|
135
|
+
}
|
|
136
|
+
if (requestParameters['orderBy'] != null) {
|
|
137
|
+
queryParameters['orderBy'] = requestParameters['orderBy'];
|
|
138
|
+
}
|
|
139
|
+
if (requestParameters['fromTimestamp'] != null) {
|
|
140
|
+
queryParameters['fromTimestamp'] = requestParameters['fromTimestamp'];
|
|
141
|
+
}
|
|
142
|
+
if (requestParameters['toTimestamp'] != null) {
|
|
143
|
+
queryParameters['toTimestamp'] = requestParameters['toTimestamp'];
|
|
144
|
+
}
|
|
145
|
+
const headerParameters = {};
|
|
146
|
+
let urlPath = `/blocks`;
|
|
147
|
+
const response = await this.request({
|
|
148
|
+
path: urlPath,
|
|
149
|
+
method: 'GET',
|
|
150
|
+
headers: headerParameters,
|
|
151
|
+
query: queryParameters,
|
|
152
|
+
}, initOverrides);
|
|
153
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => BlockPageFromJSON(jsonValue));
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Returns a paginated list of blocks matching the given criteria. Results can be filtered by harvester (`signerPublicKey`), `beneficiaryAddress`, and timestamp range. Standard pagination parameters (`pageSize`, `pageNumber`, `offset`, `order`) apply. The `orderBy` parameter supports `id` and `height`. The `offset` value must match the `orderBy` field.
|
|
157
|
+
* Search blocks
|
|
158
|
+
*/
|
|
159
|
+
async searchBlocks(requestParameters = {}, initOverrides) {
|
|
160
|
+
const response = await this.searchBlocksRaw(requestParameters, initOverrides);
|
|
161
|
+
return await response.value();
|
|
162
|
+
}
|
|
163
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Catapult REST Endpoints
|
|
3
|
+
* OpenAPI Specification of catapult-rest
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.5
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { ChainInfoDTO } from '../models/index';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export declare class ChainRoutesApi extends runtime.BaseAPI {
|
|
18
|
+
/**
|
|
19
|
+
* Returns the current state of the blockchain: chain height, chain score, and the latest finalized block.
|
|
20
|
+
* Get chain information
|
|
21
|
+
*/
|
|
22
|
+
getChainInfoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ChainInfoDTO>>;
|
|
23
|
+
/**
|
|
24
|
+
* Returns the current state of the blockchain: chain height, chain score, and the latest finalized block.
|
|
25
|
+
* Get chain information
|
|
26
|
+
*/
|
|
27
|
+
getChainInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ChainInfoDTO>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Catapult REST Endpoints
|
|
5
|
+
* OpenAPI Specification of catapult-rest
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.5
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import * as runtime from '../runtime';
|
|
15
|
+
import { ChainInfoDTOFromJSON, } from '../models/index';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export class ChainRoutesApi extends runtime.BaseAPI {
|
|
20
|
+
/**
|
|
21
|
+
* Returns the current state of the blockchain: chain height, chain score, and the latest finalized block.
|
|
22
|
+
* Get chain information
|
|
23
|
+
*/
|
|
24
|
+
async getChainInfoRaw(initOverrides) {
|
|
25
|
+
const queryParameters = {};
|
|
26
|
+
const headerParameters = {};
|
|
27
|
+
let urlPath = `/chain/info`;
|
|
28
|
+
const response = await this.request({
|
|
29
|
+
path: urlPath,
|
|
30
|
+
method: 'GET',
|
|
31
|
+
headers: headerParameters,
|
|
32
|
+
query: queryParameters,
|
|
33
|
+
}, initOverrides);
|
|
34
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ChainInfoDTOFromJSON(jsonValue));
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Returns the current state of the blockchain: chain height, chain score, and the latest finalized block.
|
|
38
|
+
* Get chain information
|
|
39
|
+
*/
|
|
40
|
+
async getChainInfo(initOverrides) {
|
|
41
|
+
const response = await this.getChainInfoRaw(initOverrides);
|
|
42
|
+
return await response.value();
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Catapult REST Endpoints
|
|
3
|
+
* OpenAPI Specification of catapult-rest
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.5
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { FinalizationProofDTO } from '../models/index';
|
|
14
|
+
export interface GetFinalizationProofAtEpochRequest {
|
|
15
|
+
epoch: number;
|
|
16
|
+
}
|
|
17
|
+
export interface GetFinalizationProofAtHeightRequest {
|
|
18
|
+
height: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export declare class FinalizationRoutesApi extends runtime.BaseAPI {
|
|
24
|
+
/**
|
|
25
|
+
* Returns the finalization proof for the greatest block height associated with the given finalization epoch.
|
|
26
|
+
* Get finalization proof at epoch
|
|
27
|
+
*/
|
|
28
|
+
getFinalizationProofAtEpochRaw(requestParameters: GetFinalizationProofAtEpochRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FinalizationProofDTO>>;
|
|
29
|
+
/**
|
|
30
|
+
* Returns the finalization proof for the greatest block height associated with the given finalization epoch.
|
|
31
|
+
* Get finalization proof at epoch
|
|
32
|
+
*/
|
|
33
|
+
getFinalizationProofAtEpoch(requestParameters: GetFinalizationProofAtEpochRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FinalizationProofDTO>;
|
|
34
|
+
/**
|
|
35
|
+
* Returns the finalization proof for the block at the given height.
|
|
36
|
+
* Get finalization proof at height
|
|
37
|
+
*/
|
|
38
|
+
getFinalizationProofAtHeightRaw(requestParameters: GetFinalizationProofAtHeightRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FinalizationProofDTO>>;
|
|
39
|
+
/**
|
|
40
|
+
* Returns the finalization proof for the block at the given height.
|
|
41
|
+
* Get finalization proof at height
|
|
42
|
+
*/
|
|
43
|
+
getFinalizationProofAtHeight(requestParameters: GetFinalizationProofAtHeightRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FinalizationProofDTO>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Catapult REST Endpoints
|
|
5
|
+
* OpenAPI Specification of catapult-rest
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.5
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import * as runtime from '../runtime';
|
|
15
|
+
import { FinalizationProofDTOFromJSON, } from '../models/index';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export class FinalizationRoutesApi extends runtime.BaseAPI {
|
|
20
|
+
/**
|
|
21
|
+
* Returns the finalization proof for the greatest block height associated with the given finalization epoch.
|
|
22
|
+
* Get finalization proof at epoch
|
|
23
|
+
*/
|
|
24
|
+
async getFinalizationProofAtEpochRaw(requestParameters, initOverrides) {
|
|
25
|
+
if (requestParameters['epoch'] == null) {
|
|
26
|
+
throw new runtime.RequiredError('epoch', 'Required parameter "epoch" was null or undefined when calling getFinalizationProofAtEpoch().');
|
|
27
|
+
}
|
|
28
|
+
const queryParameters = {};
|
|
29
|
+
const headerParameters = {};
|
|
30
|
+
let urlPath = `/finalization/proof/epoch/{epoch}`;
|
|
31
|
+
urlPath = urlPath.replace(`{${"epoch"}}`, encodeURIComponent(String(requestParameters['epoch'])));
|
|
32
|
+
const response = await this.request({
|
|
33
|
+
path: urlPath,
|
|
34
|
+
method: 'GET',
|
|
35
|
+
headers: headerParameters,
|
|
36
|
+
query: queryParameters,
|
|
37
|
+
}, initOverrides);
|
|
38
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => FinalizationProofDTOFromJSON(jsonValue));
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Returns the finalization proof for the greatest block height associated with the given finalization epoch.
|
|
42
|
+
* Get finalization proof at epoch
|
|
43
|
+
*/
|
|
44
|
+
async getFinalizationProofAtEpoch(requestParameters, initOverrides) {
|
|
45
|
+
const response = await this.getFinalizationProofAtEpochRaw(requestParameters, initOverrides);
|
|
46
|
+
return await response.value();
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns the finalization proof for the block at the given height.
|
|
50
|
+
* Get finalization proof at height
|
|
51
|
+
*/
|
|
52
|
+
async getFinalizationProofAtHeightRaw(requestParameters, initOverrides) {
|
|
53
|
+
if (requestParameters['height'] == null) {
|
|
54
|
+
throw new runtime.RequiredError('height', 'Required parameter "height" was null or undefined when calling getFinalizationProofAtHeight().');
|
|
55
|
+
}
|
|
56
|
+
const queryParameters = {};
|
|
57
|
+
const headerParameters = {};
|
|
58
|
+
let urlPath = `/finalization/proof/height/{height}`;
|
|
59
|
+
urlPath = urlPath.replace(`{${"height"}}`, encodeURIComponent(String(requestParameters['height'])));
|
|
60
|
+
const response = await this.request({
|
|
61
|
+
path: urlPath,
|
|
62
|
+
method: 'GET',
|
|
63
|
+
headers: headerParameters,
|
|
64
|
+
query: queryParameters,
|
|
65
|
+
}, initOverrides);
|
|
66
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => FinalizationProofDTOFromJSON(jsonValue));
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Returns the finalization proof for the block at the given height.
|
|
70
|
+
* Get finalization proof at height
|
|
71
|
+
*/
|
|
72
|
+
async getFinalizationProofAtHeight(requestParameters, initOverrides) {
|
|
73
|
+
const response = await this.getFinalizationProofAtHeightRaw(requestParameters, initOverrides);
|
|
74
|
+
return await response.value();
|
|
75
|
+
}
|
|
76
|
+
}
|