@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
|
@@ -57,16 +57,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
57
57
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58
58
|
exports.TransactionStatusRoutesApi = void 0;
|
|
59
59
|
const runtime = __importStar(require("../runtime"));
|
|
60
|
-
const
|
|
60
|
+
const TransactionHashes_1 = require("../models/TransactionHashes");
|
|
61
|
+
const TransactionStatusDTO_1 = require("../models/TransactionStatusDTO");
|
|
61
62
|
/**
|
|
62
63
|
*
|
|
63
64
|
*/
|
|
64
65
|
class TransactionStatusRoutesApi extends runtime.BaseAPI {
|
|
65
66
|
/**
|
|
66
|
-
*
|
|
67
|
-
* Get transaction status
|
|
67
|
+
* Creates request options for getTransactionStatus without sending the request
|
|
68
68
|
*/
|
|
69
|
-
|
|
69
|
+
getTransactionStatusRequestOpts(requestParameters) {
|
|
70
70
|
return __awaiter(this, void 0, void 0, function* () {
|
|
71
71
|
if (requestParameters['hash'] == null) {
|
|
72
72
|
throw new runtime.RequiredError('hash', 'Required parameter "hash" was null or undefined when calling getTransactionStatus().');
|
|
@@ -74,14 +74,24 @@ class TransactionStatusRoutesApi extends runtime.BaseAPI {
|
|
|
74
74
|
const queryParameters = {};
|
|
75
75
|
const headerParameters = {};
|
|
76
76
|
let urlPath = `/transactionStatus/{hash}`;
|
|
77
|
-
urlPath = urlPath.replace(
|
|
78
|
-
|
|
77
|
+
urlPath = urlPath.replace('{hash}', encodeURIComponent(String(requestParameters['hash'])));
|
|
78
|
+
return {
|
|
79
79
|
path: urlPath,
|
|
80
80
|
method: 'GET',
|
|
81
81
|
headers: headerParameters,
|
|
82
82
|
query: queryParameters,
|
|
83
|
-
}
|
|
84
|
-
|
|
83
|
+
};
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Returns the current status of the transaction identified by the given transaction hash. When checking status after announcing a transaction, it is best to query the same node that received the announce request. If that node rejects the transaction before propagation, only that node may know the detailed rejection reason. Other nodes may not know the transaction at all because it was never propagated.
|
|
88
|
+
* Get transaction status
|
|
89
|
+
*/
|
|
90
|
+
getTransactionStatusRaw(requestParameters, initOverrides) {
|
|
91
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
92
|
+
const requestOptions = yield this.getTransactionStatusRequestOpts(requestParameters);
|
|
93
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
94
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, TransactionStatusDTO_1.TransactionStatusDTOFromJSON)(jsonValue));
|
|
85
95
|
});
|
|
86
96
|
}
|
|
87
97
|
/**
|
|
@@ -95,10 +105,9 @@ class TransactionStatusRoutesApi extends runtime.BaseAPI {
|
|
|
95
105
|
});
|
|
96
106
|
}
|
|
97
107
|
/**
|
|
98
|
-
*
|
|
99
|
-
* Get transaction statuses
|
|
108
|
+
* Creates request options for getTransactionStatuses without sending the request
|
|
100
109
|
*/
|
|
101
|
-
|
|
110
|
+
getTransactionStatusesRequestOpts(requestParameters) {
|
|
102
111
|
return __awaiter(this, void 0, void 0, function* () {
|
|
103
112
|
if (requestParameters['transactionHashes'] == null) {
|
|
104
113
|
throw new runtime.RequiredError('transactionHashes', 'Required parameter "transactionHashes" was null or undefined when calling getTransactionStatuses().');
|
|
@@ -107,14 +116,24 @@ class TransactionStatusRoutesApi extends runtime.BaseAPI {
|
|
|
107
116
|
const headerParameters = {};
|
|
108
117
|
headerParameters['Content-Type'] = 'application/json';
|
|
109
118
|
let urlPath = `/transactionStatus`;
|
|
110
|
-
|
|
119
|
+
return {
|
|
111
120
|
path: urlPath,
|
|
112
121
|
method: 'POST',
|
|
113
122
|
headers: headerParameters,
|
|
114
123
|
query: queryParameters,
|
|
115
|
-
body: (0,
|
|
116
|
-
}
|
|
117
|
-
|
|
124
|
+
body: (0, TransactionHashes_1.TransactionHashesToJSON)(requestParameters['transactionHashes']),
|
|
125
|
+
};
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Returns the current statuses of the transactions identified by the given array of transaction hashes. When checking status after announcing transactions, it is best to query the same node that received the announce request. If that node rejects a transaction before propagation, only that node may know the detailed rejection reason. Other nodes may not know the transaction at all because it was never propagated.
|
|
130
|
+
* Get transaction statuses
|
|
131
|
+
*/
|
|
132
|
+
getTransactionStatusesRaw(requestParameters, initOverrides) {
|
|
133
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
134
|
+
const requestOptions = yield this.getTransactionStatusesRequestOpts(requestParameters);
|
|
135
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
136
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(TransactionStatusDTO_1.TransactionStatusDTOFromJSON));
|
|
118
137
|
});
|
|
119
138
|
}
|
|
120
139
|
/**
|
|
@@ -18,27 +18,21 @@ import type { AccountRestrictionFlagsEnum } from './AccountRestrictionFlagsEnum'
|
|
|
18
18
|
export interface AccountAddressRestrictionTransactionBodyDTO {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {AccountRestrictionFlagsEnum}
|
|
22
|
-
* @memberof AccountAddressRestrictionTransactionBodyDTO
|
|
23
21
|
*/
|
|
24
22
|
restrictionFlags: AccountRestrictionFlagsEnum;
|
|
25
23
|
/**
|
|
26
24
|
* Account restriction additions.
|
|
27
|
-
* @type {Array<string>}
|
|
28
|
-
* @memberof AccountAddressRestrictionTransactionBodyDTO
|
|
29
25
|
*/
|
|
30
26
|
restrictionAdditions: Array<string>;
|
|
31
27
|
/**
|
|
32
28
|
* Account restriction deletions.
|
|
33
|
-
* @type {Array<string>}
|
|
34
|
-
* @memberof AccountAddressRestrictionTransactionBodyDTO
|
|
35
29
|
*/
|
|
36
30
|
restrictionDeletions: Array<string>;
|
|
37
31
|
}
|
|
38
32
|
/**
|
|
39
33
|
* Check if a given object implements the AccountAddressRestrictionTransactionBodyDTO interface.
|
|
40
34
|
*/
|
|
41
|
-
export declare function instanceOfAccountAddressRestrictionTransactionBodyDTO(value:
|
|
35
|
+
export declare function instanceOfAccountAddressRestrictionTransactionBodyDTO(value: object): value is AccountAddressRestrictionTransactionBodyDTO;
|
|
42
36
|
export declare function AccountAddressRestrictionTransactionBodyDTOFromJSON(json: any): AccountAddressRestrictionTransactionBodyDTO;
|
|
43
37
|
export declare function AccountAddressRestrictionTransactionBodyDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountAddressRestrictionTransactionBodyDTO;
|
|
44
38
|
export declare function AccountAddressRestrictionTransactionBodyDTOToJSON(json: any): AccountAddressRestrictionTransactionBodyDTO;
|
|
@@ -18,11 +18,9 @@ import type { AccountRestrictionFlagsEnum } from './AccountRestrictionFlagsEnum'
|
|
|
18
18
|
*/
|
|
19
19
|
export interface AccountAddressRestrictionTransactionDTO {
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
22
|
-
*
|
|
21
|
+
* Total size of the serialized entity in bytes. Includes the full binary payload,
|
|
22
|
+
* including the 4-byte size field itself.
|
|
23
23
|
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof AccountAddressRestrictionTransactionDTO
|
|
26
24
|
*/
|
|
27
25
|
size: number;
|
|
28
26
|
/**
|
|
@@ -30,83 +28,51 @@ export interface AccountAddressRestrictionTransactionDTO {
|
|
|
30
28
|
* over the serialized entity payload. Can be verified with the signer's public key (`signerPublicKey`).
|
|
31
29
|
* Used for blocks, transactions, and cosignatures.
|
|
32
30
|
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof AccountAddressRestrictionTransactionDTO
|
|
35
31
|
*/
|
|
36
32
|
signature: string;
|
|
37
33
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof AccountAddressRestrictionTransactionDTO
|
|
34
|
+
* Public key of the account that signed the entity (e.g. block harvester, transaction signer).
|
|
41
35
|
*/
|
|
42
36
|
signerPublicKey: string;
|
|
43
37
|
/**
|
|
44
38
|
* Entity version. Indicates the schema variant for serialization and validation.
|
|
45
|
-
* @type {number}
|
|
46
|
-
* @memberof AccountAddressRestrictionTransactionDTO
|
|
47
39
|
*/
|
|
48
40
|
version: number;
|
|
49
41
|
/**
|
|
50
42
|
* Network type (mainnet or testnet). Ensures the entity targets the correct network.
|
|
51
|
-
* @type {NetworkTypeEnum}
|
|
52
|
-
* @memberof AccountAddressRestrictionTransactionDTO
|
|
53
43
|
*/
|
|
54
44
|
network: NetworkTypeEnum;
|
|
55
45
|
/**
|
|
56
46
|
* Entity type identifier (e.g. transaction type code, block type). Determines the entity schema.
|
|
57
|
-
* @type {number}
|
|
58
|
-
* @memberof AccountAddressRestrictionTransactionDTO
|
|
59
47
|
*/
|
|
60
48
|
type: number;
|
|
61
49
|
/**
|
|
62
|
-
*
|
|
63
|
-
* For example, an amount of `123456789` for a mosaic with divisibility 6 represents
|
|
64
|
-
* `123.456789` whole units. Encoded as a string to preserve precision, since the value
|
|
65
|
-
* is an unsigned 64-bit integer.
|
|
66
|
-
*
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof AccountAddressRestrictionTransactionDTO
|
|
50
|
+
* Maximum fee the signer is willing to pay for this transaction, in smallest (atomic) units.
|
|
69
51
|
*/
|
|
70
52
|
maxFee: string;
|
|
71
53
|
/**
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
* **Finding the nemesis block time:** The `epochAdjustment` field returned by the
|
|
76
|
-
* [`/network/properties`] endpoint gives the nemesis block creation time in seconds since the
|
|
77
|
-
* [UNIX epoch](https://en.wikipedia.org/wiki/Unix_time). For Symbol MAINNET this is
|
|
78
|
-
* always `1615853185` (15 March 2021, 00:06:25 UTC).
|
|
79
|
-
*
|
|
80
|
-
* **Converting to real time:** Add this timestamp (ms) to `epochAdjustment × 1000` (ms), then use standard date functions.
|
|
81
|
-
* Note: `epochAdjustment` may be returned as a string like `"1615853185s"`; use the numeric part.
|
|
54
|
+
* Latest network time at which the transaction can still be included in a block, expressed in milliseconds
|
|
55
|
+
* since the creation of the nemesis (first) block.
|
|
82
56
|
*
|
|
83
|
-
* @type {string}
|
|
84
|
-
* @memberof AccountAddressRestrictionTransactionDTO
|
|
85
57
|
*/
|
|
86
58
|
deadline: string;
|
|
87
59
|
/**
|
|
88
60
|
*
|
|
89
|
-
* @type {AccountRestrictionFlagsEnum}
|
|
90
|
-
* @memberof AccountAddressRestrictionTransactionDTO
|
|
91
61
|
*/
|
|
92
62
|
restrictionFlags: AccountRestrictionFlagsEnum;
|
|
93
63
|
/**
|
|
94
64
|
* Account restriction additions.
|
|
95
|
-
* @type {Array<string>}
|
|
96
|
-
* @memberof AccountAddressRestrictionTransactionDTO
|
|
97
65
|
*/
|
|
98
66
|
restrictionAdditions: Array<string>;
|
|
99
67
|
/**
|
|
100
68
|
* Account restriction deletions.
|
|
101
|
-
* @type {Array<string>}
|
|
102
|
-
* @memberof AccountAddressRestrictionTransactionDTO
|
|
103
69
|
*/
|
|
104
70
|
restrictionDeletions: Array<string>;
|
|
105
71
|
}
|
|
106
72
|
/**
|
|
107
73
|
* Check if a given object implements the AccountAddressRestrictionTransactionDTO interface.
|
|
108
74
|
*/
|
|
109
|
-
export declare function instanceOfAccountAddressRestrictionTransactionDTO(value:
|
|
75
|
+
export declare function instanceOfAccountAddressRestrictionTransactionDTO(value: object): value is AccountAddressRestrictionTransactionDTO;
|
|
110
76
|
export declare function AccountAddressRestrictionTransactionDTOFromJSON(json: any): AccountAddressRestrictionTransactionDTO;
|
|
111
77
|
export declare function AccountAddressRestrictionTransactionDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountAddressRestrictionTransactionDTO;
|
|
112
78
|
export declare function AccountAddressRestrictionTransactionDTOToJSON(json: any): AccountAddressRestrictionTransactionDTO;
|
|
@@ -26,62 +26,40 @@ export interface AccountDTO {
|
|
|
26
26
|
* schema of the entity changes (e.g. new fields are added), allowing the node to
|
|
27
27
|
* deserialize entries written under earlier formats.
|
|
28
28
|
*
|
|
29
|
-
* @type {number}
|
|
30
|
-
* @memberof AccountDTO
|
|
31
29
|
*/
|
|
32
30
|
version: number;
|
|
33
31
|
/**
|
|
34
32
|
* Address encoded as a 48-character hexadecimal string (24 bytes).
|
|
35
33
|
* The REST API returns addresses in this format. For Base32-encoded addresses (39 chars) see `Address`.
|
|
36
34
|
*
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof AccountDTO
|
|
39
35
|
*/
|
|
40
36
|
address: string;
|
|
41
37
|
/**
|
|
42
|
-
* Height of
|
|
43
|
-
* Represented as a string to preserve precision, since the value is an unsigned 64-bit integer.
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof AccountDTO
|
|
38
|
+
* Height of the blockchain when the address was first published.
|
|
47
39
|
*/
|
|
48
40
|
addressHeight: string;
|
|
49
41
|
/**
|
|
50
42
|
* 256-bit public key encoded as a hexadecimal string (64 hex characters).
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof AccountDTO
|
|
53
43
|
*/
|
|
54
44
|
publicKey: string;
|
|
55
45
|
/**
|
|
56
|
-
* Height of
|
|
57
|
-
* Represented as a string to preserve precision, since the value is an unsigned 64-bit integer.
|
|
58
|
-
*
|
|
59
|
-
* @type {string}
|
|
60
|
-
* @memberof AccountDTO
|
|
46
|
+
* Height of the blockchain when the public key was first published.
|
|
61
47
|
*/
|
|
62
48
|
publicKeyHeight: string;
|
|
63
49
|
/**
|
|
64
50
|
*
|
|
65
|
-
* @type {AccountTypeEnum}
|
|
66
|
-
* @memberof AccountDTO
|
|
67
51
|
*/
|
|
68
52
|
accountType: AccountTypeEnum;
|
|
69
53
|
/**
|
|
70
54
|
*
|
|
71
|
-
* @type {SupplementalPublicKeysDTO}
|
|
72
|
-
* @memberof AccountDTO
|
|
73
55
|
*/
|
|
74
56
|
supplementalPublicKeys: SupplementalPublicKeysDTO;
|
|
75
57
|
/**
|
|
76
58
|
* Activity buckets used for importance score calculation.
|
|
77
|
-
* @type {Array<ActivityBucketDTO>}
|
|
78
|
-
* @memberof AccountDTO
|
|
79
59
|
*/
|
|
80
60
|
activityBuckets: Array<ActivityBucketDTO>;
|
|
81
61
|
/**
|
|
82
62
|
* Mosaic units owned by the account.
|
|
83
|
-
* @type {Array<Mosaic>}
|
|
84
|
-
* @memberof AccountDTO
|
|
85
63
|
*/
|
|
86
64
|
mosaics: Array<Mosaic>;
|
|
87
65
|
/**
|
|
@@ -93,23 +71,17 @@ export interface AccountDTO {
|
|
|
93
71
|
* property) receive a non-zero score. Decimal value between 0 and 1 (inclusive).
|
|
94
72
|
* Minimum: 0. Maximum: 1.
|
|
95
73
|
*
|
|
96
|
-
* @type {string}
|
|
97
|
-
* @memberof AccountDTO
|
|
98
74
|
*/
|
|
99
75
|
importance: string;
|
|
100
76
|
/**
|
|
101
|
-
* Height
|
|
102
|
-
* Represented as a string to preserve precision, since the value is an unsigned 64-bit integer.
|
|
103
|
-
*
|
|
104
|
-
* @type {string}
|
|
105
|
-
* @memberof AccountDTO
|
|
77
|
+
* Height at which the importance was last recalculated.
|
|
106
78
|
*/
|
|
107
79
|
importanceHeight: string;
|
|
108
80
|
}
|
|
109
81
|
/**
|
|
110
82
|
* Check if a given object implements the AccountDTO interface.
|
|
111
83
|
*/
|
|
112
|
-
export declare function instanceOfAccountDTO(value:
|
|
84
|
+
export declare function instanceOfAccountDTO(value: object): value is AccountDTO;
|
|
113
85
|
export declare function AccountDTOFromJSON(json: any): AccountDTO;
|
|
114
86
|
export declare function AccountDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountDTO;
|
|
115
87
|
export declare function AccountDTOToJSON(json: any): AccountDTO;
|
|
@@ -19,21 +19,17 @@
|
|
|
19
19
|
export interface AccountIds {
|
|
20
20
|
/**
|
|
21
21
|
* Array of account public keys.
|
|
22
|
-
* @type {Array<string>}
|
|
23
|
-
* @memberof AccountIds
|
|
24
22
|
*/
|
|
25
23
|
publicKeys?: Array<string>;
|
|
26
24
|
/**
|
|
27
25
|
* Array of account addresses.
|
|
28
|
-
* @type {Array<string>}
|
|
29
|
-
* @memberof AccountIds
|
|
30
26
|
*/
|
|
31
27
|
addresses?: Array<string>;
|
|
32
28
|
}
|
|
33
29
|
/**
|
|
34
30
|
* Check if a given object implements the AccountIds interface.
|
|
35
31
|
*/
|
|
36
|
-
export declare function instanceOfAccountIds(value:
|
|
32
|
+
export declare function instanceOfAccountIds(value: object): value is AccountIds;
|
|
37
33
|
export declare function AccountIdsFromJSON(json: any): AccountIds;
|
|
38
34
|
export declare function AccountIdsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountIds;
|
|
39
35
|
export declare function AccountIdsToJSON(json: any): AccountIds;
|
|
@@ -20,21 +20,17 @@ export interface AccountInfoDTO {
|
|
|
20
20
|
* Unique identifier of the object in the node's database (MongoDB ObjectId).
|
|
21
21
|
* Used as the `offset` parameter value for cursor-based pagination.
|
|
22
22
|
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof AccountInfoDTO
|
|
25
23
|
*/
|
|
26
24
|
id: string;
|
|
27
25
|
/**
|
|
28
26
|
*
|
|
29
|
-
* @type {AccountDTO}
|
|
30
|
-
* @memberof AccountInfoDTO
|
|
31
27
|
*/
|
|
32
28
|
account: AccountDTO;
|
|
33
29
|
}
|
|
34
30
|
/**
|
|
35
31
|
* Check if a given object implements the AccountInfoDTO interface.
|
|
36
32
|
*/
|
|
37
|
-
export declare function instanceOfAccountInfoDTO(value:
|
|
33
|
+
export declare function instanceOfAccountInfoDTO(value: object): value is AccountInfoDTO;
|
|
38
34
|
export declare function AccountInfoDTOFromJSON(json: any): AccountInfoDTO;
|
|
39
35
|
export declare function AccountInfoDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountInfoDTO;
|
|
40
36
|
export declare function AccountInfoDTOToJSON(json: any): AccountInfoDTO;
|
|
@@ -17,15 +17,13 @@
|
|
|
17
17
|
export interface AccountKeyLinkNetworkPropertiesDTO {
|
|
18
18
|
/**
|
|
19
19
|
* to trigger plugin load
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AccountKeyLinkNetworkPropertiesDTO
|
|
22
20
|
*/
|
|
23
21
|
dummy?: string;
|
|
24
22
|
}
|
|
25
23
|
/**
|
|
26
24
|
* Check if a given object implements the AccountKeyLinkNetworkPropertiesDTO interface.
|
|
27
25
|
*/
|
|
28
|
-
export declare function instanceOfAccountKeyLinkNetworkPropertiesDTO(value:
|
|
26
|
+
export declare function instanceOfAccountKeyLinkNetworkPropertiesDTO(value: object): value is AccountKeyLinkNetworkPropertiesDTO;
|
|
29
27
|
export declare function AccountKeyLinkNetworkPropertiesDTOFromJSON(json: any): AccountKeyLinkNetworkPropertiesDTO;
|
|
30
28
|
export declare function AccountKeyLinkNetworkPropertiesDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountKeyLinkNetworkPropertiesDTO;
|
|
31
29
|
export declare function AccountKeyLinkNetworkPropertiesDTOToJSON(json: any): AccountKeyLinkNetworkPropertiesDTO;
|
|
@@ -18,21 +18,17 @@ import type { LinkActionEnum } from './LinkActionEnum';
|
|
|
18
18
|
export interface AccountKeyLinkTransactionBodyDTO {
|
|
19
19
|
/**
|
|
20
20
|
* 256-bit public key encoded as a hexadecimal string (64 hex characters).
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof AccountKeyLinkTransactionBodyDTO
|
|
23
21
|
*/
|
|
24
22
|
linkedPublicKey: string;
|
|
25
23
|
/**
|
|
26
24
|
*
|
|
27
|
-
* @type {LinkActionEnum}
|
|
28
|
-
* @memberof AccountKeyLinkTransactionBodyDTO
|
|
29
25
|
*/
|
|
30
26
|
linkAction: LinkActionEnum;
|
|
31
27
|
}
|
|
32
28
|
/**
|
|
33
29
|
* Check if a given object implements the AccountKeyLinkTransactionBodyDTO interface.
|
|
34
30
|
*/
|
|
35
|
-
export declare function instanceOfAccountKeyLinkTransactionBodyDTO(value:
|
|
31
|
+
export declare function instanceOfAccountKeyLinkTransactionBodyDTO(value: object): value is AccountKeyLinkTransactionBodyDTO;
|
|
36
32
|
export declare function AccountKeyLinkTransactionBodyDTOFromJSON(json: any): AccountKeyLinkTransactionBodyDTO;
|
|
37
33
|
export declare function AccountKeyLinkTransactionBodyDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountKeyLinkTransactionBodyDTO;
|
|
38
34
|
export declare function AccountKeyLinkTransactionBodyDTOToJSON(json: any): AccountKeyLinkTransactionBodyDTO;
|
|
@@ -20,11 +20,9 @@ import type { LinkActionEnum } from './LinkActionEnum';
|
|
|
20
20
|
*/
|
|
21
21
|
export interface AccountKeyLinkTransactionDTO {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
24
|
-
*
|
|
23
|
+
* Total size of the serialized entity in bytes. Includes the full binary payload,
|
|
24
|
+
* including the 4-byte size field itself.
|
|
25
25
|
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof AccountKeyLinkTransactionDTO
|
|
28
26
|
*/
|
|
29
27
|
size: number;
|
|
30
28
|
/**
|
|
@@ -32,77 +30,47 @@ export interface AccountKeyLinkTransactionDTO {
|
|
|
32
30
|
* over the serialized entity payload. Can be verified with the signer's public key (`signerPublicKey`).
|
|
33
31
|
* Used for blocks, transactions, and cosignatures.
|
|
34
32
|
*
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof AccountKeyLinkTransactionDTO
|
|
37
33
|
*/
|
|
38
34
|
signature: string;
|
|
39
35
|
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof AccountKeyLinkTransactionDTO
|
|
36
|
+
* Public key of the account that signed the entity (e.g. block harvester, transaction signer).
|
|
43
37
|
*/
|
|
44
38
|
signerPublicKey: string;
|
|
45
39
|
/**
|
|
46
40
|
* Entity version. Indicates the schema variant for serialization and validation.
|
|
47
|
-
* @type {number}
|
|
48
|
-
* @memberof AccountKeyLinkTransactionDTO
|
|
49
41
|
*/
|
|
50
42
|
version: number;
|
|
51
43
|
/**
|
|
52
44
|
* Network type (mainnet or testnet). Ensures the entity targets the correct network.
|
|
53
|
-
* @type {NetworkTypeEnum}
|
|
54
|
-
* @memberof AccountKeyLinkTransactionDTO
|
|
55
45
|
*/
|
|
56
46
|
network: NetworkTypeEnum;
|
|
57
47
|
/**
|
|
58
48
|
* Entity type identifier (e.g. transaction type code, block type). Determines the entity schema.
|
|
59
|
-
* @type {number}
|
|
60
|
-
* @memberof AccountKeyLinkTransactionDTO
|
|
61
49
|
*/
|
|
62
50
|
type: number;
|
|
63
51
|
/**
|
|
64
|
-
*
|
|
65
|
-
* For example, an amount of `123456789` for a mosaic with divisibility 6 represents
|
|
66
|
-
* `123.456789` whole units. Encoded as a string to preserve precision, since the value
|
|
67
|
-
* is an unsigned 64-bit integer.
|
|
68
|
-
*
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof AccountKeyLinkTransactionDTO
|
|
52
|
+
* Maximum fee the signer is willing to pay for this transaction, in smallest (atomic) units.
|
|
71
53
|
*/
|
|
72
54
|
maxFee: string;
|
|
73
55
|
/**
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
* **Finding the nemesis block time:** The `epochAdjustment` field returned by the
|
|
78
|
-
* [`/network/properties`] endpoint gives the nemesis block creation time in seconds since the
|
|
79
|
-
* [UNIX epoch](https://en.wikipedia.org/wiki/Unix_time). For Symbol MAINNET this is
|
|
80
|
-
* always `1615853185` (15 March 2021, 00:06:25 UTC).
|
|
81
|
-
*
|
|
82
|
-
* **Converting to real time:** Add this timestamp (ms) to `epochAdjustment × 1000` (ms), then use standard date functions.
|
|
83
|
-
* Note: `epochAdjustment` may be returned as a string like `"1615853185s"`; use the numeric part.
|
|
56
|
+
* Latest network time at which the transaction can still be included in a block, expressed in milliseconds
|
|
57
|
+
* since the creation of the nemesis (first) block.
|
|
84
58
|
*
|
|
85
|
-
* @type {string}
|
|
86
|
-
* @memberof AccountKeyLinkTransactionDTO
|
|
87
59
|
*/
|
|
88
60
|
deadline: string;
|
|
89
61
|
/**
|
|
90
62
|
* 256-bit public key encoded as a hexadecimal string (64 hex characters).
|
|
91
|
-
* @type {string}
|
|
92
|
-
* @memberof AccountKeyLinkTransactionDTO
|
|
93
63
|
*/
|
|
94
64
|
linkedPublicKey: string;
|
|
95
65
|
/**
|
|
96
66
|
*
|
|
97
|
-
* @type {LinkActionEnum}
|
|
98
|
-
* @memberof AccountKeyLinkTransactionDTO
|
|
99
67
|
*/
|
|
100
68
|
linkAction: LinkActionEnum;
|
|
101
69
|
}
|
|
102
70
|
/**
|
|
103
71
|
* Check if a given object implements the AccountKeyLinkTransactionDTO interface.
|
|
104
72
|
*/
|
|
105
|
-
export declare function instanceOfAccountKeyLinkTransactionDTO(value:
|
|
73
|
+
export declare function instanceOfAccountKeyLinkTransactionDTO(value: object): value is AccountKeyLinkTransactionDTO;
|
|
106
74
|
export declare function AccountKeyLinkTransactionDTOFromJSON(json: any): AccountKeyLinkTransactionDTO;
|
|
107
75
|
export declare function AccountKeyLinkTransactionDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountKeyLinkTransactionDTO;
|
|
108
76
|
export declare function AccountKeyLinkTransactionDTOToJSON(json: any): AccountKeyLinkTransactionDTO;
|
|
@@ -17,15 +17,13 @@
|
|
|
17
17
|
export interface AccountLinkPublicKeyDTO {
|
|
18
18
|
/**
|
|
19
19
|
* 256-bit public key encoded as a hexadecimal string (64 hex characters).
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AccountLinkPublicKeyDTO
|
|
22
20
|
*/
|
|
23
21
|
publicKey: string;
|
|
24
22
|
}
|
|
25
23
|
/**
|
|
26
24
|
* Check if a given object implements the AccountLinkPublicKeyDTO interface.
|
|
27
25
|
*/
|
|
28
|
-
export declare function instanceOfAccountLinkPublicKeyDTO(value:
|
|
26
|
+
export declare function instanceOfAccountLinkPublicKeyDTO(value: object): value is AccountLinkPublicKeyDTO;
|
|
29
27
|
export declare function AccountLinkPublicKeyDTOFromJSON(json: any): AccountLinkPublicKeyDTO;
|
|
30
28
|
export declare function AccountLinkPublicKeyDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountLinkPublicKeyDTO;
|
|
31
29
|
export declare function AccountLinkPublicKeyDTOToJSON(json: any): AccountLinkPublicKeyDTO;
|
|
@@ -17,33 +17,21 @@
|
|
|
17
17
|
export interface AccountLinkVotingKeyDTO {
|
|
18
18
|
/**
|
|
19
19
|
* 256-bit public key encoded as a hexadecimal string (64 hex characters).
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AccountLinkVotingKeyDTO
|
|
22
20
|
*/
|
|
23
21
|
publicKey: string;
|
|
24
22
|
/**
|
|
25
|
-
*
|
|
26
|
-
* integer. Each epoch groups a set of blocks for finalization voting; the interval is defined
|
|
27
|
-
* by the `votingSetGrouping` network property (e.g. 1440 blocks, ~12h on mainnet).
|
|
28
|
-
*
|
|
29
|
-
* @type {number}
|
|
30
|
-
* @memberof AccountLinkVotingKeyDTO
|
|
23
|
+
* First finalization epoch for which this key is valid.
|
|
31
24
|
*/
|
|
32
25
|
startEpoch: number;
|
|
33
26
|
/**
|
|
34
|
-
*
|
|
35
|
-
* integer. Each epoch groups a set of blocks for finalization voting; the interval is defined
|
|
36
|
-
* by the `votingSetGrouping` network property (e.g. 1440 blocks, ~12h on mainnet).
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof AccountLinkVotingKeyDTO
|
|
27
|
+
* Last finalization epoch for which this key is valid.
|
|
40
28
|
*/
|
|
41
29
|
endEpoch: number;
|
|
42
30
|
}
|
|
43
31
|
/**
|
|
44
32
|
* Check if a given object implements the AccountLinkVotingKeyDTO interface.
|
|
45
33
|
*/
|
|
46
|
-
export declare function instanceOfAccountLinkVotingKeyDTO(value:
|
|
34
|
+
export declare function instanceOfAccountLinkVotingKeyDTO(value: object): value is AccountLinkVotingKeyDTO;
|
|
47
35
|
export declare function AccountLinkVotingKeyDTOFromJSON(json: any): AccountLinkVotingKeyDTO;
|
|
48
36
|
export declare function AccountLinkVotingKeyDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountLinkVotingKeyDTO;
|
|
49
37
|
export declare function AccountLinkVotingKeyDTOToJSON(json: any): AccountLinkVotingKeyDTO;
|
|
@@ -18,15 +18,13 @@ import type { AccountLinkVotingKeyDTO } from './AccountLinkVotingKeyDTO';
|
|
|
18
18
|
export interface AccountLinkVotingKeysDTO {
|
|
19
19
|
/**
|
|
20
20
|
* Array of voting key link entries.
|
|
21
|
-
* @type {Array<AccountLinkVotingKeyDTO>}
|
|
22
|
-
* @memberof AccountLinkVotingKeysDTO
|
|
23
21
|
*/
|
|
24
22
|
publicKeys: Array<AccountLinkVotingKeyDTO>;
|
|
25
23
|
}
|
|
26
24
|
/**
|
|
27
25
|
* Check if a given object implements the AccountLinkVotingKeysDTO interface.
|
|
28
26
|
*/
|
|
29
|
-
export declare function instanceOfAccountLinkVotingKeysDTO(value:
|
|
27
|
+
export declare function instanceOfAccountLinkVotingKeysDTO(value: object): value is AccountLinkVotingKeysDTO;
|
|
30
28
|
export declare function AccountLinkVotingKeysDTOFromJSON(json: any): AccountLinkVotingKeysDTO;
|
|
31
29
|
export declare function AccountLinkVotingKeysDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountLinkVotingKeysDTO;
|
|
32
30
|
export declare function AccountLinkVotingKeysDTOToJSON(json: any): AccountLinkVotingKeysDTO;
|
|
@@ -22,22 +22,16 @@ export interface AccountMetadataTransactionBodyDTO {
|
|
|
22
22
|
* If bit 0 of byte 0 is not set, the value represents a regular address.
|
|
23
23
|
* Otherwise, it represents a namespace ID alias encoded as an unresolved address.
|
|
24
24
|
*
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof AccountMetadataTransactionBodyDTO
|
|
27
25
|
*/
|
|
28
26
|
targetAddress: string;
|
|
29
27
|
/**
|
|
30
28
|
* 64-bit key assigned by the metadata creator to identify the metadata entry within the source and target context.
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof AccountMetadataTransactionBodyDTO
|
|
33
29
|
*/
|
|
34
30
|
scopedMetadataKey: string;
|
|
35
31
|
/**
|
|
36
32
|
* Change in metadata value size, in bytes.
|
|
37
33
|
* Positive values increase the stored value size, negative values decrease it.
|
|
38
34
|
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof AccountMetadataTransactionBodyDTO
|
|
41
35
|
*/
|
|
42
36
|
valueSizeDelta: number;
|
|
43
37
|
/**
|
|
@@ -46,8 +40,6 @@ export interface AccountMetadataTransactionBodyDTO {
|
|
|
46
40
|
* value size after applying the update. When the value shrinks, this is the previous stored value size
|
|
47
41
|
* before truncation.
|
|
48
42
|
*
|
|
49
|
-
* @type {number}
|
|
50
|
-
* @memberof AccountMetadataTransactionBodyDTO
|
|
51
43
|
*/
|
|
52
44
|
valueSize: number;
|
|
53
45
|
/**
|
|
@@ -56,15 +48,13 @@ export interface AccountMetadataTransactionBodyDTO {
|
|
|
56
48
|
* When no previous value exists, it contains the new value.
|
|
57
49
|
* When updating existing metadata, it contains the byte-wise XOR of the previous value and the new value.
|
|
58
50
|
*
|
|
59
|
-
* @type {string}
|
|
60
|
-
* @memberof AccountMetadataTransactionBodyDTO
|
|
61
51
|
*/
|
|
62
52
|
value: string;
|
|
63
53
|
}
|
|
64
54
|
/**
|
|
65
55
|
* Check if a given object implements the AccountMetadataTransactionBodyDTO interface.
|
|
66
56
|
*/
|
|
67
|
-
export declare function instanceOfAccountMetadataTransactionBodyDTO(value:
|
|
57
|
+
export declare function instanceOfAccountMetadataTransactionBodyDTO(value: object): value is AccountMetadataTransactionBodyDTO;
|
|
68
58
|
export declare function AccountMetadataTransactionBodyDTOFromJSON(json: any): AccountMetadataTransactionBodyDTO;
|
|
69
59
|
export declare function AccountMetadataTransactionBodyDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountMetadataTransactionBodyDTO;
|
|
70
60
|
export declare function AccountMetadataTransactionBodyDTOToJSON(json: any): AccountMetadataTransactionBodyDTO;
|