@nemtus/symbol-rest-api-client-fetch 1.0.1 → 1.0.3
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/cjs/api/apis/AccountRoutesApi.d.ts +94 -1
- package/cjs/api/apis/AccountRoutesApi.js +67 -28
- package/cjs/api/apis/BlockRoutesApi.d.ts +94 -1
- package/cjs/api/apis/BlockRoutesApi.js +68 -30
- package/cjs/api/apis/ChainRoutesApi.d.ts +5 -1
- package/cjs/api/apis/ChainRoutesApi.js +16 -7
- package/cjs/api/apis/FinalizationRoutesApi.d.ts +17 -1
- package/cjs/api/apis/FinalizationRoutesApi.js +33 -15
- package/cjs/api/apis/HashLockRoutesApi.d.ts +126 -1
- package/cjs/api/apis/HashLockRoutesApi.js +83 -35
- package/cjs/api/apis/MetadataRoutesApi.d.ts +107 -3
- package/cjs/api/apis/MetadataRoutesApi.js +82 -34
- package/cjs/api/apis/MosaicRoutesApi.d.ts +71 -1
- package/cjs/api/apis/MosaicRoutesApi.js +67 -28
- package/cjs/api/apis/MultisigRoutesApi.d.ts +24 -1
- package/cjs/api/apis/MultisigRoutesApi.js +51 -22
- package/cjs/api/apis/NamespaceRoutesApi.d.ts +108 -1
- package/cjs/api/apis/NamespaceRoutesApi.js +104 -42
- package/cjs/api/apis/NetworkRoutesApi.d.ts +44 -1
- package/cjs/api/apis/NetworkRoutesApi.js +138 -53
- package/cjs/api/apis/NodeRoutesApi.d.ts +38 -1
- package/cjs/api/apis/NodeRoutesApi.js +125 -48
- package/cjs/api/apis/ReceiptRoutesApi.d.ts +171 -1
- package/cjs/api/apis/ReceiptRoutesApi.js +47 -19
- package/cjs/api/apis/RestrictionAccountRoutesApi.d.ts +81 -1
- package/cjs/api/apis/RestrictionAccountRoutesApi.js +67 -28
- package/cjs/api/apis/RestrictionMosaicRoutesApi.d.ts +78 -1
- package/cjs/api/apis/RestrictionMosaicRoutesApi.js +67 -28
- package/cjs/api/apis/SecretLockRoutesApi.d.ts +132 -1
- package/cjs/api/apis/SecretLockRoutesApi.js +83 -35
- package/cjs/api/apis/TransactionRoutesApi.d.ts +416 -1
- package/cjs/api/apis/TransactionRoutesApi.js +195 -82
- package/cjs/api/apis/TransactionStatusRoutesApi.d.ts +16 -1
- package/cjs/api/apis/TransactionStatusRoutesApi.js +34 -15
- package/cjs/api/models/AccountAddressRestrictionTransactionBodyDTO.d.ts +1 -7
- package/cjs/api/models/AccountAddressRestrictionTransactionDTO.d.ts +7 -41
- package/cjs/api/models/AccountDTO.d.ts +4 -32
- package/cjs/api/models/AccountIds.d.ts +1 -5
- package/cjs/api/models/AccountInfoDTO.d.ts +1 -5
- package/cjs/api/models/AccountKeyLinkNetworkPropertiesDTO.d.ts +1 -3
- package/cjs/api/models/AccountKeyLinkTransactionBodyDTO.d.ts +1 -5
- package/cjs/api/models/AccountKeyLinkTransactionDTO.d.ts +7 -39
- package/cjs/api/models/AccountLinkPublicKeyDTO.d.ts +1 -3
- package/cjs/api/models/AccountLinkVotingKeyDTO.d.ts +3 -15
- package/cjs/api/models/AccountLinkVotingKeysDTO.d.ts +1 -3
- package/cjs/api/models/AccountMetadataTransactionBodyDTO.d.ts +1 -11
- package/cjs/api/models/AccountMetadataTransactionDTO.d.ts +7 -45
- package/cjs/api/models/AccountMosaicRestrictionTransactionBodyDTO.d.ts +1 -7
- package/cjs/api/models/AccountMosaicRestrictionTransactionDTO.d.ts +7 -41
- package/cjs/api/models/AccountNamesDTO.d.ts +2 -8
- package/cjs/api/models/AccountOperationRestrictionTransactionBodyDTO.d.ts +1 -7
- package/cjs/api/models/AccountOperationRestrictionTransactionDTO.d.ts +7 -41
- package/cjs/api/models/AccountOrderByEnum.js +1 -1
- package/cjs/api/models/AccountPage.d.ts +1 -5
- package/cjs/api/models/AccountRestrictionDTO.d.ts +1 -5
- package/cjs/api/models/AccountRestrictionDTOValuesInner.d.ts +1 -1
- package/cjs/api/models/AccountRestrictionFlagsEnum.js +1 -1
- package/cjs/api/models/AccountRestrictionNetworkPropertiesDTO.d.ts +1 -3
- package/cjs/api/models/AccountRestrictionsDTO.d.ts +1 -7
- package/cjs/api/models/AccountRestrictionsInfoDTO.d.ts +1 -3
- package/cjs/api/models/AccountRestrictionsPage.d.ts +1 -5
- package/cjs/api/models/AccountTypeEnum.js +1 -1
- package/cjs/api/models/AccountsNamesDTO.d.ts +1 -3
- package/cjs/api/models/ActivityBucketDTO.d.ts +13 -25
- package/cjs/api/models/AddressAliasTransactionBodyDTO.d.ts +1 -7
- package/cjs/api/models/AddressAliasTransactionDTO.d.ts +7 -41
- package/cjs/api/models/Addresses.d.ts +1 -3
- package/cjs/api/models/AggregateNetworkPropertiesDTO.d.ts +1 -11
- package/cjs/api/models/AggregateTransactionBodyDTO.d.ts +1 -5
- package/cjs/api/models/AggregateTransactionBodyExtendedDTO.d.ts +1 -7
- package/cjs/api/models/AggregateTransactionDTO.d.ts +7 -39
- package/cjs/api/models/AggregateTransactionExtendedDTO.d.ts +7 -41
- package/cjs/api/models/AliasActionEnum.js +1 -1
- package/cjs/api/models/AliasDTO.d.ts +3 -14
- package/cjs/api/models/AliasTypeEnum.js +1 -1
- package/cjs/api/models/AnnounceTransactionInfoDTO.d.ts +1 -3
- package/cjs/api/models/BalanceChangeReceiptDTO.d.ts +4 -23
- package/cjs/api/models/BalanceTransferReceiptDTO.d.ts +5 -28
- package/cjs/api/models/BlockDTO.d.ts +8 -45
- package/cjs/api/models/BlockInfoDTO.d.ts +1 -7
- package/cjs/api/models/BlockInfoDTOBlock.d.ts +12 -64
- package/cjs/api/models/BlockMetaDTO.d.ts +2 -20
- package/cjs/api/models/BlockOrderByEnum.js +1 -1
- package/cjs/api/models/BlockPage.d.ts +1 -5
- package/cjs/api/models/BmTreeSignature.d.ts +1 -5
- package/cjs/api/models/BsonLongDTO.d.ts +1 -7
- package/cjs/api/models/ChainInfoDTO.d.ts +5 -16
- package/cjs/api/models/ChainPropertiesDTO.d.ts +3 -71
- package/cjs/api/models/CommunicationTimestampsDTO.d.ts +4 -26
- package/cjs/api/models/CompositeHashes.d.ts +1 -3
- package/cjs/api/models/Cosignature.d.ts +3 -11
- package/cjs/api/models/CosignatureDTO.d.ts +1 -7
- package/cjs/api/models/DeploymentDTO.d.ts +1 -7
- package/cjs/api/models/EmbeddedAccountAddressRestrictionTransactionDTO.d.ts +2 -16
- package/cjs/api/models/EmbeddedAccountKeyLinkTransactionDTO.d.ts +2 -14
- package/cjs/api/models/EmbeddedAccountMetadataTransactionDTO.d.ts +2 -20
- package/cjs/api/models/EmbeddedAccountMosaicRestrictionTransactionDTO.d.ts +2 -16
- package/cjs/api/models/EmbeddedAccountOperationRestrictionTransactionDTO.d.ts +2 -16
- package/cjs/api/models/EmbeddedAddressAliasTransactionDTO.d.ts +2 -16
- package/cjs/api/models/EmbeddedHashLockTransactionDTO.d.ts +2 -18
- package/cjs/api/models/EmbeddedMosaicAddressRestrictionTransactionDTO.d.ts +2 -20
- package/cjs/api/models/EmbeddedMosaicAliasTransactionDTO.d.ts +2 -16
- package/cjs/api/models/EmbeddedMosaicDefinitionTransactionDTO.d.ts +3 -23
- package/cjs/api/models/EmbeddedMosaicGlobalRestrictionTransactionDTO.d.ts +2 -24
- package/cjs/api/models/EmbeddedMosaicMetadataTransactionDTO.d.ts +2 -22
- package/cjs/api/models/EmbeddedMosaicSupplyChangeTransactionDTO.d.ts +2 -16
- package/cjs/api/models/EmbeddedMosaicSupplyRevocationTransactionDTO.d.ts +2 -16
- package/cjs/api/models/EmbeddedMultisigAccountModificationTransactionDTO.d.ts +2 -18
- package/cjs/api/models/EmbeddedNamespaceMetadataTransactionDTO.d.ts +2 -22
- package/cjs/api/models/EmbeddedNamespaceRegistrationTransactionDTO.d.ts +2 -20
- package/cjs/api/models/EmbeddedNodeKeyLinkTransactionDTO.d.ts +2 -14
- package/cjs/api/models/EmbeddedSecretLockTransactionDTO.d.ts +2 -22
- package/cjs/api/models/EmbeddedSecretProofTransactionDTO.d.ts +2 -18
- package/cjs/api/models/EmbeddedTransactionBodyDTO.d.ts +1 -3
- package/cjs/api/models/EmbeddedTransactionDTO.d.ts +2 -10
- package/cjs/api/models/EmbeddedTransactionInfoDTO.d.ts +1 -7
- package/cjs/api/models/EmbeddedTransactionInfoDTOTransaction.d.ts +3 -107
- package/cjs/api/models/EmbeddedTransactionMetaDTO.d.ts +8 -43
- package/cjs/api/models/EmbeddedTransferTransactionDTO.d.ts +2 -16
- package/cjs/api/models/EmbeddedVotingKeyLinkTransactionDTO.d.ts +2 -18
- package/cjs/api/models/EmbeddedVrfKeyLinkTransactionDTO.d.ts +2 -14
- package/cjs/api/models/EntityDTO.d.ts +2 -10
- package/cjs/api/models/FinalizationProofDTO.d.ts +1 -13
- package/cjs/api/models/FinalizedBlockDTO.d.ts +1 -9
- package/cjs/api/models/ForkHeightsDTO.d.ts +1 -15
- package/cjs/api/models/HashLockEntryDTO.d.ts +6 -31
- package/cjs/api/models/HashLockInfoDTO.d.ts +1 -5
- package/cjs/api/models/HashLockNetworkPropertiesDTO.d.ts +1 -5
- package/cjs/api/models/HashLockPage.d.ts +1 -5
- package/cjs/api/models/HashLockTransactionBodyDTO.d.ts +1 -9
- package/cjs/api/models/HashLockTransactionDTO.d.ts +7 -43
- package/cjs/api/models/ImportanceBlockDTO.d.ts +12 -64
- package/cjs/api/models/InflationReceiptDTO.d.ts +3 -18
- package/cjs/api/models/LinkActionEnum.js +1 -1
- package/cjs/api/models/LockHashAlgorithmEnum.js +1 -1
- package/cjs/api/models/LockStatus.js +1 -1
- package/cjs/api/models/MerklePathItemDTO.d.ts +2 -6
- package/cjs/api/models/MerkleProofInfoDTO.d.ts +1 -3
- package/cjs/api/models/MerkleStateInfoDTO.d.ts +1 -5
- package/cjs/api/models/MerkleStateInfoDTOTreeInner.d.ts +3 -21
- package/cjs/api/models/MerkleTreeBranchDTO.d.ts +2 -16
- package/cjs/api/models/MerkleTreeBranchLinkDTO.d.ts +2 -6
- package/cjs/api/models/MerkleTreeLeafDTO.d.ts +2 -14
- package/cjs/api/models/MerkleTreeNodeTypeEnum.js +1 -1
- package/cjs/api/models/MessageGroup.d.ts +2 -12
- package/cjs/api/models/MetadataEntryDTO.d.ts +7 -25
- package/cjs/api/models/MetadataEntryDTOTargetId.d.ts +1 -1
- package/cjs/api/models/MetadataInfoDTO.d.ts +1 -5
- package/cjs/api/models/MetadataNetworkPropertiesDTO.d.ts +1 -3
- package/cjs/api/models/MetadataPage.d.ts +1 -5
- package/cjs/api/models/MetadataTypeEnum.js +1 -1
- package/cjs/api/models/ModelError.d.ts +1 -5
- package/cjs/api/models/Mosaic.d.ts +1 -5
- package/cjs/api/models/MosaicAddressRestrictionDTO.d.ts +1 -5
- package/cjs/api/models/MosaicAddressRestrictionEntryDTO.d.ts +1 -5
- package/cjs/api/models/MosaicAddressRestrictionEntryWrapperDTO.d.ts +4 -21
- package/cjs/api/models/MosaicAddressRestrictionTransactionBodyDTO.d.ts +1 -11
- package/cjs/api/models/MosaicAddressRestrictionTransactionDTO.d.ts +7 -45
- package/cjs/api/models/MosaicAliasTransactionBodyDTO.d.ts +1 -7
- package/cjs/api/models/MosaicAliasTransactionDTO.d.ts +7 -41
- package/cjs/api/models/MosaicDTO.d.ts +7 -33
- package/cjs/api/models/MosaicDefinitionTransactionBodyDTO.d.ts +2 -14
- package/cjs/api/models/MosaicDefinitionTransactionDTO.d.ts +8 -48
- package/cjs/api/models/MosaicExpiryReceiptDTO.d.ts +2 -11
- package/cjs/api/models/MosaicGlobalRestrictionDTO.d.ts +1 -5
- package/cjs/api/models/MosaicGlobalRestrictionEntryDTO.d.ts +1 -5
- package/cjs/api/models/MosaicGlobalRestrictionEntryRestrictionDTO.d.ts +4 -10
- package/cjs/api/models/MosaicGlobalRestrictionEntryWrapperDTO.d.ts +3 -16
- package/cjs/api/models/MosaicGlobalRestrictionTransactionBodyDTO.d.ts +1 -15
- package/cjs/api/models/MosaicGlobalRestrictionTransactionDTO.d.ts +7 -49
- package/cjs/api/models/MosaicIds.d.ts +1 -3
- package/cjs/api/models/MosaicInfoDTO.d.ts +1 -5
- package/cjs/api/models/MosaicMetadataTransactionBodyDTO.d.ts +1 -13
- package/cjs/api/models/MosaicMetadataTransactionDTO.d.ts +7 -47
- package/cjs/api/models/MosaicNamesDTO.d.ts +2 -9
- package/cjs/api/models/MosaicNetworkPropertiesDTO.d.ts +5 -27
- package/cjs/api/models/MosaicPage.d.ts +1 -5
- package/cjs/api/models/MosaicRestrictionDTO.d.ts +1 -5
- package/cjs/api/models/MosaicRestrictionEntryTypeEnum.js +1 -1
- package/cjs/api/models/MosaicRestrictionNetworkPropertiesDTO.d.ts +1 -3
- package/cjs/api/models/MosaicRestrictionTypeEnum.js +1 -1
- package/cjs/api/models/MosaicRestrictionsPage.d.ts +1 -5
- package/cjs/api/models/MosaicRestrictionsPageDataInner.d.ts +1 -5
- package/cjs/api/models/MosaicSupplyChangeActionEnum.js +1 -1
- package/cjs/api/models/MosaicSupplyChangeTransactionBodyDTO.d.ts +1 -7
- package/cjs/api/models/MosaicSupplyChangeTransactionDTO.d.ts +7 -41
- package/cjs/api/models/MosaicSupplyRevocationTransactionBodyDTO.d.ts +1 -7
- package/cjs/api/models/MosaicSupplyRevocationTransactionDTO.d.ts +7 -41
- package/cjs/api/models/MosaicsNamesDTO.d.ts +1 -3
- package/cjs/api/models/MultisigAccountGraphInfoDTO.d.ts +1 -5
- package/cjs/api/models/MultisigAccountInfoDTO.d.ts +1 -3
- package/cjs/api/models/MultisigAccountModificationTransactionBodyDTO.d.ts +1 -9
- package/cjs/api/models/MultisigAccountModificationTransactionDTO.d.ts +7 -43
- package/cjs/api/models/MultisigDTO.d.ts +3 -19
- package/cjs/api/models/MultisigNetworkPropertiesDTO.d.ts +1 -7
- package/cjs/api/models/NamespaceDTO.d.ts +8 -48
- package/cjs/api/models/NamespaceExpiryReceiptDTO.d.ts +2 -11
- package/cjs/api/models/NamespaceIds.d.ts +1 -3
- package/cjs/api/models/NamespaceInfoDTO.d.ts +1 -7
- package/cjs/api/models/NamespaceMetaDTO.d.ts +1 -5
- package/cjs/api/models/NamespaceMetadataTransactionBodyDTO.d.ts +1 -13
- package/cjs/api/models/NamespaceMetadataTransactionDTO.d.ts +7 -47
- package/cjs/api/models/NamespaceNameDTO.d.ts +3 -15
- package/cjs/api/models/NamespaceNetworkPropertiesDTO.d.ts +5 -43
- package/cjs/api/models/NamespacePage.d.ts +1 -5
- package/cjs/api/models/NamespaceRegistrationTransactionBodyDTO.d.ts +1 -11
- package/cjs/api/models/NamespaceRegistrationTransactionDTO.d.ts +7 -45
- package/cjs/api/models/NamespaceRegistrationTypeEnum.js +1 -1
- package/cjs/api/models/NetworkConfigurationDTO.d.ts +1 -13
- package/cjs/api/models/NetworkInflationDTO.d.ts +3 -13
- package/cjs/api/models/NetworkPropertiesDTO.d.ts +1 -11
- package/cjs/api/models/NetworkTypeDTO.d.ts +1 -5
- package/cjs/api/models/NetworkTypeDTO.js +1 -1
- package/cjs/api/models/NetworkTypeEnum.js +1 -1
- package/cjs/api/models/NodeHealthDTO.d.ts +1 -5
- package/cjs/api/models/NodeHealthInfoDTO.d.ts +1 -3
- package/cjs/api/models/NodeIdentityEqualityStrategy.js +1 -1
- package/cjs/api/models/NodeInfoDTO.d.ts +1 -19
- package/cjs/api/models/NodeKeyLinkTransactionBodyDTO.d.ts +1 -5
- package/cjs/api/models/NodeKeyLinkTransactionDTO.d.ts +7 -39
- package/cjs/api/models/NodeStatusEnum.js +1 -1
- package/cjs/api/models/NodeTimeDTO.d.ts +1 -3
- package/cjs/api/models/Order.js +1 -1
- package/cjs/api/models/Pagination.d.ts +1 -5
- package/cjs/api/models/ParentPublicKeySignaturePair.d.ts +1 -5
- package/cjs/api/models/PluginsPropertiesDTO.d.ts +1 -23
- package/cjs/api/models/PositionEnum.js +1 -1
- package/cjs/api/models/ReceiptDTO.d.ts +1 -5
- package/cjs/api/models/ReceiptTypeEnum.js +1 -1
- package/cjs/api/models/RentalFeesDTO.d.ts +4 -22
- package/cjs/api/models/ResolutionEntryDTO.d.ts +1 -5
- package/cjs/api/models/ResolutionEntryDTOResolved.d.ts +1 -1
- package/cjs/api/models/ResolutionStatementDTO.d.ts +2 -10
- package/cjs/api/models/ResolutionStatementDTOUnresolved.d.ts +1 -1
- package/cjs/api/models/ResolutionStatementInfoDTO.d.ts +1 -7
- package/cjs/api/models/ResolutionStatementPage.d.ts +1 -5
- package/cjs/api/models/SecretLockEntryDTO.d.ts +10 -40
- package/cjs/api/models/SecretLockInfoDTO.d.ts +1 -5
- package/cjs/api/models/SecretLockNetworkPropertiesDTO.d.ts +1 -7
- package/cjs/api/models/SecretLockPage.d.ts +1 -5
- package/cjs/api/models/SecretLockTransactionBodyDTO.d.ts +1 -13
- package/cjs/api/models/SecretLockTransactionDTO.d.ts +7 -47
- package/cjs/api/models/SecretProofTransactionBodyDTO.d.ts +1 -9
- package/cjs/api/models/SecretProofTransactionDTO.d.ts +7 -43
- package/cjs/api/models/ServerDTO.d.ts +1 -5
- package/cjs/api/models/ServerInfoDTO.d.ts +1 -3
- package/cjs/api/models/SizePrefixedEntityDTO.d.ts +3 -5
- package/cjs/api/models/SourceDTO.d.ts +11 -9
- package/cjs/api/models/StageEnum.js +1 -1
- package/cjs/api/models/StatementMetaDTO.d.ts +2 -14
- package/cjs/api/models/StorageInfoDTO.d.ts +1 -9
- package/cjs/api/models/StorageInfoDatabaseDTO.d.ts +1 -11
- package/cjs/api/models/SupplementalPublicKeysDTO.d.ts +1 -9
- package/cjs/api/models/TransactionBodyDTO.d.ts +4 -20
- package/cjs/api/models/TransactionDTO.d.ts +7 -35
- package/cjs/api/models/TransactionFeesDTO.d.ts +6 -76
- package/cjs/api/models/TransactionGroupEnum.js +1 -1
- package/cjs/api/models/TransactionHashes.d.ts +1 -3
- package/cjs/api/models/TransactionIds.d.ts +1 -3
- package/cjs/api/models/TransactionInfoDTO.d.ts +1 -7
- package/cjs/api/models/TransactionInfoDTOMeta.d.ts +12 -49
- package/cjs/api/models/TransactionInfoDTOTransaction.d.ts +8 -138
- package/cjs/api/models/TransactionMetaDTO.d.ts +10 -41
- package/cjs/api/models/TransactionPage.d.ts +1 -5
- package/cjs/api/models/TransactionPayload.d.ts +1 -3
- package/cjs/api/models/TransactionStatementDTO.d.ts +2 -10
- package/cjs/api/models/TransactionStatementDTOReceiptsInner.d.ts +7 -39
- package/cjs/api/models/TransactionStatementInfoDTO.d.ts +1 -7
- package/cjs/api/models/TransactionStatementPage.d.ts +1 -5
- package/cjs/api/models/TransactionStatusDTO.d.ts +4 -26
- package/cjs/api/models/TransactionStatusEnum.js +1 -1
- package/cjs/api/models/TransactionTypeEnum.js +1 -1
- package/cjs/api/models/TransferNetworkPropertiesDTO.d.ts +1 -3
- package/cjs/api/models/TransferTransactionBodyDTO.d.ts +1 -7
- package/cjs/api/models/TransferTransactionDTO.d.ts +7 -41
- package/cjs/api/models/UnlockedAccountDTO.d.ts +1 -3
- package/cjs/api/models/UnresolvedMosaic.d.ts +1 -5
- package/cjs/api/models/VerifiableEntityDTO.d.ts +1 -3
- package/cjs/api/models/VotingKeyLinkTransactionBodyDTO.d.ts +1 -9
- package/cjs/api/models/VotingKeyLinkTransactionDTO.d.ts +7 -43
- package/cjs/api/models/VrfKeyLinkTransactionBodyDTO.d.ts +1 -5
- package/cjs/api/models/VrfKeyLinkTransactionDTO.d.ts +7 -39
- package/cjs/api/runtime.d.ts +34 -1
- package/cjs/api/runtime.js +136 -4
- package/esm/api/apis/AccountRoutesApi.d.ts +94 -1
- package/esm/api/apis/AccountRoutesApi.js +54 -23
- package/esm/api/apis/BlockRoutesApi.d.ts +94 -1
- package/esm/api/apis/BlockRoutesApi.js +56 -26
- package/esm/api/apis/ChainRoutesApi.d.ts +5 -1
- package/esm/api/apis/ChainRoutesApi.js +13 -6
- package/esm/api/apis/FinalizationRoutesApi.d.ts +17 -1
- package/esm/api/apis/FinalizationRoutesApi.js +27 -13
- package/esm/api/apis/HashLockRoutesApi.d.ts +126 -1
- package/esm/api/apis/HashLockRoutesApi.js +67 -29
- package/esm/api/apis/MetadataRoutesApi.d.ts +107 -3
- package/esm/api/apis/MetadataRoutesApi.js +67 -29
- package/esm/api/apis/MosaicRoutesApi.d.ts +71 -1
- package/esm/api/apis/MosaicRoutesApi.js +54 -23
- package/esm/api/apis/MultisigRoutesApi.d.ts +24 -1
- package/esm/api/apis/MultisigRoutesApi.js +42 -19
- package/esm/api/apis/NamespaceRoutesApi.d.ts +108 -1
- package/esm/api/apis/NamespaceRoutesApi.js +83 -33
- package/esm/api/apis/NetworkRoutesApi.d.ts +44 -1
- package/esm/api/apis/NetworkRoutesApi.js +114 -47
- package/esm/api/apis/NodeRoutesApi.d.ts +38 -1
- package/esm/api/apis/NodeRoutesApi.js +102 -41
- package/esm/api/apis/ReceiptRoutesApi.d.ts +171 -1
- package/esm/api/apis/ReceiptRoutesApi.js +38 -16
- package/esm/api/apis/RestrictionAccountRoutesApi.d.ts +81 -1
- package/esm/api/apis/RestrictionAccountRoutesApi.js +54 -23
- package/esm/api/apis/RestrictionMosaicRoutesApi.d.ts +78 -1
- package/esm/api/apis/RestrictionMosaicRoutesApi.js +54 -23
- package/esm/api/apis/SecretLockRoutesApi.d.ts +132 -1
- package/esm/api/apis/SecretLockRoutesApi.js +67 -29
- package/esm/api/apis/TransactionRoutesApi.d.ts +416 -1
- package/esm/api/apis/TransactionRoutesApi.js +153 -64
- package/esm/api/apis/TransactionStatusRoutesApi.d.ts +16 -1
- package/esm/api/apis/TransactionStatusRoutesApi.js +27 -12
- package/esm/api/models/AccountAddressRestrictionTransactionBodyDTO.d.ts +1 -7
- package/esm/api/models/AccountAddressRestrictionTransactionDTO.d.ts +7 -41
- package/esm/api/models/AccountDTO.d.ts +4 -32
- package/esm/api/models/AccountIds.d.ts +1 -5
- package/esm/api/models/AccountInfoDTO.d.ts +1 -5
- package/esm/api/models/AccountKeyLinkNetworkPropertiesDTO.d.ts +1 -3
- package/esm/api/models/AccountKeyLinkTransactionBodyDTO.d.ts +1 -5
- package/esm/api/models/AccountKeyLinkTransactionDTO.d.ts +7 -39
- package/esm/api/models/AccountLinkPublicKeyDTO.d.ts +1 -3
- package/esm/api/models/AccountLinkVotingKeyDTO.d.ts +3 -15
- package/esm/api/models/AccountLinkVotingKeysDTO.d.ts +1 -3
- package/esm/api/models/AccountMetadataTransactionBodyDTO.d.ts +1 -11
- package/esm/api/models/AccountMetadataTransactionDTO.d.ts +7 -45
- package/esm/api/models/AccountMosaicRestrictionTransactionBodyDTO.d.ts +1 -7
- package/esm/api/models/AccountMosaicRestrictionTransactionDTO.d.ts +7 -41
- package/esm/api/models/AccountNamesDTO.d.ts +2 -8
- package/esm/api/models/AccountOperationRestrictionTransactionBodyDTO.d.ts +1 -7
- package/esm/api/models/AccountOperationRestrictionTransactionDTO.d.ts +7 -41
- package/esm/api/models/AccountOrderByEnum.js +1 -1
- package/esm/api/models/AccountPage.d.ts +1 -5
- package/esm/api/models/AccountRestrictionDTO.d.ts +1 -5
- package/esm/api/models/AccountRestrictionDTOValuesInner.d.ts +1 -1
- package/esm/api/models/AccountRestrictionFlagsEnum.js +1 -1
- package/esm/api/models/AccountRestrictionNetworkPropertiesDTO.d.ts +1 -3
- package/esm/api/models/AccountRestrictionsDTO.d.ts +1 -7
- package/esm/api/models/AccountRestrictionsInfoDTO.d.ts +1 -3
- package/esm/api/models/AccountRestrictionsPage.d.ts +1 -5
- package/esm/api/models/AccountTypeEnum.js +1 -1
- package/esm/api/models/AccountsNamesDTO.d.ts +1 -3
- package/esm/api/models/ActivityBucketDTO.d.ts +13 -25
- package/esm/api/models/AddressAliasTransactionBodyDTO.d.ts +1 -7
- package/esm/api/models/AddressAliasTransactionDTO.d.ts +7 -41
- package/esm/api/models/Addresses.d.ts +1 -3
- package/esm/api/models/AggregateNetworkPropertiesDTO.d.ts +1 -11
- package/esm/api/models/AggregateTransactionBodyDTO.d.ts +1 -5
- package/esm/api/models/AggregateTransactionBodyExtendedDTO.d.ts +1 -7
- package/esm/api/models/AggregateTransactionDTO.d.ts +7 -39
- package/esm/api/models/AggregateTransactionExtendedDTO.d.ts +7 -41
- package/esm/api/models/AliasActionEnum.js +1 -1
- package/esm/api/models/AliasDTO.d.ts +3 -14
- package/esm/api/models/AliasTypeEnum.js +1 -1
- package/esm/api/models/AnnounceTransactionInfoDTO.d.ts +1 -3
- package/esm/api/models/BalanceChangeReceiptDTO.d.ts +4 -23
- package/esm/api/models/BalanceTransferReceiptDTO.d.ts +5 -28
- package/esm/api/models/BlockDTO.d.ts +8 -45
- package/esm/api/models/BlockInfoDTO.d.ts +1 -7
- package/esm/api/models/BlockInfoDTOBlock.d.ts +12 -64
- package/esm/api/models/BlockMetaDTO.d.ts +2 -20
- package/esm/api/models/BlockOrderByEnum.js +1 -1
- package/esm/api/models/BlockPage.d.ts +1 -5
- package/esm/api/models/BmTreeSignature.d.ts +1 -5
- package/esm/api/models/BsonLongDTO.d.ts +1 -7
- package/esm/api/models/ChainInfoDTO.d.ts +5 -16
- package/esm/api/models/ChainPropertiesDTO.d.ts +3 -71
- package/esm/api/models/CommunicationTimestampsDTO.d.ts +4 -26
- package/esm/api/models/CompositeHashes.d.ts +1 -3
- package/esm/api/models/Cosignature.d.ts +3 -11
- package/esm/api/models/CosignatureDTO.d.ts +1 -7
- package/esm/api/models/DeploymentDTO.d.ts +1 -7
- package/esm/api/models/EmbeddedAccountAddressRestrictionTransactionDTO.d.ts +2 -16
- package/esm/api/models/EmbeddedAccountKeyLinkTransactionDTO.d.ts +2 -14
- package/esm/api/models/EmbeddedAccountMetadataTransactionDTO.d.ts +2 -20
- package/esm/api/models/EmbeddedAccountMosaicRestrictionTransactionDTO.d.ts +2 -16
- package/esm/api/models/EmbeddedAccountOperationRestrictionTransactionDTO.d.ts +2 -16
- package/esm/api/models/EmbeddedAddressAliasTransactionDTO.d.ts +2 -16
- package/esm/api/models/EmbeddedHashLockTransactionDTO.d.ts +2 -18
- package/esm/api/models/EmbeddedMosaicAddressRestrictionTransactionDTO.d.ts +2 -20
- package/esm/api/models/EmbeddedMosaicAliasTransactionDTO.d.ts +2 -16
- package/esm/api/models/EmbeddedMosaicDefinitionTransactionDTO.d.ts +3 -23
- package/esm/api/models/EmbeddedMosaicGlobalRestrictionTransactionDTO.d.ts +2 -24
- package/esm/api/models/EmbeddedMosaicMetadataTransactionDTO.d.ts +2 -22
- package/esm/api/models/EmbeddedMosaicSupplyChangeTransactionDTO.d.ts +2 -16
- package/esm/api/models/EmbeddedMosaicSupplyRevocationTransactionDTO.d.ts +2 -16
- package/esm/api/models/EmbeddedMultisigAccountModificationTransactionDTO.d.ts +2 -18
- package/esm/api/models/EmbeddedNamespaceMetadataTransactionDTO.d.ts +2 -22
- package/esm/api/models/EmbeddedNamespaceRegistrationTransactionDTO.d.ts +2 -20
- package/esm/api/models/EmbeddedNodeKeyLinkTransactionDTO.d.ts +2 -14
- package/esm/api/models/EmbeddedSecretLockTransactionDTO.d.ts +2 -22
- package/esm/api/models/EmbeddedSecretProofTransactionDTO.d.ts +2 -18
- package/esm/api/models/EmbeddedTransactionBodyDTO.d.ts +1 -3
- package/esm/api/models/EmbeddedTransactionDTO.d.ts +2 -10
- package/esm/api/models/EmbeddedTransactionInfoDTO.d.ts +1 -7
- package/esm/api/models/EmbeddedTransactionInfoDTOTransaction.d.ts +3 -107
- package/esm/api/models/EmbeddedTransactionMetaDTO.d.ts +8 -43
- package/esm/api/models/EmbeddedTransferTransactionDTO.d.ts +2 -16
- package/esm/api/models/EmbeddedVotingKeyLinkTransactionDTO.d.ts +2 -18
- package/esm/api/models/EmbeddedVrfKeyLinkTransactionDTO.d.ts +2 -14
- package/esm/api/models/EntityDTO.d.ts +2 -10
- package/esm/api/models/FinalizationProofDTO.d.ts +1 -13
- package/esm/api/models/FinalizedBlockDTO.d.ts +1 -9
- package/esm/api/models/ForkHeightsDTO.d.ts +1 -15
- package/esm/api/models/HashLockEntryDTO.d.ts +6 -31
- package/esm/api/models/HashLockInfoDTO.d.ts +1 -5
- package/esm/api/models/HashLockNetworkPropertiesDTO.d.ts +1 -5
- package/esm/api/models/HashLockPage.d.ts +1 -5
- package/esm/api/models/HashLockTransactionBodyDTO.d.ts +1 -9
- package/esm/api/models/HashLockTransactionDTO.d.ts +7 -43
- package/esm/api/models/ImportanceBlockDTO.d.ts +12 -64
- package/esm/api/models/InflationReceiptDTO.d.ts +3 -18
- package/esm/api/models/LinkActionEnum.js +1 -1
- package/esm/api/models/LockHashAlgorithmEnum.js +1 -1
- package/esm/api/models/LockStatus.js +1 -1
- package/esm/api/models/MerklePathItemDTO.d.ts +2 -6
- package/esm/api/models/MerkleProofInfoDTO.d.ts +1 -3
- package/esm/api/models/MerkleStateInfoDTO.d.ts +1 -5
- package/esm/api/models/MerkleStateInfoDTOTreeInner.d.ts +3 -21
- package/esm/api/models/MerkleTreeBranchDTO.d.ts +2 -16
- package/esm/api/models/MerkleTreeBranchLinkDTO.d.ts +2 -6
- package/esm/api/models/MerkleTreeLeafDTO.d.ts +2 -14
- package/esm/api/models/MerkleTreeNodeTypeEnum.js +1 -1
- package/esm/api/models/MessageGroup.d.ts +2 -12
- package/esm/api/models/MetadataEntryDTO.d.ts +7 -25
- package/esm/api/models/MetadataEntryDTOTargetId.d.ts +1 -1
- package/esm/api/models/MetadataInfoDTO.d.ts +1 -5
- package/esm/api/models/MetadataNetworkPropertiesDTO.d.ts +1 -3
- package/esm/api/models/MetadataPage.d.ts +1 -5
- package/esm/api/models/MetadataTypeEnum.js +1 -1
- package/esm/api/models/ModelError.d.ts +1 -5
- package/esm/api/models/Mosaic.d.ts +1 -5
- package/esm/api/models/MosaicAddressRestrictionDTO.d.ts +1 -5
- package/esm/api/models/MosaicAddressRestrictionEntryDTO.d.ts +1 -5
- package/esm/api/models/MosaicAddressRestrictionEntryWrapperDTO.d.ts +4 -21
- package/esm/api/models/MosaicAddressRestrictionTransactionBodyDTO.d.ts +1 -11
- package/esm/api/models/MosaicAddressRestrictionTransactionDTO.d.ts +7 -45
- package/esm/api/models/MosaicAliasTransactionBodyDTO.d.ts +1 -7
- package/esm/api/models/MosaicAliasTransactionDTO.d.ts +7 -41
- package/esm/api/models/MosaicDTO.d.ts +7 -33
- package/esm/api/models/MosaicDefinitionTransactionBodyDTO.d.ts +2 -14
- package/esm/api/models/MosaicDefinitionTransactionDTO.d.ts +8 -48
- package/esm/api/models/MosaicExpiryReceiptDTO.d.ts +2 -11
- package/esm/api/models/MosaicGlobalRestrictionDTO.d.ts +1 -5
- package/esm/api/models/MosaicGlobalRestrictionEntryDTO.d.ts +1 -5
- package/esm/api/models/MosaicGlobalRestrictionEntryRestrictionDTO.d.ts +4 -10
- package/esm/api/models/MosaicGlobalRestrictionEntryWrapperDTO.d.ts +3 -16
- package/esm/api/models/MosaicGlobalRestrictionTransactionBodyDTO.d.ts +1 -15
- package/esm/api/models/MosaicGlobalRestrictionTransactionDTO.d.ts +7 -49
- package/esm/api/models/MosaicIds.d.ts +1 -3
- package/esm/api/models/MosaicInfoDTO.d.ts +1 -5
- package/esm/api/models/MosaicMetadataTransactionBodyDTO.d.ts +1 -13
- package/esm/api/models/MosaicMetadataTransactionDTO.d.ts +7 -47
- package/esm/api/models/MosaicNamesDTO.d.ts +2 -9
- package/esm/api/models/MosaicNetworkPropertiesDTO.d.ts +5 -27
- package/esm/api/models/MosaicPage.d.ts +1 -5
- package/esm/api/models/MosaicRestrictionDTO.d.ts +1 -5
- package/esm/api/models/MosaicRestrictionEntryTypeEnum.js +1 -1
- package/esm/api/models/MosaicRestrictionNetworkPropertiesDTO.d.ts +1 -3
- package/esm/api/models/MosaicRestrictionTypeEnum.js +1 -1
- package/esm/api/models/MosaicRestrictionsPage.d.ts +1 -5
- package/esm/api/models/MosaicRestrictionsPageDataInner.d.ts +1 -5
- package/esm/api/models/MosaicSupplyChangeActionEnum.js +1 -1
- package/esm/api/models/MosaicSupplyChangeTransactionBodyDTO.d.ts +1 -7
- package/esm/api/models/MosaicSupplyChangeTransactionDTO.d.ts +7 -41
- package/esm/api/models/MosaicSupplyRevocationTransactionBodyDTO.d.ts +1 -7
- package/esm/api/models/MosaicSupplyRevocationTransactionDTO.d.ts +7 -41
- package/esm/api/models/MosaicsNamesDTO.d.ts +1 -3
- package/esm/api/models/MultisigAccountGraphInfoDTO.d.ts +1 -5
- package/esm/api/models/MultisigAccountInfoDTO.d.ts +1 -3
- package/esm/api/models/MultisigAccountModificationTransactionBodyDTO.d.ts +1 -9
- package/esm/api/models/MultisigAccountModificationTransactionDTO.d.ts +7 -43
- package/esm/api/models/MultisigDTO.d.ts +3 -19
- package/esm/api/models/MultisigNetworkPropertiesDTO.d.ts +1 -7
- package/esm/api/models/NamespaceDTO.d.ts +8 -48
- package/esm/api/models/NamespaceExpiryReceiptDTO.d.ts +2 -11
- package/esm/api/models/NamespaceIds.d.ts +1 -3
- package/esm/api/models/NamespaceInfoDTO.d.ts +1 -7
- package/esm/api/models/NamespaceMetaDTO.d.ts +1 -5
- package/esm/api/models/NamespaceMetadataTransactionBodyDTO.d.ts +1 -13
- package/esm/api/models/NamespaceMetadataTransactionDTO.d.ts +7 -47
- package/esm/api/models/NamespaceNameDTO.d.ts +3 -15
- package/esm/api/models/NamespaceNetworkPropertiesDTO.d.ts +5 -43
- package/esm/api/models/NamespacePage.d.ts +1 -5
- package/esm/api/models/NamespaceRegistrationTransactionBodyDTO.d.ts +1 -11
- package/esm/api/models/NamespaceRegistrationTransactionDTO.d.ts +7 -45
- package/esm/api/models/NamespaceRegistrationTypeEnum.js +1 -1
- package/esm/api/models/NetworkConfigurationDTO.d.ts +1 -13
- package/esm/api/models/NetworkInflationDTO.d.ts +3 -13
- package/esm/api/models/NetworkPropertiesDTO.d.ts +1 -11
- package/esm/api/models/NetworkTypeDTO.d.ts +1 -5
- package/esm/api/models/NetworkTypeDTO.js +1 -1
- package/esm/api/models/NetworkTypeEnum.js +1 -1
- package/esm/api/models/NodeHealthDTO.d.ts +1 -5
- package/esm/api/models/NodeHealthInfoDTO.d.ts +1 -3
- package/esm/api/models/NodeIdentityEqualityStrategy.js +1 -1
- package/esm/api/models/NodeInfoDTO.d.ts +1 -19
- package/esm/api/models/NodeKeyLinkTransactionBodyDTO.d.ts +1 -5
- package/esm/api/models/NodeKeyLinkTransactionDTO.d.ts +7 -39
- package/esm/api/models/NodeStatusEnum.js +1 -1
- package/esm/api/models/NodeTimeDTO.d.ts +1 -3
- package/esm/api/models/Order.js +1 -1
- package/esm/api/models/Pagination.d.ts +1 -5
- package/esm/api/models/ParentPublicKeySignaturePair.d.ts +1 -5
- package/esm/api/models/PluginsPropertiesDTO.d.ts +1 -23
- package/esm/api/models/PositionEnum.js +1 -1
- package/esm/api/models/ReceiptDTO.d.ts +1 -5
- package/esm/api/models/ReceiptTypeEnum.js +1 -1
- package/esm/api/models/RentalFeesDTO.d.ts +4 -22
- package/esm/api/models/ResolutionEntryDTO.d.ts +1 -5
- package/esm/api/models/ResolutionEntryDTOResolved.d.ts +1 -1
- package/esm/api/models/ResolutionStatementDTO.d.ts +2 -10
- package/esm/api/models/ResolutionStatementDTOUnresolved.d.ts +1 -1
- package/esm/api/models/ResolutionStatementInfoDTO.d.ts +1 -7
- package/esm/api/models/ResolutionStatementPage.d.ts +1 -5
- package/esm/api/models/SecretLockEntryDTO.d.ts +10 -40
- package/esm/api/models/SecretLockInfoDTO.d.ts +1 -5
- package/esm/api/models/SecretLockNetworkPropertiesDTO.d.ts +1 -7
- package/esm/api/models/SecretLockPage.d.ts +1 -5
- package/esm/api/models/SecretLockTransactionBodyDTO.d.ts +1 -13
- package/esm/api/models/SecretLockTransactionDTO.d.ts +7 -47
- package/esm/api/models/SecretProofTransactionBodyDTO.d.ts +1 -9
- package/esm/api/models/SecretProofTransactionDTO.d.ts +7 -43
- package/esm/api/models/ServerDTO.d.ts +1 -5
- package/esm/api/models/ServerInfoDTO.d.ts +1 -3
- package/esm/api/models/SizePrefixedEntityDTO.d.ts +3 -5
- package/esm/api/models/SourceDTO.d.ts +11 -9
- package/esm/api/models/StageEnum.js +1 -1
- package/esm/api/models/StatementMetaDTO.d.ts +2 -14
- package/esm/api/models/StorageInfoDTO.d.ts +1 -9
- package/esm/api/models/StorageInfoDatabaseDTO.d.ts +1 -11
- package/esm/api/models/SupplementalPublicKeysDTO.d.ts +1 -9
- package/esm/api/models/TransactionBodyDTO.d.ts +4 -20
- package/esm/api/models/TransactionDTO.d.ts +7 -35
- package/esm/api/models/TransactionFeesDTO.d.ts +6 -76
- package/esm/api/models/TransactionGroupEnum.js +1 -1
- package/esm/api/models/TransactionHashes.d.ts +1 -3
- package/esm/api/models/TransactionIds.d.ts +1 -3
- package/esm/api/models/TransactionInfoDTO.d.ts +1 -7
- package/esm/api/models/TransactionInfoDTOMeta.d.ts +12 -49
- package/esm/api/models/TransactionInfoDTOTransaction.d.ts +8 -138
- package/esm/api/models/TransactionMetaDTO.d.ts +10 -41
- package/esm/api/models/TransactionPage.d.ts +1 -5
- package/esm/api/models/TransactionPayload.d.ts +1 -3
- package/esm/api/models/TransactionStatementDTO.d.ts +2 -10
- package/esm/api/models/TransactionStatementDTOReceiptsInner.d.ts +7 -39
- package/esm/api/models/TransactionStatementInfoDTO.d.ts +1 -7
- package/esm/api/models/TransactionStatementPage.d.ts +1 -5
- package/esm/api/models/TransactionStatusDTO.d.ts +4 -26
- package/esm/api/models/TransactionStatusEnum.js +1 -1
- package/esm/api/models/TransactionTypeEnum.js +1 -1
- package/esm/api/models/TransferNetworkPropertiesDTO.d.ts +1 -3
- package/esm/api/models/TransferTransactionBodyDTO.d.ts +1 -7
- package/esm/api/models/TransferTransactionDTO.d.ts +7 -41
- package/esm/api/models/UnlockedAccountDTO.d.ts +1 -3
- package/esm/api/models/UnresolvedMosaic.d.ts +1 -5
- package/esm/api/models/VerifiableEntityDTO.d.ts +1 -3
- package/esm/api/models/VotingKeyLinkTransactionBodyDTO.d.ts +1 -9
- package/esm/api/models/VotingKeyLinkTransactionDTO.d.ts +7 -43
- package/esm/api/models/VrfKeyLinkTransactionBodyDTO.d.ts +1 -5
- package/esm/api/models/VrfKeyLinkTransactionDTO.d.ts +7 -39
- package/esm/api/runtime.d.ts +34 -1
- package/esm/api/runtime.js +127 -4
- package/index.min.js +1 -1
- package/package.json +23 -7
|
@@ -12,25 +12,36 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import * as runtime from '../runtime';
|
|
15
|
-
import { NetworkConfigurationDTOFromJSON,
|
|
15
|
+
import { NetworkConfigurationDTOFromJSON, } from '../models/NetworkConfigurationDTO';
|
|
16
|
+
import { NetworkInflationDTOFromJSON, } from '../models/NetworkInflationDTO';
|
|
17
|
+
import { NetworkTypeDTOFromJSON, } from '../models/NetworkTypeDTO';
|
|
18
|
+
import { RentalFeesDTOFromJSON, } from '../models/RentalFeesDTO';
|
|
19
|
+
import { TransactionFeesDTOFromJSON, } from '../models/TransactionFeesDTO';
|
|
16
20
|
/**
|
|
17
21
|
*
|
|
18
22
|
*/
|
|
19
23
|
export class NetworkRoutesApi extends runtime.BaseAPI {
|
|
20
24
|
/**
|
|
21
|
-
*
|
|
22
|
-
* Returns circulating currency supply
|
|
25
|
+
* Creates request options for getCirculatingCurrencySupply without sending the request
|
|
23
26
|
*/
|
|
24
|
-
async
|
|
27
|
+
async getCirculatingCurrencySupplyRequestOpts() {
|
|
25
28
|
const queryParameters = {};
|
|
26
29
|
const headerParameters = {};
|
|
27
30
|
let urlPath = `/network/currency/supply/circulating`;
|
|
28
|
-
|
|
31
|
+
return {
|
|
29
32
|
path: urlPath,
|
|
30
33
|
method: 'GET',
|
|
31
34
|
headers: headerParameters,
|
|
32
35
|
query: queryParameters,
|
|
33
|
-
}
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Returns the current circulating supply of the network currency mosaic. Circulating supply represents the portion of total on-chain supply that is not held in designated uncirculating or reserved accounts (e.g. nemesis or treasury accounts). Data sources: - Mosaic supply and divisibility from blockchain state - Nemesis signer public key from network properties file - Uncirculating account public keys defined in rest.json (`uncirculatingAccountPublicKeys`)
|
|
40
|
+
* Returns circulating currency supply
|
|
41
|
+
*/
|
|
42
|
+
async getCirculatingCurrencySupplyRaw(initOverrides) {
|
|
43
|
+
const requestOptions = await this.getCirculatingCurrencySupplyRequestOpts();
|
|
44
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
34
45
|
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
35
46
|
return new runtime.JSONApiResponse(response);
|
|
36
47
|
}
|
|
@@ -47,19 +58,26 @@ export class NetworkRoutesApi extends runtime.BaseAPI {
|
|
|
47
58
|
return await response.value();
|
|
48
59
|
}
|
|
49
60
|
/**
|
|
50
|
-
*
|
|
51
|
-
* Returns max currency supply
|
|
61
|
+
* Creates request options for getMaxCurrencySupply without sending the request
|
|
52
62
|
*/
|
|
53
|
-
async
|
|
63
|
+
async getMaxCurrencySupplyRequestOpts() {
|
|
54
64
|
const queryParameters = {};
|
|
55
65
|
const headerParameters = {};
|
|
56
66
|
let urlPath = `/network/currency/supply/max`;
|
|
57
|
-
|
|
67
|
+
return {
|
|
58
68
|
path: urlPath,
|
|
59
69
|
method: 'GET',
|
|
60
70
|
headers: headerParameters,
|
|
61
71
|
query: queryParameters,
|
|
62
|
-
}
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Returns the maximum possible supply of the network currency mosaic. Data sources: - Maximum supply (`chain.maxMosaicAtomicUnits`) defined in the network properties file - Network currency divisibility from blockchain state This represents the protocol-level supply cap configured for the network currency.
|
|
76
|
+
* Returns max currency supply
|
|
77
|
+
*/
|
|
78
|
+
async getMaxCurrencySupplyRaw(initOverrides) {
|
|
79
|
+
const requestOptions = await this.getMaxCurrencySupplyRequestOpts();
|
|
80
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
63
81
|
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
64
82
|
return new runtime.JSONApiResponse(response);
|
|
65
83
|
}
|
|
@@ -76,19 +94,26 @@ export class NetworkRoutesApi extends runtime.BaseAPI {
|
|
|
76
94
|
return await response.value();
|
|
77
95
|
}
|
|
78
96
|
/**
|
|
79
|
-
*
|
|
80
|
-
* Returns the inflation distribution schedule
|
|
97
|
+
* Creates request options for getNetworkInflation without sending the request
|
|
81
98
|
*/
|
|
82
|
-
async
|
|
99
|
+
async getNetworkInflationRequestOpts() {
|
|
83
100
|
const queryParameters = {};
|
|
84
101
|
const headerParameters = {};
|
|
85
102
|
let urlPath = `/network/inflation`;
|
|
86
|
-
|
|
103
|
+
return {
|
|
87
104
|
path: urlPath,
|
|
88
105
|
method: 'GET',
|
|
89
106
|
headers: headerParameters,
|
|
90
107
|
query: queryParameters,
|
|
91
|
-
}
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Retrieves the network inflation table, where each entry specifies a starting block height and the reward amount applied from that height onward.
|
|
112
|
+
* Returns the inflation distribution schedule
|
|
113
|
+
*/
|
|
114
|
+
async getNetworkInflationRaw(initOverrides) {
|
|
115
|
+
const requestOptions = await this.getNetworkInflationRequestOpts();
|
|
116
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
92
117
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(NetworkInflationDTOFromJSON));
|
|
93
118
|
}
|
|
94
119
|
/**
|
|
@@ -100,23 +125,30 @@ export class NetworkRoutesApi extends runtime.BaseAPI {
|
|
|
100
125
|
return await response.value();
|
|
101
126
|
}
|
|
102
127
|
/**
|
|
103
|
-
*
|
|
104
|
-
* Returns the inflation distribution data at a specific height
|
|
128
|
+
* Creates request options for getNetworkInflationAtHeight without sending the request
|
|
105
129
|
*/
|
|
106
|
-
async
|
|
130
|
+
async getNetworkInflationAtHeightRequestOpts(requestParameters) {
|
|
107
131
|
if (requestParameters['height'] == null) {
|
|
108
132
|
throw new runtime.RequiredError('height', 'Required parameter "height" was null or undefined when calling getNetworkInflationAtHeight().');
|
|
109
133
|
}
|
|
110
134
|
const queryParameters = {};
|
|
111
135
|
const headerParameters = {};
|
|
112
136
|
let urlPath = `/network/inflation/at/{height}`;
|
|
113
|
-
urlPath = urlPath.replace(
|
|
114
|
-
|
|
137
|
+
urlPath = urlPath.replace('{height}', encodeURIComponent(String(requestParameters['height'])));
|
|
138
|
+
return {
|
|
115
139
|
path: urlPath,
|
|
116
140
|
method: 'GET',
|
|
117
141
|
headers: headerParameters,
|
|
118
142
|
query: queryParameters,
|
|
119
|
-
}
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Retrieves network inflation parameters at a given block height.
|
|
147
|
+
* Returns the inflation distribution data at a specific height
|
|
148
|
+
*/
|
|
149
|
+
async getNetworkInflationAtHeightRaw(requestParameters, initOverrides) {
|
|
150
|
+
const requestOptions = await this.getNetworkInflationAtHeightRequestOpts(requestParameters);
|
|
151
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
120
152
|
return new runtime.JSONApiResponse(response, (jsonValue) => NetworkInflationDTOFromJSON(jsonValue));
|
|
121
153
|
}
|
|
122
154
|
/**
|
|
@@ -128,19 +160,26 @@ export class NetworkRoutesApi extends runtime.BaseAPI {
|
|
|
128
160
|
return await response.value();
|
|
129
161
|
}
|
|
130
162
|
/**
|
|
131
|
-
*
|
|
132
|
-
* Get the network properties
|
|
163
|
+
* Creates request options for getNetworkProperties without sending the request
|
|
133
164
|
*/
|
|
134
|
-
async
|
|
165
|
+
async getNetworkPropertiesRequestOpts() {
|
|
135
166
|
const queryParameters = {};
|
|
136
167
|
const headerParameters = {};
|
|
137
168
|
let urlPath = `/network/properties`;
|
|
138
|
-
|
|
169
|
+
return {
|
|
139
170
|
path: urlPath,
|
|
140
171
|
method: 'GET',
|
|
141
172
|
headers: headerParameters,
|
|
142
173
|
query: queryParameters,
|
|
143
|
-
}
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Returns the content from a catapult-server network configuration file (e.g. `config-network.properties`). To enable this feature, the REST setting `apiNode.networkPropertyFilePath` in the config file (e.g. `rest.json`) must define where the file is located.
|
|
178
|
+
* Get the network properties
|
|
179
|
+
*/
|
|
180
|
+
async getNetworkPropertiesRaw(initOverrides) {
|
|
181
|
+
const requestOptions = await this.getNetworkPropertiesRequestOpts();
|
|
182
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
144
183
|
return new runtime.JSONApiResponse(response, (jsonValue) => NetworkConfigurationDTOFromJSON(jsonValue));
|
|
145
184
|
}
|
|
146
185
|
/**
|
|
@@ -152,19 +191,26 @@ export class NetworkRoutesApi extends runtime.BaseAPI {
|
|
|
152
191
|
return await response.value();
|
|
153
192
|
}
|
|
154
193
|
/**
|
|
155
|
-
*
|
|
156
|
-
* Get the current network type of the chain
|
|
194
|
+
* Creates request options for getNetworkType without sending the request
|
|
157
195
|
*/
|
|
158
|
-
async
|
|
196
|
+
async getNetworkTypeRequestOpts() {
|
|
159
197
|
const queryParameters = {};
|
|
160
198
|
const headerParameters = {};
|
|
161
199
|
let urlPath = `/network`;
|
|
162
|
-
|
|
200
|
+
return {
|
|
163
201
|
path: urlPath,
|
|
164
202
|
method: 'GET',
|
|
165
203
|
headers: headerParameters,
|
|
166
204
|
query: queryParameters,
|
|
167
|
-
}
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* Returns the current network type.
|
|
209
|
+
* Get the current network type of the chain
|
|
210
|
+
*/
|
|
211
|
+
async getNetworkTypeRaw(initOverrides) {
|
|
212
|
+
const requestOptions = await this.getNetworkTypeRequestOpts();
|
|
213
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
168
214
|
return new runtime.JSONApiResponse(response, (jsonValue) => NetworkTypeDTOFromJSON(jsonValue));
|
|
169
215
|
}
|
|
170
216
|
/**
|
|
@@ -176,19 +222,26 @@ export class NetworkRoutesApi extends runtime.BaseAPI {
|
|
|
176
222
|
return await response.value();
|
|
177
223
|
}
|
|
178
224
|
/**
|
|
179
|
-
*
|
|
180
|
-
* Get rental fees information
|
|
225
|
+
* Creates request options for getRentalFees without sending the request
|
|
181
226
|
*/
|
|
182
|
-
async
|
|
227
|
+
async getRentalFeesRequestOpts() {
|
|
183
228
|
const queryParameters = {};
|
|
184
229
|
const headerParameters = {};
|
|
185
230
|
let urlPath = `/network/fees/rental`;
|
|
186
|
-
|
|
231
|
+
return {
|
|
187
232
|
path: urlPath,
|
|
188
233
|
method: 'GET',
|
|
189
234
|
headers: headerParameters,
|
|
190
235
|
query: queryParameters,
|
|
191
|
-
}
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Returns the estimated effective rental fees for namespaces and mosaics. This endpoint is only available if the REST instance has access to catapult-server `resources/config-network.properties` file. To activate this feature, add the setting `network.propertiesFilePath` in the configuration file (`rest/resources/rest.json`).
|
|
240
|
+
* Get rental fees information
|
|
241
|
+
*/
|
|
242
|
+
async getRentalFeesRaw(initOverrides) {
|
|
243
|
+
const requestOptions = await this.getRentalFeesRequestOpts();
|
|
244
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
192
245
|
return new runtime.JSONApiResponse(response, (jsonValue) => RentalFeesDTOFromJSON(jsonValue));
|
|
193
246
|
}
|
|
194
247
|
/**
|
|
@@ -200,19 +253,26 @@ export class NetworkRoutesApi extends runtime.BaseAPI {
|
|
|
200
253
|
return await response.value();
|
|
201
254
|
}
|
|
202
255
|
/**
|
|
203
|
-
*
|
|
204
|
-
* Returns total currency supply
|
|
256
|
+
* Creates request options for getTotalCurrencySupply without sending the request
|
|
205
257
|
*/
|
|
206
|
-
async
|
|
258
|
+
async getTotalCurrencySupplyRequestOpts() {
|
|
207
259
|
const queryParameters = {};
|
|
208
260
|
const headerParameters = {};
|
|
209
261
|
let urlPath = `/network/currency/supply/total`;
|
|
210
|
-
|
|
262
|
+
return {
|
|
211
263
|
path: urlPath,
|
|
212
264
|
method: 'GET',
|
|
213
265
|
headers: headerParameters,
|
|
214
266
|
query: queryParameters,
|
|
215
|
-
}
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* Returns the total current on-chain supply of the network currency mosaic. Data sources: - Mosaic supply and divisibility from blockchain state This value includes both circulating and uncirculating balances and represents the full issued supply currently recorded on-chain.
|
|
271
|
+
* Returns total currency supply
|
|
272
|
+
*/
|
|
273
|
+
async getTotalCurrencySupplyRaw(initOverrides) {
|
|
274
|
+
const requestOptions = await this.getTotalCurrencySupplyRequestOpts();
|
|
275
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
216
276
|
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
217
277
|
return new runtime.JSONApiResponse(response);
|
|
218
278
|
}
|
|
@@ -229,19 +289,26 @@ export class NetworkRoutesApi extends runtime.BaseAPI {
|
|
|
229
289
|
return await response.value();
|
|
230
290
|
}
|
|
231
291
|
/**
|
|
232
|
-
*
|
|
233
|
-
* Get transaction fees information
|
|
292
|
+
* Creates request options for getTransactionFees without sending the request
|
|
234
293
|
*/
|
|
235
|
-
async
|
|
294
|
+
async getTransactionFeesRequestOpts() {
|
|
236
295
|
const queryParameters = {};
|
|
237
296
|
const headerParameters = {};
|
|
238
297
|
let urlPath = `/network/fees/transaction`;
|
|
239
|
-
|
|
298
|
+
return {
|
|
240
299
|
path: urlPath,
|
|
241
300
|
method: 'GET',
|
|
242
301
|
headers: headerParameters,
|
|
243
302
|
query: queryParameters,
|
|
244
|
-
}
|
|
303
|
+
};
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* Returns the average, median, highest, and lowest fee multiplier over the last `numBlocksTransactionFeeStats` blocks. The setting `numBlocksTransactionFeeStats` is adjustable in the REST configuration file (`rest.json`) per REST instance.
|
|
307
|
+
* Get transaction fees information
|
|
308
|
+
*/
|
|
309
|
+
async getTransactionFeesRaw(initOverrides) {
|
|
310
|
+
const requestOptions = await this.getTransactionFeesRequestOpts();
|
|
311
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
245
312
|
return new runtime.JSONApiResponse(response, (jsonValue) => TransactionFeesDTOFromJSON(jsonValue));
|
|
246
313
|
}
|
|
247
314
|
/**
|
|
@@ -10,11 +10,20 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type
|
|
13
|
+
import { type NodeHealthInfoDTO } from '../models/NodeHealthInfoDTO';
|
|
14
|
+
import { type NodeInfoDTO } from '../models/NodeInfoDTO';
|
|
15
|
+
import { type NodeTimeDTO } from '../models/NodeTimeDTO';
|
|
16
|
+
import { type ServerInfoDTO } from '../models/ServerInfoDTO';
|
|
17
|
+
import { type StorageInfoDTO } from '../models/StorageInfoDTO';
|
|
18
|
+
import { type UnlockedAccountDTO } from '../models/UnlockedAccountDTO';
|
|
14
19
|
/**
|
|
15
20
|
*
|
|
16
21
|
*/
|
|
17
22
|
export declare class NodeRoutesApi extends runtime.BaseAPI {
|
|
23
|
+
/**
|
|
24
|
+
* Creates request options for getNodeHealth without sending the request
|
|
25
|
+
*/
|
|
26
|
+
getNodeHealthRequestOpts(): Promise<runtime.RequestOpts>;
|
|
18
27
|
/**
|
|
19
28
|
* Supplies information regarding the connection and services status.
|
|
20
29
|
* Get the node health information
|
|
@@ -25,6 +34,10 @@ export declare class NodeRoutesApi extends runtime.BaseAPI {
|
|
|
25
34
|
* Get the node health information
|
|
26
35
|
*/
|
|
27
36
|
getNodeHealth(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NodeHealthInfoDTO>;
|
|
37
|
+
/**
|
|
38
|
+
* Creates request options for getNodeInfo without sending the request
|
|
39
|
+
*/
|
|
40
|
+
getNodeInfoRequestOpts(): Promise<runtime.RequestOpts>;
|
|
28
41
|
/**
|
|
29
42
|
* Supplies additional information about the application running on a node.
|
|
30
43
|
* Get the node information
|
|
@@ -35,6 +48,10 @@ export declare class NodeRoutesApi extends runtime.BaseAPI {
|
|
|
35
48
|
* Get the node information
|
|
36
49
|
*/
|
|
37
50
|
getNodeInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NodeInfoDTO>;
|
|
51
|
+
/**
|
|
52
|
+
* Creates request options for getNodeMetadata without sending the request
|
|
53
|
+
*/
|
|
54
|
+
getNodeMetadataRequestOpts(): Promise<runtime.RequestOpts>;
|
|
38
55
|
/**
|
|
39
56
|
* Gets the node metadata information that has been set by the node operator. **How to set:** Add a top-level `nodeMetadata` object in the REST server JSON configuration file. Example: ```json { \"nodeMetadata\": { \"deploymentTool\": \"symbol-shoestring\", \"version\": \"1.0.0\", \"customLabel\": \"my-node\" } } ``` The entire `nodeMetadata` object is served as-is; add any key-value pairs to personalize your node.
|
|
40
57
|
* Retrieve node metadata
|
|
@@ -49,6 +66,10 @@ export declare class NodeRoutesApi extends runtime.BaseAPI {
|
|
|
49
66
|
getNodeMetadata(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
|
|
50
67
|
[key: string]: string;
|
|
51
68
|
}>;
|
|
69
|
+
/**
|
|
70
|
+
* Creates request options for getNodePeers without sending the request
|
|
71
|
+
*/
|
|
72
|
+
getNodePeersRequestOpts(): Promise<runtime.RequestOpts>;
|
|
52
73
|
/**
|
|
53
74
|
* Gets the list of peers visible by the node.
|
|
54
75
|
* Get peers information
|
|
@@ -59,6 +80,10 @@ export declare class NodeRoutesApi extends runtime.BaseAPI {
|
|
|
59
80
|
* Get peers information
|
|
60
81
|
*/
|
|
61
82
|
getNodePeers(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<NodeInfoDTO>>;
|
|
83
|
+
/**
|
|
84
|
+
* Creates request options for getNodeStorage without sending the request
|
|
85
|
+
*/
|
|
86
|
+
getNodeStorageRequestOpts(): Promise<runtime.RequestOpts>;
|
|
62
87
|
/**
|
|
63
88
|
* Returns estimated counts of blocks, transactions, and accounts in the REST server\'s MongoDB database, along with database size statistics (`db.stats()`).
|
|
64
89
|
* Get the storage information of the node
|
|
@@ -69,6 +94,10 @@ export declare class NodeRoutesApi extends runtime.BaseAPI {
|
|
|
69
94
|
* Get the storage information of the node
|
|
70
95
|
*/
|
|
71
96
|
getNodeStorage(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StorageInfoDTO>;
|
|
97
|
+
/**
|
|
98
|
+
* Creates request options for getNodeTime without sending the request
|
|
99
|
+
*/
|
|
100
|
+
getNodeTimeRequestOpts(): Promise<runtime.RequestOpts>;
|
|
72
101
|
/**
|
|
73
102
|
* Gets the node time at the moment the reply was sent and received.
|
|
74
103
|
* Get the node time
|
|
@@ -79,6 +108,10 @@ export declare class NodeRoutesApi extends runtime.BaseAPI {
|
|
|
79
108
|
* Get the node time
|
|
80
109
|
*/
|
|
81
110
|
getNodeTime(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NodeTimeDTO>;
|
|
111
|
+
/**
|
|
112
|
+
* Creates request options for getServerInfo without sending the request
|
|
113
|
+
*/
|
|
114
|
+
getServerInfoRequestOpts(): Promise<runtime.RequestOpts>;
|
|
82
115
|
/**
|
|
83
116
|
* Returns the version of the running catapult-rest component.
|
|
84
117
|
* Get the version of the running REST component
|
|
@@ -89,6 +122,10 @@ export declare class NodeRoutesApi extends runtime.BaseAPI {
|
|
|
89
122
|
* Get the version of the running REST component
|
|
90
123
|
*/
|
|
91
124
|
getServerInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ServerInfoDTO>;
|
|
125
|
+
/**
|
|
126
|
+
* Creates request options for getUnlockedAccount without sending the request
|
|
127
|
+
*/
|
|
128
|
+
getUnlockedAccountRequestOpts(): Promise<runtime.RequestOpts>;
|
|
92
129
|
/**
|
|
93
130
|
* Returns array of unlocked account public keys.
|
|
94
131
|
* Get the unlocked harvesting account public keys
|
|
@@ -12,25 +12,37 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import * as runtime from '../runtime';
|
|
15
|
-
import { NodeHealthInfoDTOFromJSON,
|
|
15
|
+
import { NodeHealthInfoDTOFromJSON, } from '../models/NodeHealthInfoDTO';
|
|
16
|
+
import { NodeInfoDTOFromJSON, } from '../models/NodeInfoDTO';
|
|
17
|
+
import { NodeTimeDTOFromJSON, } from '../models/NodeTimeDTO';
|
|
18
|
+
import { ServerInfoDTOFromJSON, } from '../models/ServerInfoDTO';
|
|
19
|
+
import { StorageInfoDTOFromJSON, } from '../models/StorageInfoDTO';
|
|
20
|
+
import { UnlockedAccountDTOFromJSON, } from '../models/UnlockedAccountDTO';
|
|
16
21
|
/**
|
|
17
22
|
*
|
|
18
23
|
*/
|
|
19
24
|
export class NodeRoutesApi extends runtime.BaseAPI {
|
|
20
25
|
/**
|
|
21
|
-
*
|
|
22
|
-
* Get the node health information
|
|
26
|
+
* Creates request options for getNodeHealth without sending the request
|
|
23
27
|
*/
|
|
24
|
-
async
|
|
28
|
+
async getNodeHealthRequestOpts() {
|
|
25
29
|
const queryParameters = {};
|
|
26
30
|
const headerParameters = {};
|
|
27
31
|
let urlPath = `/node/health`;
|
|
28
|
-
|
|
32
|
+
return {
|
|
29
33
|
path: urlPath,
|
|
30
34
|
method: 'GET',
|
|
31
35
|
headers: headerParameters,
|
|
32
36
|
query: queryParameters,
|
|
33
|
-
}
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Supplies information regarding the connection and services status.
|
|
41
|
+
* Get the node health information
|
|
42
|
+
*/
|
|
43
|
+
async getNodeHealthRaw(initOverrides) {
|
|
44
|
+
const requestOptions = await this.getNodeHealthRequestOpts();
|
|
45
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
34
46
|
return new runtime.JSONApiResponse(response, (jsonValue) => NodeHealthInfoDTOFromJSON(jsonValue));
|
|
35
47
|
}
|
|
36
48
|
/**
|
|
@@ -42,19 +54,26 @@ export class NodeRoutesApi extends runtime.BaseAPI {
|
|
|
42
54
|
return await response.value();
|
|
43
55
|
}
|
|
44
56
|
/**
|
|
45
|
-
*
|
|
46
|
-
* Get the node information
|
|
57
|
+
* Creates request options for getNodeInfo without sending the request
|
|
47
58
|
*/
|
|
48
|
-
async
|
|
59
|
+
async getNodeInfoRequestOpts() {
|
|
49
60
|
const queryParameters = {};
|
|
50
61
|
const headerParameters = {};
|
|
51
62
|
let urlPath = `/node/info`;
|
|
52
|
-
|
|
63
|
+
return {
|
|
53
64
|
path: urlPath,
|
|
54
65
|
method: 'GET',
|
|
55
66
|
headers: headerParameters,
|
|
56
67
|
query: queryParameters,
|
|
57
|
-
}
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Supplies additional information about the application running on a node.
|
|
72
|
+
* Get the node information
|
|
73
|
+
*/
|
|
74
|
+
async getNodeInfoRaw(initOverrides) {
|
|
75
|
+
const requestOptions = await this.getNodeInfoRequestOpts();
|
|
76
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
58
77
|
return new runtime.JSONApiResponse(response, (jsonValue) => NodeInfoDTOFromJSON(jsonValue));
|
|
59
78
|
}
|
|
60
79
|
/**
|
|
@@ -66,19 +85,26 @@ export class NodeRoutesApi extends runtime.BaseAPI {
|
|
|
66
85
|
return await response.value();
|
|
67
86
|
}
|
|
68
87
|
/**
|
|
69
|
-
*
|
|
70
|
-
* Retrieve node metadata
|
|
88
|
+
* Creates request options for getNodeMetadata without sending the request
|
|
71
89
|
*/
|
|
72
|
-
async
|
|
90
|
+
async getNodeMetadataRequestOpts() {
|
|
73
91
|
const queryParameters = {};
|
|
74
92
|
const headerParameters = {};
|
|
75
93
|
let urlPath = `/node/metadata`;
|
|
76
|
-
|
|
94
|
+
return {
|
|
77
95
|
path: urlPath,
|
|
78
96
|
method: 'GET',
|
|
79
97
|
headers: headerParameters,
|
|
80
98
|
query: queryParameters,
|
|
81
|
-
}
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Gets the node metadata information that has been set by the node operator. **How to set:** Add a top-level `nodeMetadata` object in the REST server JSON configuration file. Example: ```json { \"nodeMetadata\": { \"deploymentTool\": \"symbol-shoestring\", \"version\": \"1.0.0\", \"customLabel\": \"my-node\" } } ``` The entire `nodeMetadata` object is served as-is; add any key-value pairs to personalize your node.
|
|
103
|
+
* Retrieve node metadata
|
|
104
|
+
*/
|
|
105
|
+
async getNodeMetadataRaw(initOverrides) {
|
|
106
|
+
const requestOptions = await this.getNodeMetadataRequestOpts();
|
|
107
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
82
108
|
return new runtime.JSONApiResponse(response);
|
|
83
109
|
}
|
|
84
110
|
/**
|
|
@@ -90,19 +116,26 @@ export class NodeRoutesApi extends runtime.BaseAPI {
|
|
|
90
116
|
return await response.value();
|
|
91
117
|
}
|
|
92
118
|
/**
|
|
93
|
-
*
|
|
94
|
-
* Get peers information
|
|
119
|
+
* Creates request options for getNodePeers without sending the request
|
|
95
120
|
*/
|
|
96
|
-
async
|
|
121
|
+
async getNodePeersRequestOpts() {
|
|
97
122
|
const queryParameters = {};
|
|
98
123
|
const headerParameters = {};
|
|
99
124
|
let urlPath = `/node/peers`;
|
|
100
|
-
|
|
125
|
+
return {
|
|
101
126
|
path: urlPath,
|
|
102
127
|
method: 'GET',
|
|
103
128
|
headers: headerParameters,
|
|
104
129
|
query: queryParameters,
|
|
105
|
-
}
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Gets the list of peers visible by the node.
|
|
134
|
+
* Get peers information
|
|
135
|
+
*/
|
|
136
|
+
async getNodePeersRaw(initOverrides) {
|
|
137
|
+
const requestOptions = await this.getNodePeersRequestOpts();
|
|
138
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
106
139
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(NodeInfoDTOFromJSON));
|
|
107
140
|
}
|
|
108
141
|
/**
|
|
@@ -114,19 +147,26 @@ export class NodeRoutesApi extends runtime.BaseAPI {
|
|
|
114
147
|
return await response.value();
|
|
115
148
|
}
|
|
116
149
|
/**
|
|
117
|
-
*
|
|
118
|
-
* Get the storage information of the node
|
|
150
|
+
* Creates request options for getNodeStorage without sending the request
|
|
119
151
|
*/
|
|
120
|
-
async
|
|
152
|
+
async getNodeStorageRequestOpts() {
|
|
121
153
|
const queryParameters = {};
|
|
122
154
|
const headerParameters = {};
|
|
123
155
|
let urlPath = `/node/storage`;
|
|
124
|
-
|
|
156
|
+
return {
|
|
125
157
|
path: urlPath,
|
|
126
158
|
method: 'GET',
|
|
127
159
|
headers: headerParameters,
|
|
128
160
|
query: queryParameters,
|
|
129
|
-
}
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Returns estimated counts of blocks, transactions, and accounts in the REST server\'s MongoDB database, along with database size statistics (`db.stats()`).
|
|
165
|
+
* Get the storage information of the node
|
|
166
|
+
*/
|
|
167
|
+
async getNodeStorageRaw(initOverrides) {
|
|
168
|
+
const requestOptions = await this.getNodeStorageRequestOpts();
|
|
169
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
130
170
|
return new runtime.JSONApiResponse(response, (jsonValue) => StorageInfoDTOFromJSON(jsonValue));
|
|
131
171
|
}
|
|
132
172
|
/**
|
|
@@ -138,19 +178,26 @@ export class NodeRoutesApi extends runtime.BaseAPI {
|
|
|
138
178
|
return await response.value();
|
|
139
179
|
}
|
|
140
180
|
/**
|
|
141
|
-
*
|
|
142
|
-
* Get the node time
|
|
181
|
+
* Creates request options for getNodeTime without sending the request
|
|
143
182
|
*/
|
|
144
|
-
async
|
|
183
|
+
async getNodeTimeRequestOpts() {
|
|
145
184
|
const queryParameters = {};
|
|
146
185
|
const headerParameters = {};
|
|
147
186
|
let urlPath = `/node/time`;
|
|
148
|
-
|
|
187
|
+
return {
|
|
149
188
|
path: urlPath,
|
|
150
189
|
method: 'GET',
|
|
151
190
|
headers: headerParameters,
|
|
152
191
|
query: queryParameters,
|
|
153
|
-
}
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Gets the node time at the moment the reply was sent and received.
|
|
196
|
+
* Get the node time
|
|
197
|
+
*/
|
|
198
|
+
async getNodeTimeRaw(initOverrides) {
|
|
199
|
+
const requestOptions = await this.getNodeTimeRequestOpts();
|
|
200
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
154
201
|
return new runtime.JSONApiResponse(response, (jsonValue) => NodeTimeDTOFromJSON(jsonValue));
|
|
155
202
|
}
|
|
156
203
|
/**
|
|
@@ -162,19 +209,26 @@ export class NodeRoutesApi extends runtime.BaseAPI {
|
|
|
162
209
|
return await response.value();
|
|
163
210
|
}
|
|
164
211
|
/**
|
|
165
|
-
*
|
|
166
|
-
* Get the version of the running REST component
|
|
212
|
+
* Creates request options for getServerInfo without sending the request
|
|
167
213
|
*/
|
|
168
|
-
async
|
|
214
|
+
async getServerInfoRequestOpts() {
|
|
169
215
|
const queryParameters = {};
|
|
170
216
|
const headerParameters = {};
|
|
171
217
|
let urlPath = `/node/server`;
|
|
172
|
-
|
|
218
|
+
return {
|
|
173
219
|
path: urlPath,
|
|
174
220
|
method: 'GET',
|
|
175
221
|
headers: headerParameters,
|
|
176
222
|
query: queryParameters,
|
|
177
|
-
}
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Returns the version of the running catapult-rest component.
|
|
227
|
+
* Get the version of the running REST component
|
|
228
|
+
*/
|
|
229
|
+
async getServerInfoRaw(initOverrides) {
|
|
230
|
+
const requestOptions = await this.getServerInfoRequestOpts();
|
|
231
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
178
232
|
return new runtime.JSONApiResponse(response, (jsonValue) => ServerInfoDTOFromJSON(jsonValue));
|
|
179
233
|
}
|
|
180
234
|
/**
|
|
@@ -186,19 +240,26 @@ export class NodeRoutesApi extends runtime.BaseAPI {
|
|
|
186
240
|
return await response.value();
|
|
187
241
|
}
|
|
188
242
|
/**
|
|
189
|
-
*
|
|
190
|
-
* Get the unlocked harvesting account public keys
|
|
243
|
+
* Creates request options for getUnlockedAccount without sending the request
|
|
191
244
|
*/
|
|
192
|
-
async
|
|
245
|
+
async getUnlockedAccountRequestOpts() {
|
|
193
246
|
const queryParameters = {};
|
|
194
247
|
const headerParameters = {};
|
|
195
248
|
let urlPath = `/node/unlockedaccount`;
|
|
196
|
-
|
|
249
|
+
return {
|
|
197
250
|
path: urlPath,
|
|
198
251
|
method: 'GET',
|
|
199
252
|
headers: headerParameters,
|
|
200
253
|
query: queryParameters,
|
|
201
|
-
}
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* Returns array of unlocked account public keys.
|
|
258
|
+
* Get the unlocked harvesting account public keys
|
|
259
|
+
*/
|
|
260
|
+
async getUnlockedAccountRaw(initOverrides) {
|
|
261
|
+
const requestOptions = await this.getUnlockedAccountRequestOpts();
|
|
262
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
202
263
|
return new runtime.JSONApiResponse(response, (jsonValue) => UnlockedAccountDTOFromJSON(jsonValue));
|
|
203
264
|
}
|
|
204
265
|
/**
|