@nemtus/symbol-rest-api-client-fetch 1.0.1 → 1.0.2
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
|
@@ -22,56 +22,33 @@ import type { ReceiptTypeEnum } from './ReceiptTypeEnum';
|
|
|
22
22
|
export interface BalanceTransferReceiptDTO {
|
|
23
23
|
/**
|
|
24
24
|
* Version of the receipt format.
|
|
25
|
-
* @type {number}
|
|
26
|
-
* @memberof BalanceTransferReceiptDTO
|
|
27
25
|
*/
|
|
28
26
|
version: number;
|
|
29
27
|
/**
|
|
30
28
|
*
|
|
31
|
-
* @type {ReceiptTypeEnum}
|
|
32
|
-
* @memberof BalanceTransferReceiptDTO
|
|
33
29
|
*/
|
|
34
30
|
type: ReceiptTypeEnum;
|
|
35
31
|
/**
|
|
36
|
-
*
|
|
37
|
-
* A 64-bit unsigned integer derived from the creator's address and a registration nonce,
|
|
38
|
-
* encoded as a 16-character hexadecimal string.
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof BalanceTransferReceiptDTO
|
|
32
|
+
* Identifier of the transferred mosaic.
|
|
42
33
|
*/
|
|
43
34
|
mosaicId: string;
|
|
44
35
|
/**
|
|
45
|
-
*
|
|
46
|
-
* For example, an amount of `123456789` for a mosaic with divisibility 6 represents
|
|
47
|
-
* `123.456789` whole units. Encoded as a string to preserve precision, since the value
|
|
48
|
-
* is an unsigned 64-bit integer.
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof BalanceTransferReceiptDTO
|
|
36
|
+
* Amount of mosaic units transferred, expressed in the mosaic's smallest (atomic) unit.
|
|
52
37
|
*/
|
|
53
38
|
amount: string;
|
|
54
39
|
/**
|
|
55
|
-
* Address
|
|
56
|
-
* The REST API returns addresses in this format. For Base32-encoded addresses (39 chars) see `Address`.
|
|
57
|
-
*
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof BalanceTransferReceiptDTO
|
|
40
|
+
* Address from which the mosaic balance was transferred.
|
|
60
41
|
*/
|
|
61
42
|
senderAddress: string;
|
|
62
43
|
/**
|
|
63
|
-
* Address
|
|
64
|
-
* The REST API returns addresses in this format. For Base32-encoded addresses (39 chars) see `Address`.
|
|
65
|
-
*
|
|
66
|
-
* @type {string}
|
|
67
|
-
* @memberof BalanceTransferReceiptDTO
|
|
44
|
+
* Address that received the mosaic balance.
|
|
68
45
|
*/
|
|
69
46
|
recipientAddress: string;
|
|
70
47
|
}
|
|
71
48
|
/**
|
|
72
49
|
* Check if a given object implements the BalanceTransferReceiptDTO interface.
|
|
73
50
|
*/
|
|
74
|
-
export declare function instanceOfBalanceTransferReceiptDTO(value:
|
|
51
|
+
export declare function instanceOfBalanceTransferReceiptDTO(value: object): value is BalanceTransferReceiptDTO;
|
|
75
52
|
export declare function BalanceTransferReceiptDTOFromJSON(json: any): BalanceTransferReceiptDTO;
|
|
76
53
|
export declare function BalanceTransferReceiptDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): BalanceTransferReceiptDTO;
|
|
77
54
|
export declare function BalanceTransferReceiptDTOToJSON(json: any): BalanceTransferReceiptDTO;
|
|
@@ -21,11 +21,9 @@ import type { NetworkTypeEnum } from './NetworkTypeEnum';
|
|
|
21
21
|
*/
|
|
22
22
|
export interface BlockDTO {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
24
|
+
* Total size of the serialized entity in bytes. Includes the full binary payload,
|
|
25
|
+
* including the 4-byte size field itself.
|
|
26
26
|
*
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof BlockDTO
|
|
29
27
|
*/
|
|
30
28
|
size: number;
|
|
31
29
|
/**
|
|
@@ -33,40 +31,28 @@ export interface BlockDTO {
|
|
|
33
31
|
* over the serialized entity payload. Can be verified with the signer's public key (`signerPublicKey`).
|
|
34
32
|
* Used for blocks, transactions, and cosignatures.
|
|
35
33
|
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof BlockDTO
|
|
38
34
|
*/
|
|
39
35
|
signature: string;
|
|
40
36
|
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof BlockDTO
|
|
37
|
+
* Public key of the account that signed the entity (e.g. block harvester, transaction signer).
|
|
44
38
|
*/
|
|
45
39
|
signerPublicKey: string;
|
|
46
40
|
/**
|
|
47
41
|
* Entity version. Indicates the schema variant for serialization and validation.
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof BlockDTO
|
|
50
42
|
*/
|
|
51
43
|
version: number;
|
|
52
44
|
/**
|
|
53
45
|
* Network type (mainnet or testnet). Ensures the entity targets the correct network.
|
|
54
|
-
* @type {NetworkTypeEnum}
|
|
55
|
-
* @memberof BlockDTO
|
|
56
46
|
*/
|
|
57
47
|
network: NetworkTypeEnum;
|
|
58
48
|
/**
|
|
59
49
|
* Entity type identifier (e.g. transaction type code, block type). Determines the entity schema.
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof BlockDTO
|
|
62
50
|
*/
|
|
63
51
|
type: number;
|
|
64
52
|
/**
|
|
65
53
|
* Height of a block in the blockchain. Starts at 1 and increments by one per block.
|
|
66
54
|
* Represented as a string to preserve precision, since the value is an unsigned 64-bit integer.
|
|
67
55
|
*
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof BlockDTO
|
|
70
56
|
*/
|
|
71
57
|
height: string;
|
|
72
58
|
/**
|
|
@@ -81,8 +67,6 @@ export interface BlockDTO {
|
|
|
81
67
|
* **Converting to real time:** Add this timestamp (ms) to `epochAdjustment × 1000` (ms), then use standard date functions.
|
|
82
68
|
* Note: `epochAdjustment` may be returned as a string like `"1615853185s"`; use the numeric part.
|
|
83
69
|
*
|
|
84
|
-
* @type {string}
|
|
85
|
-
* @memberof BlockDTO
|
|
86
70
|
*/
|
|
87
71
|
timestamp: string;
|
|
88
72
|
/**
|
|
@@ -95,8 +79,6 @@ export interface BlockDTO {
|
|
|
95
79
|
* [Technical Reference](https://symbol.github.io/symbol-technicalref/main.pdf) section 8.1.
|
|
96
80
|
* Represented as a string to preserve precision (unsigned 64-bit integer).
|
|
97
81
|
*
|
|
98
|
-
* @type {string}
|
|
99
|
-
* @memberof BlockDTO
|
|
100
82
|
*/
|
|
101
83
|
difficulty: string;
|
|
102
84
|
/**
|
|
@@ -105,8 +87,6 @@ export interface BlockDTO {
|
|
|
105
87
|
* The gamma value is the first component of the VRF output; it is combined with
|
|
106
88
|
* `proofScalar` and `proofVerificationHash` to form the complete verifiable proof.
|
|
107
89
|
*
|
|
108
|
-
* @type {string}
|
|
109
|
-
* @memberof BlockDTO
|
|
110
90
|
*/
|
|
111
91
|
proofGamma: string;
|
|
112
92
|
/**
|
|
@@ -117,8 +97,6 @@ export interface BlockDTO {
|
|
|
117
97
|
* allows anyone with the VRF public key to verify that the proof was correctly computed
|
|
118
98
|
* without revealing the private key.
|
|
119
99
|
*
|
|
120
|
-
* @type {string}
|
|
121
|
-
* @memberof BlockDTO
|
|
122
100
|
*/
|
|
123
101
|
proofVerificationHash: string;
|
|
124
102
|
/**
|
|
@@ -127,40 +105,27 @@ export interface BlockDTO {
|
|
|
127
105
|
* The scalar proves that the gamma value was correctly derived from the VRF input
|
|
128
106
|
* without revealing the harvester's private key.
|
|
129
107
|
*
|
|
130
|
-
* @type {string}
|
|
131
|
-
* @memberof BlockDTO
|
|
132
108
|
*/
|
|
133
109
|
proofScalar: string;
|
|
134
110
|
/**
|
|
135
111
|
* 256-bit hash encoded as a 64-character hexadecimal string.
|
|
136
|
-
* @type {string}
|
|
137
|
-
* @memberof BlockDTO
|
|
138
112
|
*/
|
|
139
113
|
previousBlockHash: string;
|
|
140
114
|
/**
|
|
141
|
-
*
|
|
142
|
-
* @type {string}
|
|
143
|
-
* @memberof BlockDTO
|
|
115
|
+
* Merkle root hash of the transactions in this block.
|
|
144
116
|
*/
|
|
145
117
|
transactionsHash: string;
|
|
146
118
|
/**
|
|
147
|
-
*
|
|
148
|
-
* @type {string}
|
|
149
|
-
* @memberof BlockDTO
|
|
119
|
+
* Merkle root hash of the receipts generated by this block.
|
|
150
120
|
*/
|
|
151
121
|
receiptsHash: string;
|
|
152
122
|
/**
|
|
153
|
-
*
|
|
154
|
-
* @type {string}
|
|
155
|
-
* @memberof BlockDTO
|
|
123
|
+
* Hash of the global chain state at this block.
|
|
156
124
|
*/
|
|
157
125
|
stateHash: string;
|
|
158
126
|
/**
|
|
159
|
-
* Address
|
|
160
|
-
* The REST API returns addresses in this format. For Base32-encoded addresses (39 chars) see `Address`.
|
|
127
|
+
* Address of the optional beneficiary designated by the harvester. Returned as 48-character hex (24 bytes).
|
|
161
128
|
*
|
|
162
|
-
* @type {string}
|
|
163
|
-
* @memberof BlockDTO
|
|
164
129
|
*/
|
|
165
130
|
beneficiaryAddress: string;
|
|
166
131
|
/**
|
|
@@ -177,15 +142,13 @@ export interface BlockDTO {
|
|
|
177
142
|
* via `/network/fees/transaction`; using `medianFeeMultiplier` or higher
|
|
178
143
|
* improves chances of inclusion. See the [fees documentation](https://docs.symbol.dev/concepts/fees.html).
|
|
179
144
|
*
|
|
180
|
-
* @type {number}
|
|
181
|
-
* @memberof BlockDTO
|
|
182
145
|
*/
|
|
183
146
|
feeMultiplier: number;
|
|
184
147
|
}
|
|
185
148
|
/**
|
|
186
149
|
* Check if a given object implements the BlockDTO interface.
|
|
187
150
|
*/
|
|
188
|
-
export declare function instanceOfBlockDTO(value:
|
|
151
|
+
export declare function instanceOfBlockDTO(value: object): value is BlockDTO;
|
|
189
152
|
export declare function BlockDTOFromJSON(json: any): BlockDTO;
|
|
190
153
|
export declare function BlockDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlockDTO;
|
|
191
154
|
export declare function BlockDTOToJSON(json: any): BlockDTO;
|
|
@@ -21,27 +21,21 @@ export interface BlockInfoDTO {
|
|
|
21
21
|
* Unique identifier of the object in the node's database (MongoDB ObjectId).
|
|
22
22
|
* Used as the `offset` parameter value for cursor-based pagination.
|
|
23
23
|
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof BlockInfoDTO
|
|
26
24
|
*/
|
|
27
25
|
id: string;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {BlockMetaDTO}
|
|
31
|
-
* @memberof BlockInfoDTO
|
|
32
28
|
*/
|
|
33
29
|
meta: BlockMetaDTO;
|
|
34
30
|
/**
|
|
35
31
|
*
|
|
36
|
-
* @type {BlockInfoDTOBlock}
|
|
37
|
-
* @memberof BlockInfoDTO
|
|
38
32
|
*/
|
|
39
33
|
block: BlockInfoDTOBlock;
|
|
40
34
|
}
|
|
41
35
|
/**
|
|
42
36
|
* Check if a given object implements the BlockInfoDTO interface.
|
|
43
37
|
*/
|
|
44
|
-
export declare function instanceOfBlockInfoDTO(value:
|
|
38
|
+
export declare function instanceOfBlockInfoDTO(value: object): value is BlockInfoDTO;
|
|
45
39
|
export declare function BlockInfoDTOFromJSON(json: any): BlockInfoDTO;
|
|
46
40
|
export declare function BlockInfoDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlockInfoDTO;
|
|
47
41
|
export declare function BlockInfoDTOToJSON(json: any): BlockInfoDTO;
|
|
@@ -17,11 +17,9 @@ import type { NetworkTypeEnum } from './NetworkTypeEnum';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface BlockInfoDTOBlock {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
*
|
|
20
|
+
* Total size of the serialized entity in bytes. Includes the full binary payload,
|
|
21
|
+
* including the 4-byte size field itself.
|
|
22
22
|
*
|
|
23
|
-
* @type {number}
|
|
24
|
-
* @memberof BlockInfoDTOBlock
|
|
25
23
|
*/
|
|
26
24
|
size: number;
|
|
27
25
|
/**
|
|
@@ -29,40 +27,28 @@ export interface BlockInfoDTOBlock {
|
|
|
29
27
|
* over the serialized entity payload. Can be verified with the signer's public key (`signerPublicKey`).
|
|
30
28
|
* Used for blocks, transactions, and cosignatures.
|
|
31
29
|
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof BlockInfoDTOBlock
|
|
34
30
|
*/
|
|
35
31
|
signature: string;
|
|
36
32
|
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof BlockInfoDTOBlock
|
|
33
|
+
* Public key of the account that signed the entity (e.g. block harvester, transaction signer).
|
|
40
34
|
*/
|
|
41
35
|
signerPublicKey: string;
|
|
42
36
|
/**
|
|
43
37
|
* Entity version. Indicates the schema variant for serialization and validation.
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof BlockInfoDTOBlock
|
|
46
38
|
*/
|
|
47
39
|
version: number;
|
|
48
40
|
/**
|
|
49
41
|
* Network type (mainnet or testnet). Ensures the entity targets the correct network.
|
|
50
|
-
* @type {NetworkTypeEnum}
|
|
51
|
-
* @memberof BlockInfoDTOBlock
|
|
52
42
|
*/
|
|
53
43
|
network: NetworkTypeEnum;
|
|
54
44
|
/**
|
|
55
45
|
* Entity type identifier (e.g. transaction type code, block type). Determines the entity schema.
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof BlockInfoDTOBlock
|
|
58
46
|
*/
|
|
59
47
|
type: number;
|
|
60
48
|
/**
|
|
61
49
|
* Height of a block in the blockchain. Starts at 1 and increments by one per block.
|
|
62
50
|
* Represented as a string to preserve precision, since the value is an unsigned 64-bit integer.
|
|
63
51
|
*
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof BlockInfoDTOBlock
|
|
66
52
|
*/
|
|
67
53
|
height: string;
|
|
68
54
|
/**
|
|
@@ -77,8 +63,6 @@ export interface BlockInfoDTOBlock {
|
|
|
77
63
|
* **Converting to real time:** Add this timestamp (ms) to `epochAdjustment × 1000` (ms), then use standard date functions.
|
|
78
64
|
* Note: `epochAdjustment` may be returned as a string like `"1615853185s"`; use the numeric part.
|
|
79
65
|
*
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof BlockInfoDTOBlock
|
|
82
66
|
*/
|
|
83
67
|
timestamp: string;
|
|
84
68
|
/**
|
|
@@ -91,8 +75,6 @@ export interface BlockInfoDTOBlock {
|
|
|
91
75
|
* [Technical Reference](https://symbol.github.io/symbol-technicalref/main.pdf) section 8.1.
|
|
92
76
|
* Represented as a string to preserve precision (unsigned 64-bit integer).
|
|
93
77
|
*
|
|
94
|
-
* @type {string}
|
|
95
|
-
* @memberof BlockInfoDTOBlock
|
|
96
78
|
*/
|
|
97
79
|
difficulty: string;
|
|
98
80
|
/**
|
|
@@ -101,8 +83,6 @@ export interface BlockInfoDTOBlock {
|
|
|
101
83
|
* The gamma value is the first component of the VRF output; it is combined with
|
|
102
84
|
* `proofScalar` and `proofVerificationHash` to form the complete verifiable proof.
|
|
103
85
|
*
|
|
104
|
-
* @type {string}
|
|
105
|
-
* @memberof BlockInfoDTOBlock
|
|
106
86
|
*/
|
|
107
87
|
proofGamma: string;
|
|
108
88
|
/**
|
|
@@ -113,8 +93,6 @@ export interface BlockInfoDTOBlock {
|
|
|
113
93
|
* allows anyone with the VRF public key to verify that the proof was correctly computed
|
|
114
94
|
* without revealing the private key.
|
|
115
95
|
*
|
|
116
|
-
* @type {string}
|
|
117
|
-
* @memberof BlockInfoDTOBlock
|
|
118
96
|
*/
|
|
119
97
|
proofVerificationHash: string;
|
|
120
98
|
/**
|
|
@@ -123,40 +101,27 @@ export interface BlockInfoDTOBlock {
|
|
|
123
101
|
* The scalar proves that the gamma value was correctly derived from the VRF input
|
|
124
102
|
* without revealing the harvester's private key.
|
|
125
103
|
*
|
|
126
|
-
* @type {string}
|
|
127
|
-
* @memberof BlockInfoDTOBlock
|
|
128
104
|
*/
|
|
129
105
|
proofScalar: string;
|
|
130
106
|
/**
|
|
131
107
|
* 256-bit hash encoded as a 64-character hexadecimal string.
|
|
132
|
-
* @type {string}
|
|
133
|
-
* @memberof BlockInfoDTOBlock
|
|
134
108
|
*/
|
|
135
109
|
previousBlockHash: string;
|
|
136
110
|
/**
|
|
137
|
-
*
|
|
138
|
-
* @type {string}
|
|
139
|
-
* @memberof BlockInfoDTOBlock
|
|
111
|
+
* Merkle root hash of the transactions in this block.
|
|
140
112
|
*/
|
|
141
113
|
transactionsHash: string;
|
|
142
114
|
/**
|
|
143
|
-
*
|
|
144
|
-
* @type {string}
|
|
145
|
-
* @memberof BlockInfoDTOBlock
|
|
115
|
+
* Merkle root hash of the receipts generated by this block.
|
|
146
116
|
*/
|
|
147
117
|
receiptsHash: string;
|
|
148
118
|
/**
|
|
149
|
-
*
|
|
150
|
-
* @type {string}
|
|
151
|
-
* @memberof BlockInfoDTOBlock
|
|
119
|
+
* Hash of the global chain state at this block.
|
|
152
120
|
*/
|
|
153
121
|
stateHash: string;
|
|
154
122
|
/**
|
|
155
|
-
* Address
|
|
156
|
-
* The REST API returns addresses in this format. For Base32-encoded addresses (39 chars) see `Address`.
|
|
123
|
+
* Address of the optional beneficiary designated by the harvester. Returned as 48-character hex (24 bytes).
|
|
157
124
|
*
|
|
158
|
-
* @type {string}
|
|
159
|
-
* @memberof BlockInfoDTOBlock
|
|
160
125
|
*/
|
|
161
126
|
beneficiaryAddress: string;
|
|
162
127
|
/**
|
|
@@ -173,46 +138,29 @@ export interface BlockInfoDTOBlock {
|
|
|
173
138
|
* via `/network/fees/transaction`; using `medianFeeMultiplier` or higher
|
|
174
139
|
* improves chances of inclusion. See the [fees documentation](https://docs.symbol.dev/concepts/fees.html).
|
|
175
140
|
*
|
|
176
|
-
* @type {number}
|
|
177
|
-
* @memberof BlockInfoDTOBlock
|
|
178
141
|
*/
|
|
179
142
|
feeMultiplier: number;
|
|
180
143
|
/**
|
|
181
|
-
*
|
|
182
|
-
* Represented as integer since it fits in JSON number precision.
|
|
183
|
-
*
|
|
184
|
-
* @type {number}
|
|
185
|
-
* @memberof BlockInfoDTOBlock
|
|
144
|
+
* Number of accounts eligible for finalization voting at this block.
|
|
186
145
|
*/
|
|
187
146
|
votingEligibleAccountsCount: number;
|
|
188
147
|
/**
|
|
189
|
-
*
|
|
190
|
-
*
|
|
191
|
-
* @type {string}
|
|
192
|
-
* @memberof BlockInfoDTOBlock
|
|
148
|
+
* Number of accounts eligible for harvesting at this block.
|
|
193
149
|
*/
|
|
194
150
|
harvestingEligibleAccountsCount: string;
|
|
195
151
|
/**
|
|
196
|
-
*
|
|
197
|
-
* For example, an amount of `123456789` for a mosaic with divisibility 6 represents
|
|
198
|
-
* `123.456789` whole units. Encoded as a string to preserve precision, since the value
|
|
199
|
-
* is an unsigned 64-bit integer.
|
|
200
|
-
*
|
|
201
|
-
* @type {string}
|
|
202
|
-
* @memberof BlockInfoDTOBlock
|
|
152
|
+
* Total balance (in smallest/atomic units) eligible for finalization voting.
|
|
203
153
|
*/
|
|
204
154
|
totalVotingBalance: string;
|
|
205
155
|
/**
|
|
206
|
-
*
|
|
207
|
-
* @type {string}
|
|
208
|
-
* @memberof BlockInfoDTOBlock
|
|
156
|
+
* Hash of the previous importance block.
|
|
209
157
|
*/
|
|
210
158
|
previousImportanceBlockHash: string;
|
|
211
159
|
}
|
|
212
160
|
/**
|
|
213
161
|
* Check if a given object implements the BlockInfoDTOBlock interface.
|
|
214
162
|
*/
|
|
215
|
-
export declare function instanceOfBlockInfoDTOBlock(value:
|
|
163
|
+
export declare function instanceOfBlockInfoDTOBlock(value: object): value is BlockInfoDTOBlock;
|
|
216
164
|
export declare function BlockInfoDTOBlockFromJSON(json: any): BlockInfoDTOBlock;
|
|
217
165
|
export declare function BlockInfoDTOBlockFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlockInfoDTOBlock;
|
|
218
166
|
export declare function BlockInfoDTOBlockToJSON(json: any): BlockInfoDTOBlock;
|
|
@@ -17,30 +17,18 @@
|
|
|
17
17
|
export interface BlockMetaDTO {
|
|
18
18
|
/**
|
|
19
19
|
* 256-bit hash encoded as a 64-character hexadecimal string.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof BlockMetaDTO
|
|
22
20
|
*/
|
|
23
21
|
hash: string;
|
|
24
22
|
/**
|
|
25
|
-
*
|
|
26
|
-
* For example, an amount of `123456789` for a mosaic with divisibility 6 represents
|
|
27
|
-
* `123.456789` whole units. Encoded as a string to preserve precision, since the value
|
|
28
|
-
* is an unsigned 64-bit integer.
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof BlockMetaDTO
|
|
23
|
+
* Sum (in smallest/atomic units) of all transaction fees included in the block.
|
|
32
24
|
*/
|
|
33
25
|
totalFee: string;
|
|
34
26
|
/**
|
|
35
27
|
* 256-bit hash encoded as a 64-character hexadecimal string.
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof BlockMetaDTO
|
|
38
28
|
*/
|
|
39
29
|
generationHash: string;
|
|
40
30
|
/**
|
|
41
31
|
* Merkle roots of each sub-cache at this block height.
|
|
42
|
-
* @type {Array<string>}
|
|
43
|
-
* @memberof BlockMetaDTO
|
|
44
32
|
*/
|
|
45
33
|
stateHashSubCacheMerkleRoots: Array<string>;
|
|
46
34
|
/**
|
|
@@ -48,8 +36,6 @@ export interface BlockMetaDTO {
|
|
|
48
36
|
* confirmed in this block, including *embedded* transactions
|
|
49
37
|
* (i.e. transactions contained within aggregate transactions).
|
|
50
38
|
*
|
|
51
|
-
* @type {number}
|
|
52
|
-
* @memberof BlockMetaDTO
|
|
53
39
|
*/
|
|
54
40
|
totalTransactionsCount: number;
|
|
55
41
|
/**
|
|
@@ -57,8 +43,6 @@ export interface BlockMetaDTO {
|
|
|
57
43
|
* confirmed in this block. This does not count *embedded* transactions
|
|
58
44
|
* (i.e. transactions contained within aggregate transactions).
|
|
59
45
|
*
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof BlockMetaDTO
|
|
62
46
|
*/
|
|
63
47
|
transactionsCount: number;
|
|
64
48
|
/**
|
|
@@ -69,15 +53,13 @@ export interface BlockMetaDTO {
|
|
|
69
53
|
* [transaction statements](https://docs.symbol.dev/concepts/receipt.html#transaction-statement)
|
|
70
54
|
* are not.
|
|
71
55
|
*
|
|
72
|
-
* @type {number}
|
|
73
|
-
* @memberof BlockMetaDTO
|
|
74
56
|
*/
|
|
75
57
|
statementsCount: number;
|
|
76
58
|
}
|
|
77
59
|
/**
|
|
78
60
|
* Check if a given object implements the BlockMetaDTO interface.
|
|
79
61
|
*/
|
|
80
|
-
export declare function instanceOfBlockMetaDTO(value:
|
|
62
|
+
export declare function instanceOfBlockMetaDTO(value: object): value is BlockMetaDTO;
|
|
81
63
|
export declare function BlockMetaDTOFromJSON(json: any): BlockMetaDTO;
|
|
82
64
|
export declare function BlockMetaDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlockMetaDTO;
|
|
83
65
|
export declare function BlockMetaDTOToJSON(json: any): BlockMetaDTO;
|
|
@@ -28,7 +28,7 @@ exports.BlockOrderByEnumToJSONTyped = BlockOrderByEnumToJSONTyped;
|
|
|
28
28
|
*/
|
|
29
29
|
exports.BlockOrderByEnum = {
|
|
30
30
|
Id: 'id',
|
|
31
|
-
Height: 'height'
|
|
31
|
+
Height: 'height',
|
|
32
32
|
};
|
|
33
33
|
function instanceOfBlockOrderByEnum(value) {
|
|
34
34
|
for (const key in exports.BlockOrderByEnum) {
|
|
@@ -19,21 +19,17 @@ import type { BlockInfoDTO } from './BlockInfoDTO';
|
|
|
19
19
|
export interface BlockPage {
|
|
20
20
|
/**
|
|
21
21
|
* Array of block information objects.
|
|
22
|
-
* @type {Array<BlockInfoDTO>}
|
|
23
|
-
* @memberof BlockPage
|
|
24
22
|
*/
|
|
25
23
|
data: Array<BlockInfoDTO>;
|
|
26
24
|
/**
|
|
27
25
|
*
|
|
28
|
-
* @type {Pagination}
|
|
29
|
-
* @memberof BlockPage
|
|
30
26
|
*/
|
|
31
27
|
pagination: Pagination;
|
|
32
28
|
}
|
|
33
29
|
/**
|
|
34
30
|
* Check if a given object implements the BlockPage interface.
|
|
35
31
|
*/
|
|
36
|
-
export declare function instanceOfBlockPage(value:
|
|
32
|
+
export declare function instanceOfBlockPage(value: object): value is BlockPage;
|
|
37
33
|
export declare function BlockPageFromJSON(json: any): BlockPage;
|
|
38
34
|
export declare function BlockPageFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlockPage;
|
|
39
35
|
export declare function BlockPageToJSON(json: any): BlockPage;
|
|
@@ -21,21 +21,17 @@ import type { ParentPublicKeySignaturePair } from './ParentPublicKeySignaturePai
|
|
|
21
21
|
export interface BmTreeSignature {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {ParentPublicKeySignaturePair}
|
|
25
|
-
* @memberof BmTreeSignature
|
|
26
24
|
*/
|
|
27
25
|
root: ParentPublicKeySignaturePair;
|
|
28
26
|
/**
|
|
29
27
|
*
|
|
30
|
-
* @type {ParentPublicKeySignaturePair}
|
|
31
|
-
* @memberof BmTreeSignature
|
|
32
28
|
*/
|
|
33
29
|
bottom: ParentPublicKeySignaturePair;
|
|
34
30
|
}
|
|
35
31
|
/**
|
|
36
32
|
* Check if a given object implements the BmTreeSignature interface.
|
|
37
33
|
*/
|
|
38
|
-
export declare function instanceOfBmTreeSignature(value:
|
|
34
|
+
export declare function instanceOfBmTreeSignature(value: object): value is BmTreeSignature;
|
|
39
35
|
export declare function BmTreeSignatureFromJSON(json: any): BmTreeSignature;
|
|
40
36
|
export declare function BmTreeSignatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): BmTreeSignature;
|
|
41
37
|
export declare function BmTreeSignatureToJSON(json: any): BmTreeSignature;
|
|
@@ -18,27 +18,21 @@
|
|
|
18
18
|
export interface BsonLongDTO {
|
|
19
19
|
/**
|
|
20
20
|
* Low 32 bits (signed 32-bit integer in the BSON representation).
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof BsonLongDTO
|
|
23
21
|
*/
|
|
24
22
|
low: number;
|
|
25
23
|
/**
|
|
26
24
|
* High 32 bits (signed 32-bit integer in the BSON representation).
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof BsonLongDTO
|
|
29
25
|
*/
|
|
30
26
|
high: number;
|
|
31
27
|
/**
|
|
32
28
|
* Whether the Long is treated as unsigned in the driver.
|
|
33
|
-
* @type {boolean}
|
|
34
|
-
* @memberof BsonLongDTO
|
|
35
29
|
*/
|
|
36
30
|
unsigned: boolean;
|
|
37
31
|
}
|
|
38
32
|
/**
|
|
39
33
|
* Check if a given object implements the BsonLongDTO interface.
|
|
40
34
|
*/
|
|
41
|
-
export declare function instanceOfBsonLongDTO(value:
|
|
35
|
+
export declare function instanceOfBsonLongDTO(value: object): value is BsonLongDTO;
|
|
42
36
|
export declare function BsonLongDTOFromJSON(json: any): BsonLongDTO;
|
|
43
37
|
export declare function BsonLongDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): BsonLongDTO;
|
|
44
38
|
export declare function BsonLongDTOToJSON(json: any): BsonLongDTO;
|
|
@@ -25,41 +25,30 @@ export interface ChainInfoDTO {
|
|
|
25
25
|
* Height of a block in the blockchain. Starts at 1 and increments by one per block.
|
|
26
26
|
* Represented as a string to preserve precision, since the value is an unsigned 64-bit integer.
|
|
27
27
|
*
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof ChainInfoDTO
|
|
30
28
|
*/
|
|
31
29
|
height: string;
|
|
32
30
|
/**
|
|
33
|
-
* 64
|
|
34
|
-
* `(scoreHigh << 64) + scoreLow`.
|
|
35
|
-
* the
|
|
31
|
+
* High 64 bits of the 128-bit chain score. The full score is
|
|
32
|
+
* `(scoreHigh << 64) + scoreLow`. Split because JSON has no native 128-bit integer;
|
|
33
|
+
* the sum of millions of block scores (difficulty ~1e13 to 1e15) exceeds 64 bits.
|
|
36
34
|
*
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof ChainInfoDTO
|
|
39
35
|
*/
|
|
40
36
|
scoreHigh: string;
|
|
41
37
|
/**
|
|
42
|
-
* 64
|
|
43
|
-
* `(scoreHigh << 64) + scoreLow`. Each block adds `difficulty − time elapsed since previous block`;
|
|
44
|
-
* the chain score is the sum. During synchronization, nodes select the chain with the highest score.
|
|
45
|
-
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof ChainInfoDTO
|
|
38
|
+
* Low 64 bits of the 128-bit chain score.
|
|
48
39
|
*/
|
|
49
40
|
scoreLow: string;
|
|
50
41
|
/**
|
|
51
42
|
* The most recent block that has been made permanent and will never be rolled back.
|
|
52
43
|
* See [finalization](https://docs.symbol.dev/concepts/block.html#finalization).
|
|
53
44
|
*
|
|
54
|
-
* @type {FinalizedBlockDTO}
|
|
55
|
-
* @memberof ChainInfoDTO
|
|
56
45
|
*/
|
|
57
46
|
latestFinalizedBlock: FinalizedBlockDTO;
|
|
58
47
|
}
|
|
59
48
|
/**
|
|
60
49
|
* Check if a given object implements the ChainInfoDTO interface.
|
|
61
50
|
*/
|
|
62
|
-
export declare function instanceOfChainInfoDTO(value:
|
|
51
|
+
export declare function instanceOfChainInfoDTO(value: object): value is ChainInfoDTO;
|
|
63
52
|
export declare function ChainInfoDTOFromJSON(json: any): ChainInfoDTO;
|
|
64
53
|
export declare function ChainInfoDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChainInfoDTO;
|
|
65
54
|
export declare function ChainInfoDTOToJSON(json: any): ChainInfoDTO;
|