@hiero-ledger/sdk 2.70.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +190 -0
- package/README.md +167 -0
- package/dist/umd.js +98781 -0
- package/dist/umd.min.js +122 -0
- package/lib/BadEntityIdError.cjs +27 -0
- package/lib/BadEntityIdError.d.ts +15 -0
- package/lib/BadEntityIdError.js +2 -0
- package/lib/BadEntityIdError.js.map +1 -0
- package/lib/Cache.cjs +376 -0
- package/lib/Cache.d.ts +228 -0
- package/lib/Cache.js +2 -0
- package/lib/Cache.js.map +1 -0
- package/lib/Duration.cjs +53 -0
- package/lib/Duration.d.ts +37 -0
- package/lib/Duration.js +2 -0
- package/lib/Duration.js.map +1 -0
- package/lib/EntityIdHelper.cjs +547 -0
- package/lib/EntityIdHelper.d.ts +203 -0
- package/lib/EntityIdHelper.js +2 -0
- package/lib/EntityIdHelper.js.map +1 -0
- package/lib/EthereumFlow.cjs +207 -0
- package/lib/EthereumFlow.d.ts +134 -0
- package/lib/EthereumFlow.js +2 -0
- package/lib/EthereumFlow.js.map +1 -0
- package/lib/EthereumTransaction.cjs +260 -0
- package/lib/EthereumTransaction.d.ts +161 -0
- package/lib/EthereumTransaction.js +2 -0
- package/lib/EthereumTransaction.js.map +1 -0
- package/lib/EthereumTransactionData.cjs +66 -0
- package/lib/EthereumTransactionData.d.ts +33 -0
- package/lib/EthereumTransactionData.js +2 -0
- package/lib/EthereumTransactionData.js.map +1 -0
- package/lib/EthereumTransactionDataEip1559.cjs +134 -0
- package/lib/EthereumTransactionDataEip1559.d.ts +64 -0
- package/lib/EthereumTransactionDataEip1559.js +2 -0
- package/lib/EthereumTransactionDataEip1559.js.map +1 -0
- package/lib/EthereumTransactionDataEip2930.cjs +129 -0
- package/lib/EthereumTransactionDataEip2930.d.ts +60 -0
- package/lib/EthereumTransactionDataEip2930.js +2 -0
- package/lib/EthereumTransactionDataEip2930.js.map +1 -0
- package/lib/EthereumTransactionDataLegacy.cjs +112 -0
- package/lib/EthereumTransactionDataLegacy.d.ts +52 -0
- package/lib/EthereumTransactionDataLegacy.js +2 -0
- package/lib/EthereumTransactionDataLegacy.js.map +1 -0
- package/lib/EvmAddress.cjs +84 -0
- package/lib/EvmAddress.d.ts +47 -0
- package/lib/EvmAddress.js +2 -0
- package/lib/EvmAddress.js.map +1 -0
- package/lib/ExchangeRate.cjs +113 -0
- package/lib/ExchangeRate.d.ts +75 -0
- package/lib/ExchangeRate.js +2 -0
- package/lib/ExchangeRate.js.map +1 -0
- package/lib/ExchangeRates.cjs +75 -0
- package/lib/ExchangeRates.d.ts +39 -0
- package/lib/ExchangeRates.js +2 -0
- package/lib/ExchangeRates.js.map +1 -0
- package/lib/Executable.cjs +760 -0
- package/lib/Executable.d.ts +365 -0
- package/lib/Executable.js +2 -0
- package/lib/Executable.js.map +1 -0
- package/lib/FeeComponents.cjs +170 -0
- package/lib/FeeComponents.d.ts +66 -0
- package/lib/FeeComponents.js +2 -0
- package/lib/FeeComponents.js.map +1 -0
- package/lib/FeeData.cjs +111 -0
- package/lib/FeeData.d.ts +58 -0
- package/lib/FeeData.js +2 -0
- package/lib/FeeData.js.map +1 -0
- package/lib/FeeDataType.cjs +128 -0
- package/lib/FeeDataType.d.ts +44 -0
- package/lib/FeeDataType.js +2 -0
- package/lib/FeeDataType.js.map +1 -0
- package/lib/FeeSchedule.cjs +79 -0
- package/lib/FeeSchedule.d.ts +40 -0
- package/lib/FeeSchedule.js +2 -0
- package/lib/FeeSchedule.js.map +1 -0
- package/lib/FeeSchedules.cjs +79 -0
- package/lib/FeeSchedules.d.ts +40 -0
- package/lib/FeeSchedules.js +2 -0
- package/lib/FeeSchedules.js.map +1 -0
- package/lib/FreezeType.cjs +117 -0
- package/lib/FreezeType.d.ts +42 -0
- package/lib/FreezeType.js +2 -0
- package/lib/FreezeType.js.map +1 -0
- package/lib/Hbar.cjs +139 -0
- package/lib/Hbar.d.ts +62 -0
- package/lib/Hbar.js +2 -0
- package/lib/Hbar.js.map +1 -0
- package/lib/HbarUnit.cjs +77 -0
- package/lib/HbarUnit.d.ts +46 -0
- package/lib/HbarUnit.js +2 -0
- package/lib/HbarUnit.js.map +1 -0
- package/lib/Key.cjs +62 -0
- package/lib/Key.d.ts +23 -0
- package/lib/Key.js +2 -0
- package/lib/Key.js.map +1 -0
- package/lib/KeyList.cjs +181 -0
- package/lib/KeyList.d.ts +87 -0
- package/lib/KeyList.js +2 -0
- package/lib/KeyList.js.map +1 -0
- package/lib/LedgerId.cjs +137 -0
- package/lib/LedgerId.d.ts +64 -0
- package/lib/LedgerId.js +2 -0
- package/lib/LedgerId.js.map +1 -0
- package/lib/LocalProvider.cjs +159 -0
- package/lib/LocalProvider.d.ts +120 -0
- package/lib/LocalProvider.js +2 -0
- package/lib/LocalProvider.js.map +1 -0
- package/lib/ManagedNode.cjs +245 -0
- package/lib/ManagedNode.d.ts +127 -0
- package/lib/ManagedNode.js +2 -0
- package/lib/ManagedNode.js.map +1 -0
- package/lib/ManagedNodeAddress.cjs +104 -0
- package/lib/ManagedNodeAddress.d.ts +51 -0
- package/lib/ManagedNodeAddress.js +2 -0
- package/lib/ManagedNodeAddress.js.map +1 -0
- package/lib/MaxAttemptsOrTimeoutError.cjs +48 -0
- package/lib/MaxAttemptsOrTimeoutError.d.ts +26 -0
- package/lib/MaxAttemptsOrTimeoutError.js +2 -0
- package/lib/MaxAttemptsOrTimeoutError.js.map +1 -0
- package/lib/MaxQueryPaymentExceeded.cjs +34 -0
- package/lib/MaxQueryPaymentExceeded.d.ts +21 -0
- package/lib/MaxQueryPaymentExceeded.js +2 -0
- package/lib/MaxQueryPaymentExceeded.js.map +1 -0
- package/lib/MirrorNode.cjs +48 -0
- package/lib/MirrorNode.d.ts +39 -0
- package/lib/MirrorNode.js +2 -0
- package/lib/MirrorNode.js.map +1 -0
- package/lib/Mnemonic.cjs +232 -0
- package/lib/Mnemonic.d.ts +145 -0
- package/lib/Mnemonic.js +2 -0
- package/lib/Mnemonic.js.map +1 -0
- package/lib/Node.cjs +114 -0
- package/lib/Node.d.ts +72 -0
- package/lib/Node.js +2 -0
- package/lib/Node.js.map +1 -0
- package/lib/ObjectMap.cjs +137 -0
- package/lib/ObjectMap.d.ts +88 -0
- package/lib/ObjectMap.js +2 -0
- package/lib/ObjectMap.js.map +1 -0
- package/lib/PrecheckStatusError.cjs +77 -0
- package/lib/PrecheckStatusError.d.ts +68 -0
- package/lib/PrecheckStatusError.js +2 -0
- package/lib/PrecheckStatusError.js.map +1 -0
- package/lib/PrivateKey.cjs +529 -0
- package/lib/PrivateKey.d.ts +312 -0
- package/lib/PrivateKey.js +2 -0
- package/lib/PrivateKey.js.map +1 -0
- package/lib/PrngTransaction.cjs +136 -0
- package/lib/PrngTransaction.d.ts +74 -0
- package/lib/PrngTransaction.js +2 -0
- package/lib/PrngTransaction.js.map +1 -0
- package/lib/Provider.cjs +41 -0
- package/lib/Provider.d.ts +32 -0
- package/lib/Provider.js +2 -0
- package/lib/Provider.js.map +1 -0
- package/lib/PublicKey.cjs +285 -0
- package/lib/PublicKey.d.ts +142 -0
- package/lib/PublicKey.js +2 -0
- package/lib/PublicKey.js.map +1 -0
- package/lib/ReceiptStatusError.cjs +45 -0
- package/lib/ReceiptStatusError.d.ts +38 -0
- package/lib/ReceiptStatusError.js +2 -0
- package/lib/ReceiptStatusError.js.map +1 -0
- package/lib/RecordStatusError.cjs +34 -0
- package/lib/RecordStatusError.d.ts +27 -0
- package/lib/RecordStatusError.js +2 -0
- package/lib/RecordStatusError.js.map +1 -0
- package/lib/RequestType.cjs +922 -0
- package/lib/RequestType.d.ts +131 -0
- package/lib/RequestType.js +2 -0
- package/lib/RequestType.js.map +1 -0
- package/lib/Signer.cjs +47 -0
- package/lib/Signer.d.ts +38 -0
- package/lib/Signer.js +2 -0
- package/lib/Signer.js.map +1 -0
- package/lib/SignerSignature.cjs +34 -0
- package/lib/SignerSignature.d.ts +29 -0
- package/lib/SignerSignature.js +2 -0
- package/lib/SignerSignature.js.map +1 -0
- package/lib/StakingInfo.cjs +160 -0
- package/lib/StakingInfo.d.ts +109 -0
- package/lib/StakingInfo.js +2 -0
- package/lib/StakingInfo.js.map +1 -0
- package/lib/Status.cjs +3353 -0
- package/lib/Status.d.ts +395 -0
- package/lib/Status.js +2 -0
- package/lib/Status.js.map +1 -0
- package/lib/StatusError.cjs +66 -0
- package/lib/StatusError.d.ts +41 -0
- package/lib/StatusError.js +2 -0
- package/lib/StatusError.js.map +1 -0
- package/lib/Timestamp.cjs +144 -0
- package/lib/Timestamp.d.ts +69 -0
- package/lib/Timestamp.js +2 -0
- package/lib/Timestamp.js.map +1 -0
- package/lib/TransactionFeeSchedule.cjs +85 -0
- package/lib/TransactionFeeSchedule.d.ts +39 -0
- package/lib/TransactionFeeSchedule.js +2 -0
- package/lib/TransactionFeeSchedule.js.map +1 -0
- package/lib/Transfer.cjs +104 -0
- package/lib/Transfer.d.ts +77 -0
- package/lib/Transfer.js +2 -0
- package/lib/Transfer.js.map +1 -0
- package/lib/Wallet.cjs +253 -0
- package/lib/Wallet.d.ts +147 -0
- package/lib/Wallet.js +2 -0
- package/lib/Wallet.js.map +1 -0
- package/lib/account/AccountAllowanceAdjustTransaction.cjs +366 -0
- package/lib/account/AccountAllowanceAdjustTransaction.d.ts +208 -0
- package/lib/account/AccountAllowanceAdjustTransaction.js +2 -0
- package/lib/account/AccountAllowanceAdjustTransaction.js.map +1 -0
- package/lib/account/AccountAllowanceApproveTransaction.cjs +353 -0
- package/lib/account/AccountAllowanceApproveTransaction.d.ts +194 -0
- package/lib/account/AccountAllowanceApproveTransaction.js +2 -0
- package/lib/account/AccountAllowanceApproveTransaction.js.map +1 -0
- package/lib/account/AccountAllowanceDeleteTransaction.cjs +166 -0
- package/lib/account/AccountAllowanceDeleteTransaction.d.ts +90 -0
- package/lib/account/AccountAllowanceDeleteTransaction.js +2 -0
- package/lib/account/AccountAllowanceDeleteTransaction.js.map +1 -0
- package/lib/account/AccountBalance.cjs +145 -0
- package/lib/account/AccountBalance.d.ts +72 -0
- package/lib/account/AccountBalance.js +2 -0
- package/lib/account/AccountBalance.js.map +1 -0
- package/lib/account/AccountBalanceQuery.cjs +210 -0
- package/lib/account/AccountBalanceQuery.d.ts +92 -0
- package/lib/account/AccountBalanceQuery.js +2 -0
- package/lib/account/AccountBalanceQuery.js.map +1 -0
- package/lib/account/AccountCreateTransaction.cjs +566 -0
- package/lib/account/AccountCreateTransaction.d.ts +309 -0
- package/lib/account/AccountCreateTransaction.js +2 -0
- package/lib/account/AccountCreateTransaction.js.map +1 -0
- package/lib/account/AccountDeleteTransaction.cjs +181 -0
- package/lib/account/AccountDeleteTransaction.d.ts +97 -0
- package/lib/account/AccountDeleteTransaction.js +2 -0
- package/lib/account/AccountDeleteTransaction.js.map +1 -0
- package/lib/account/AccountId.cjs +400 -0
- package/lib/account/AccountId.d.ts +149 -0
- package/lib/account/AccountId.js +2 -0
- package/lib/account/AccountId.js.map +1 -0
- package/lib/account/AccountInfo.cjs +356 -0
- package/lib/account/AccountInfo.d.ts +234 -0
- package/lib/account/AccountInfo.js +2 -0
- package/lib/account/AccountInfo.js.map +1 -0
- package/lib/account/AccountInfoFlow.cjs +88 -0
- package/lib/account/AccountInfoFlow.d.ts +53 -0
- package/lib/account/AccountInfoFlow.js +2 -0
- package/lib/account/AccountInfoFlow.js.map +1 -0
- package/lib/account/AccountInfoQuery.cjs +170 -0
- package/lib/account/AccountInfoQuery.d.ts +67 -0
- package/lib/account/AccountInfoQuery.js +2 -0
- package/lib/account/AccountInfoQuery.js.map +1 -0
- package/lib/account/AccountRecordsQuery.cjs +163 -0
- package/lib/account/AccountRecordsQuery.d.ts +67 -0
- package/lib/account/AccountRecordsQuery.js +2 -0
- package/lib/account/AccountRecordsQuery.js.map +1 -0
- package/lib/account/AccountUpdateTransaction.cjs +503 -0
- package/lib/account/AccountUpdateTransaction.d.ts +271 -0
- package/lib/account/AccountUpdateTransaction.js +2 -0
- package/lib/account/AccountUpdateTransaction.js.map +1 -0
- package/lib/account/HbarAllowance.cjs +126 -0
- package/lib/account/HbarAllowance.d.ts +85 -0
- package/lib/account/HbarAllowance.js +2 -0
- package/lib/account/HbarAllowance.js.map +1 -0
- package/lib/account/HbarTransferMap.cjs +45 -0
- package/lib/account/HbarTransferMap.d.ts +31 -0
- package/lib/account/HbarTransferMap.js +2 -0
- package/lib/account/HbarTransferMap.js.map +1 -0
- package/lib/account/LiveHash.cjs +76 -0
- package/lib/account/LiveHash.d.ts +49 -0
- package/lib/account/LiveHash.js +2 -0
- package/lib/account/LiveHash.js.map +1 -0
- package/lib/account/LiveHashAddTransaction.cjs +238 -0
- package/lib/account/LiveHashAddTransaction.d.ts +125 -0
- package/lib/account/LiveHashAddTransaction.js +2 -0
- package/lib/account/LiveHashAddTransaction.js.map +1 -0
- package/lib/account/LiveHashDeleteTransaction.cjs +170 -0
- package/lib/account/LiveHashDeleteTransaction.d.ts +88 -0
- package/lib/account/LiveHashDeleteTransaction.js +2 -0
- package/lib/account/LiveHashDeleteTransaction.js.map +1 -0
- package/lib/account/LiveHashQuery.cjs +188 -0
- package/lib/account/LiveHashQuery.d.ts +91 -0
- package/lib/account/LiveHashQuery.js +2 -0
- package/lib/account/LiveHashQuery.js.map +1 -0
- package/lib/account/NullableTokenDecimalMap.cjs +26 -0
- package/lib/account/NullableTokenDecimalMap.d.ts +19 -0
- package/lib/account/NullableTokenDecimalMap.js +2 -0
- package/lib/account/NullableTokenDecimalMap.js.map +1 -0
- package/lib/account/ProxyStaker.cjs +73 -0
- package/lib/account/ProxyStaker.d.ts +53 -0
- package/lib/account/ProxyStaker.js +2 -0
- package/lib/account/ProxyStaker.js.map +1 -0
- package/lib/account/TokenAllowance.cjs +130 -0
- package/lib/account/TokenAllowance.d.ts +93 -0
- package/lib/account/TokenAllowance.js +2 -0
- package/lib/account/TokenAllowance.js.map +1 -0
- package/lib/account/TokenBalanceMap.cjs +30 -0
- package/lib/account/TokenBalanceMap.d.ts +23 -0
- package/lib/account/TokenBalanceMap.js +2 -0
- package/lib/account/TokenBalanceMap.js.map +1 -0
- package/lib/account/TokenDecimalMap.cjs +26 -0
- package/lib/account/TokenDecimalMap.d.ts +19 -0
- package/lib/account/TokenDecimalMap.js +2 -0
- package/lib/account/TokenDecimalMap.js.map +1 -0
- package/lib/account/TokenNftAllowance.cjs +168 -0
- package/lib/account/TokenNftAllowance.d.ts +110 -0
- package/lib/account/TokenNftAllowance.js +2 -0
- package/lib/account/TokenNftAllowance.js.map +1 -0
- package/lib/account/TokenNftTransferMap.cjs +116 -0
- package/lib/account/TokenNftTransferMap.d.ts +55 -0
- package/lib/account/TokenNftTransferMap.js +2 -0
- package/lib/account/TokenNftTransferMap.js.map +1 -0
- package/lib/account/TokenRelationship.cjs +113 -0
- package/lib/account/TokenRelationship.d.ts +87 -0
- package/lib/account/TokenRelationship.js +2 -0
- package/lib/account/TokenRelationship.js.map +1 -0
- package/lib/account/TokenRelationshipMap.cjs +57 -0
- package/lib/account/TokenRelationshipMap.d.ts +33 -0
- package/lib/account/TokenRelationshipMap.js +2 -0
- package/lib/account/TokenRelationshipMap.js.map +1 -0
- package/lib/account/TokenTransferAccountMap.cjs +28 -0
- package/lib/account/TokenTransferAccountMap.d.ts +8 -0
- package/lib/account/TokenTransferAccountMap.js +2 -0
- package/lib/account/TokenTransferAccountMap.js.map +1 -0
- package/lib/account/TokenTransferMap.cjs +86 -0
- package/lib/account/TokenTransferMap.d.ts +41 -0
- package/lib/account/TokenTransferMap.js +2 -0
- package/lib/account/TokenTransferMap.js.map +1 -0
- package/lib/account/TransferTransaction.cjs +303 -0
- package/lib/account/TransferTransaction.d.ts +173 -0
- package/lib/account/TransferTransaction.js +2 -0
- package/lib/account/TransferTransaction.js.map +1 -0
- package/lib/address_book/AddressBooks.cjs +17 -0
- package/lib/address_book/AddressBooks.d.ts +4 -0
- package/lib/address_book/AddressBooks.js +2 -0
- package/lib/address_book/AddressBooks.js.map +1 -0
- package/lib/address_book/Endpoint.cjs +140 -0
- package/lib/address_book/Endpoint.d.ts +79 -0
- package/lib/address_book/Endpoint.js +2 -0
- package/lib/address_book/Endpoint.js.map +1 -0
- package/lib/address_book/IPv4Address.cjs +116 -0
- package/lib/address_book/IPv4Address.d.ts +59 -0
- package/lib/address_book/IPv4Address.js +2 -0
- package/lib/address_book/IPv4Address.js.map +1 -0
- package/lib/address_book/IPv4AddressPart.cjs +76 -0
- package/lib/address_book/IPv4AddressPart.d.ts +41 -0
- package/lib/address_book/IPv4AddressPart.js +2 -0
- package/lib/address_book/IPv4AddressPart.js.map +1 -0
- package/lib/address_book/NodeAddress.cjs +287 -0
- package/lib/address_book/NodeAddress.d.ts +170 -0
- package/lib/address_book/NodeAddress.js +2 -0
- package/lib/address_book/NodeAddress.js.map +1 -0
- package/lib/address_book/NodeAddressBook.cjs +108 -0
- package/lib/address_book/NodeAddressBook.d.ts +66 -0
- package/lib/address_book/NodeAddressBook.js +2 -0
- package/lib/address_book/NodeAddressBook.js.map +1 -0
- package/lib/array.cjs +51 -0
- package/lib/array.d.ts +14 -0
- package/lib/array.js +2 -0
- package/lib/array.js.map +1 -0
- package/lib/base32.cjs +38 -0
- package/lib/base32.d.ts +18 -0
- package/lib/base32.js +2 -0
- package/lib/base32.js.map +1 -0
- package/lib/browser.cjs +36 -0
- package/lib/browser.d.ts +3 -0
- package/lib/browser.js +2 -0
- package/lib/browser.js.map +1 -0
- package/lib/channel/Channel.cjs +293 -0
- package/lib/channel/Channel.d.ts +121 -0
- package/lib/channel/Channel.js +2 -0
- package/lib/channel/Channel.js.map +1 -0
- package/lib/channel/MirrorChannel.cjs +55 -0
- package/lib/channel/MirrorChannel.d.ts +32 -0
- package/lib/channel/MirrorChannel.js +2 -0
- package/lib/channel/MirrorChannel.js.map +1 -0
- package/lib/channel/NativeChannel.cjs +97 -0
- package/lib/channel/NativeChannel.d.ts +12 -0
- package/lib/channel/NativeChannel.js +2 -0
- package/lib/channel/NativeChannel.js.map +1 -0
- package/lib/channel/NodeChannel.cjs +173 -0
- package/lib/channel/NodeChannel.d.ts +41 -0
- package/lib/channel/NodeChannel.js +2 -0
- package/lib/channel/NodeChannel.js.map +1 -0
- package/lib/channel/NodeMirrorChannel.cjs +78 -0
- package/lib/channel/NodeMirrorChannel.d.ts +22 -0
- package/lib/channel/NodeMirrorChannel.js +2 -0
- package/lib/channel/NodeMirrorChannel.js.map +1 -0
- package/lib/channel/WebChannel.cjs +90 -0
- package/lib/channel/WebChannel.d.ts +12 -0
- package/lib/channel/WebChannel.js +2 -0
- package/lib/channel/WebChannel.js.map +1 -0
- package/lib/client/Client.cjs +818 -0
- package/lib/client/Client.d.ts +487 -0
- package/lib/client/Client.js +2 -0
- package/lib/client/Client.js.map +1 -0
- package/lib/client/ManagedNetwork.cjs +427 -0
- package/lib/client/ManagedNetwork.d.ts +175 -0
- package/lib/client/ManagedNetwork.js +2 -0
- package/lib/client/ManagedNetwork.js.map +1 -0
- package/lib/client/MirrorNetwork.cjs +89 -0
- package/lib/client/MirrorNetwork.d.ts +27 -0
- package/lib/client/MirrorNetwork.js +2 -0
- package/lib/client/MirrorNetwork.js.map +1 -0
- package/lib/client/NativeClient.cjs +210 -0
- package/lib/client/NativeClient.d.ts +72 -0
- package/lib/client/NativeClient.js +2 -0
- package/lib/client/NativeClient.js.map +1 -0
- package/lib/client/Network.cjs +257 -0
- package/lib/client/Network.d.ts +90 -0
- package/lib/client/Network.js +2 -0
- package/lib/client/Network.js.map +1 -0
- package/lib/client/NodeClient.cjs +316 -0
- package/lib/client/NodeClient.d.ts +129 -0
- package/lib/client/NodeClient.js +2 -0
- package/lib/client/NodeClient.js.map +1 -0
- package/lib/client/WebClient.cjs +280 -0
- package/lib/client/WebClient.d.ts +90 -0
- package/lib/client/WebClient.js +2 -0
- package/lib/client/WebClient.js.map +1 -0
- package/lib/client/addressbooks/mainnet.cjs +7 -0
- package/lib/client/addressbooks/mainnet.d.ts +1 -0
- package/lib/client/addressbooks/mainnet.js +2 -0
- package/lib/client/addressbooks/mainnet.js.map +1 -0
- package/lib/client/addressbooks/previewnet.cjs +7 -0
- package/lib/client/addressbooks/previewnet.d.ts +1 -0
- package/lib/client/addressbooks/previewnet.js +2 -0
- package/lib/client/addressbooks/previewnet.js.map +1 -0
- package/lib/client/addressbooks/testnet.cjs +7 -0
- package/lib/client/addressbooks/testnet.d.ts +1 -0
- package/lib/client/addressbooks/testnet.js +2 -0
- package/lib/client/addressbooks/testnet.js.map +1 -0
- package/lib/constants/ClientConstants.cjs +201 -0
- package/lib/constants/ClientConstants.d.ts +74 -0
- package/lib/constants/ClientConstants.js +2 -0
- package/lib/constants/ClientConstants.js.map +1 -0
- package/lib/contract/ContractByteCodeQuery.cjs +158 -0
- package/lib/contract/ContractByteCodeQuery.d.ts +76 -0
- package/lib/contract/ContractByteCodeQuery.js +2 -0
- package/lib/contract/ContractByteCodeQuery.js.map +1 -0
- package/lib/contract/ContractCallQuery.cjs +338 -0
- package/lib/contract/ContractCallQuery.d.ts +141 -0
- package/lib/contract/ContractCallQuery.js +2 -0
- package/lib/contract/ContractCallQuery.js.map +1 -0
- package/lib/contract/ContractCreateFlow.cjs +452 -0
- package/lib/contract/ContractCreateFlow.d.ts +243 -0
- package/lib/contract/ContractCreateFlow.js +2 -0
- package/lib/contract/ContractCreateFlow.js.map +1 -0
- package/lib/contract/ContractCreateTransaction.cjs +556 -0
- package/lib/contract/ContractCreateTransaction.d.ts +315 -0
- package/lib/contract/ContractCreateTransaction.js +2 -0
- package/lib/contract/ContractCreateTransaction.js.map +1 -0
- package/lib/contract/ContractDeleteTransaction.cjs +235 -0
- package/lib/contract/ContractDeleteTransaction.d.ts +135 -0
- package/lib/contract/ContractDeleteTransaction.js +2 -0
- package/lib/contract/ContractDeleteTransaction.js.map +1 -0
- package/lib/contract/ContractExecuteTransaction.cjs +269 -0
- package/lib/contract/ContractExecuteTransaction.d.ts +164 -0
- package/lib/contract/ContractExecuteTransaction.js +2 -0
- package/lib/contract/ContractExecuteTransaction.js.map +1 -0
- package/lib/contract/ContractFunctionParameters.cjs +1703 -0
- package/lib/contract/ContractFunctionParameters.d.ts +725 -0
- package/lib/contract/ContractFunctionParameters.js +2 -0
- package/lib/contract/ContractFunctionParameters.js.map +1 -0
- package/lib/contract/ContractFunctionResult.cjs +846 -0
- package/lib/contract/ContractFunctionResult.d.ts +510 -0
- package/lib/contract/ContractFunctionResult.js +2 -0
- package/lib/contract/ContractFunctionResult.js.map +1 -0
- package/lib/contract/ContractFunctionSelector.cjs +1775 -0
- package/lib/contract/ContractFunctionSelector.d.ts +688 -0
- package/lib/contract/ContractFunctionSelector.js +2 -0
- package/lib/contract/ContractFunctionSelector.js.map +1 -0
- package/lib/contract/ContractId.cjs +267 -0
- package/lib/contract/ContractId.d.ts +123 -0
- package/lib/contract/ContractId.js +2 -0
- package/lib/contract/ContractId.js.map +1 -0
- package/lib/contract/ContractInfo.cjs +227 -0
- package/lib/contract/ContractInfo.d.ts +151 -0
- package/lib/contract/ContractInfo.js +2 -0
- package/lib/contract/ContractInfo.js.map +1 -0
- package/lib/contract/ContractInfoQuery.cjs +172 -0
- package/lib/contract/ContractInfoQuery.d.ts +70 -0
- package/lib/contract/ContractInfoQuery.js +2 -0
- package/lib/contract/ContractInfoQuery.js.map +1 -0
- package/lib/contract/ContractLogInfo.cjs +87 -0
- package/lib/contract/ContractLogInfo.d.ts +66 -0
- package/lib/contract/ContractLogInfo.js +2 -0
- package/lib/contract/ContractLogInfo.js.map +1 -0
- package/lib/contract/ContractNonceInfo.cjs +129 -0
- package/lib/contract/ContractNonceInfo.d.ts +90 -0
- package/lib/contract/ContractNonceInfo.js +2 -0
- package/lib/contract/ContractNonceInfo.js.map +1 -0
- package/lib/contract/ContractStateChange.cjs +75 -0
- package/lib/contract/ContractStateChange.d.ts +37 -0
- package/lib/contract/ContractUpdateTransaction.cjs +525 -0
- package/lib/contract/ContractUpdateTransaction.d.ts +280 -0
- package/lib/contract/ContractUpdateTransaction.js +2 -0
- package/lib/contract/ContractUpdateTransaction.js.map +1 -0
- package/lib/contract/DelegateContractId.cjs +100 -0
- package/lib/contract/DelegateContractId.d.ts +24 -0
- package/lib/contract/DelegateContractId.js +2 -0
- package/lib/contract/DelegateContractId.js.map +1 -0
- package/lib/contract/StorageChange.cjs +73 -0
- package/lib/contract/StorageChange.d.ts +37 -0
- package/lib/cryptography/keccak.cjs +335 -0
- package/lib/cryptography/keccak.d.ts +14 -0
- package/lib/cryptography/keccak.js +2 -0
- package/lib/cryptography/keccak.js.map +1 -0
- package/lib/cryptography/sha384.browser.cjs +19 -0
- package/lib/cryptography/sha384.browser.d.ts +5 -0
- package/lib/cryptography/sha384.browser.js +2 -0
- package/lib/cryptography/sha384.browser.js.map +1 -0
- package/lib/cryptography/sha384.cjs +27 -0
- package/lib/cryptography/sha384.d.ts +10 -0
- package/lib/cryptography/sha384.js +2 -0
- package/lib/cryptography/sha384.js.map +1 -0
- package/lib/cryptography/sha384.native.cjs +21 -0
- package/lib/cryptography/sha384.native.d.ts +5 -0
- package/lib/encoding/base64.native.cjs +25 -0
- package/lib/encoding/base64.native.d.ts +10 -0
- package/lib/encoding/base64.native.js +2 -0
- package/lib/encoding/base64.native.js.map +1 -0
- package/lib/encoding/hex.browser.cjs +95 -0
- package/lib/encoding/hex.browser.d.ts +26 -0
- package/lib/encoding/hex.browser.js +2 -0
- package/lib/encoding/hex.browser.js.map +1 -0
- package/lib/encoding/hex.cjs +82 -0
- package/lib/encoding/hex.d.ts +26 -0
- package/lib/encoding/hex.js +2 -0
- package/lib/encoding/hex.js.map +1 -0
- package/lib/encoding/hex.native.cjs +127 -0
- package/lib/encoding/hex.native.d.ts +36 -0
- package/lib/encoding/utf8.browser.cjs +26 -0
- package/lib/encoding/utf8.browser.d.ts +10 -0
- package/lib/encoding/utf8.browser.js +2 -0
- package/lib/encoding/utf8.browser.js.map +1 -0
- package/lib/encoding/utf8.cjs +24 -0
- package/lib/encoding/utf8.d.ts +10 -0
- package/lib/encoding/utf8.js +2 -0
- package/lib/encoding/utf8.js.map +1 -0
- package/lib/encoding/utf8.native.cjs +29 -0
- package/lib/encoding/utf8.native.d.ts +10 -0
- package/lib/exports.cjs +1264 -0
- package/lib/exports.d.ts +200 -0
- package/lib/exports.js +2 -0
- package/lib/exports.js.map +1 -0
- package/lib/file/FileAppendTransaction.cjs +482 -0
- package/lib/file/FileAppendTransaction.d.ts +196 -0
- package/lib/file/FileAppendTransaction.js +2 -0
- package/lib/file/FileAppendTransaction.js.map +1 -0
- package/lib/file/FileContentsQuery.cjs +159 -0
- package/lib/file/FileContentsQuery.d.ts +77 -0
- package/lib/file/FileContentsQuery.js +2 -0
- package/lib/file/FileContentsQuery.js.map +1 -0
- package/lib/file/FileCreateTransaction.cjs +259 -0
- package/lib/file/FileCreateTransaction.d.ts +153 -0
- package/lib/file/FileCreateTransaction.js +2 -0
- package/lib/file/FileCreateTransaction.js.map +1 -0
- package/lib/file/FileDeleteTransaction.cjs +149 -0
- package/lib/file/FileDeleteTransaction.d.ts +84 -0
- package/lib/file/FileDeleteTransaction.js +2 -0
- package/lib/file/FileDeleteTransaction.js.map +1 -0
- package/lib/file/FileId.cjs +240 -0
- package/lib/file/FileId.d.ts +126 -0
- package/lib/file/FileId.js +2 -0
- package/lib/file/FileId.js.map +1 -0
- package/lib/file/FileInfo.cjs +128 -0
- package/lib/file/FileInfo.d.ts +76 -0
- package/lib/file/FileInfo.js +2 -0
- package/lib/file/FileInfo.js.map +1 -0
- package/lib/file/FileInfoQuery.cjs +171 -0
- package/lib/file/FileInfoQuery.d.ts +68 -0
- package/lib/file/FileInfoQuery.js +2 -0
- package/lib/file/FileInfoQuery.js.map +1 -0
- package/lib/file/FileUpdateTransaction.cjs +319 -0
- package/lib/file/FileUpdateTransaction.d.ts +188 -0
- package/lib/file/FileUpdateTransaction.js +2 -0
- package/lib/file/FileUpdateTransaction.js.map +1 -0
- package/lib/grpc/GrpcServiceError.cjs +65 -0
- package/lib/grpc/GrpcServiceError.d.ts +32 -0
- package/lib/grpc/GrpcServiceError.js +2 -0
- package/lib/grpc/GrpcServiceError.js.map +1 -0
- package/lib/grpc/GrpcStatus.cjs +145 -0
- package/lib/grpc/GrpcStatus.d.ts +46 -0
- package/lib/grpc/GrpcStatus.js +2 -0
- package/lib/grpc/GrpcStatus.js.map +1 -0
- package/lib/http/HttpError.cjs +32 -0
- package/lib/http/HttpError.d.ts +14 -0
- package/lib/http/HttpError.js +2 -0
- package/lib/http/HttpError.js.map +1 -0
- package/lib/http/HttpStatus.cjs +44 -0
- package/lib/http/HttpStatus.d.ts +24 -0
- package/lib/http/HttpStatus.js +2 -0
- package/lib/http/HttpStatus.js.map +1 -0
- package/lib/index.cjs +44 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -0
- package/lib/logger/LogLevel.cjs +77 -0
- package/lib/logger/LogLevel.d.ts +29 -0
- package/lib/logger/LogLevel.js +2 -0
- package/lib/logger/LogLevel.js.map +1 -0
- package/lib/logger/Logger.cjs +221 -0
- package/lib/logger/Logger.d.ts +132 -0
- package/lib/logger/Logger.js +2 -0
- package/lib/logger/Logger.js.map +1 -0
- package/lib/long.cjs +26 -0
- package/lib/long.d.ts +16 -0
- package/lib/long.js +2 -0
- package/lib/long.js.map +1 -0
- package/lib/native.cjs +36 -0
- package/lib/native.d.ts +3 -0
- package/lib/native.js +2 -0
- package/lib/native.js.map +1 -0
- package/lib/network/AddressBookQuery.cjs +218 -0
- package/lib/network/AddressBookQuery.d.ts +104 -0
- package/lib/network/AddressBookQuery.js +2 -0
- package/lib/network/AddressBookQuery.js.map +1 -0
- package/lib/network/AddressBookQueryWeb.cjs +326 -0
- package/lib/network/AddressBookQueryWeb.d.ts +165 -0
- package/lib/network/AddressBookQueryWeb.js +2 -0
- package/lib/network/AddressBookQueryWeb.js.map +1 -0
- package/lib/network/NetworkVersionInfo.cjs +81 -0
- package/lib/network/NetworkVersionInfo.d.ts +46 -0
- package/lib/network/NetworkVersionInfo.js +2 -0
- package/lib/network/NetworkVersionInfo.js.map +1 -0
- package/lib/network/NetworkVersionInfoQuery.cjs +112 -0
- package/lib/network/NetworkVersionInfoQuery.d.ts +50 -0
- package/lib/network/NetworkVersionInfoQuery.js +2 -0
- package/lib/network/NetworkVersionInfoQuery.js.map +1 -0
- package/lib/network/SemanticVersion.cjs +78 -0
- package/lib/network/SemanticVersion.d.ts +45 -0
- package/lib/network/SemanticVersion.js +2 -0
- package/lib/network/SemanticVersion.js.map +1 -0
- package/lib/node/NodeCreateTransaction.cjs +413 -0
- package/lib/node/NodeCreateTransaction.d.ts +239 -0
- package/lib/node/NodeCreateTransaction.js +2 -0
- package/lib/node/NodeCreateTransaction.js.map +1 -0
- package/lib/node/NodeDeleteTransaction.cjs +143 -0
- package/lib/node/NodeDeleteTransaction.d.ts +80 -0
- package/lib/node/NodeDeleteTransaction.js +2 -0
- package/lib/node/NodeDeleteTransaction.js.map +1 -0
- package/lib/node/NodeUpdateTransaction.cjs +481 -0
- package/lib/node/NodeUpdateTransaction.d.ts +274 -0
- package/lib/node/NodeUpdateTransaction.js +2 -0
- package/lib/node/NodeUpdateTransaction.js.map +1 -0
- package/lib/node/ServiceEndpoint.cjs +140 -0
- package/lib/node/ServiceEndpoint.d.ts +91 -0
- package/lib/node/ServiceEndpoint.js +2 -0
- package/lib/node/ServiceEndpoint.js.map +1 -0
- package/lib/query/CostQuery.cjs +171 -0
- package/lib/query/CostQuery.d.ts +43 -0
- package/lib/query/CostQuery.js +2 -0
- package/lib/query/CostQuery.js.map +1 -0
- package/lib/query/MirrorNodeContractCallQuery.cjs +53 -0
- package/lib/query/MirrorNodeContractCallQuery.d.ts +21 -0
- package/lib/query/MirrorNodeContractCallQuery.js +2 -0
- package/lib/query/MirrorNodeContractCallQuery.js.map +1 -0
- package/lib/query/MirrorNodeContractEstimateQuery.cjs +53 -0
- package/lib/query/MirrorNodeContractEstimateQuery.d.ts +21 -0
- package/lib/query/MirrorNodeContractEstimateQuery.js +2 -0
- package/lib/query/MirrorNodeContractEstimateQuery.js.map +1 -0
- package/lib/query/MirrorNodeContractQuery.cjs +260 -0
- package/lib/query/MirrorNodeContractQuery.d.ts +158 -0
- package/lib/query/MirrorNodeContractQuery.js +2 -0
- package/lib/query/MirrorNodeContractQuery.js.map +1 -0
- package/lib/query/Query.cjs +450 -0
- package/lib/query/Query.d.ts +173 -0
- package/lib/query/Query.js +2 -0
- package/lib/query/Query.js.map +1 -0
- package/lib/query/QueryBase.cjs +114 -0
- package/lib/query/QueryBase.d.ts +43 -0
- package/lib/query/QueryBase.js +2 -0
- package/lib/query/QueryBase.js.map +1 -0
- package/lib/schedule/ScheduleCreateTransaction.cjs +308 -0
- package/lib/schedule/ScheduleCreateTransaction.d.ts +153 -0
- package/lib/schedule/ScheduleCreateTransaction.js +2 -0
- package/lib/schedule/ScheduleCreateTransaction.js.map +1 -0
- package/lib/schedule/ScheduleDeleteTransaction.cjs +146 -0
- package/lib/schedule/ScheduleDeleteTransaction.d.ts +81 -0
- package/lib/schedule/ScheduleDeleteTransaction.js +2 -0
- package/lib/schedule/ScheduleDeleteTransaction.js.map +1 -0
- package/lib/schedule/ScheduleId.cjs +164 -0
- package/lib/schedule/ScheduleId.d.ts +96 -0
- package/lib/schedule/ScheduleId.js +2 -0
- package/lib/schedule/ScheduleId.js.map +1 -0
- package/lib/schedule/ScheduleInfo.cjs +176 -0
- package/lib/schedule/ScheduleInfo.d.ts +93 -0
- package/lib/schedule/ScheduleInfo.js +2 -0
- package/lib/schedule/ScheduleInfo.js.map +1 -0
- package/lib/schedule/ScheduleInfoQuery.cjs +170 -0
- package/lib/schedule/ScheduleInfoQuery.d.ts +66 -0
- package/lib/schedule/ScheduleInfoQuery.js +2 -0
- package/lib/schedule/ScheduleInfoQuery.js.map +1 -0
- package/lib/schedule/ScheduleSignTransaction.cjs +164 -0
- package/lib/schedule/ScheduleSignTransaction.d.ts +110 -0
- package/lib/schedule/ScheduleSignTransaction.js +2 -0
- package/lib/schedule/ScheduleSignTransaction.js.map +1 -0
- package/lib/system/FreezeTransaction.cjs +348 -0
- package/lib/system/FreezeTransaction.d.ts +188 -0
- package/lib/system/FreezeTransaction.js +2 -0
- package/lib/system/FreezeTransaction.js.map +1 -0
- package/lib/system/SystemDeleteTransaction.cjs +200 -0
- package/lib/system/SystemDeleteTransaction.d.ts +110 -0
- package/lib/system/SystemDeleteTransaction.js +2 -0
- package/lib/system/SystemDeleteTransaction.js.map +1 -0
- package/lib/system/SystemUndeleteTransaction.cjs +172 -0
- package/lib/system/SystemUndeleteTransaction.d.ts +97 -0
- package/lib/system/SystemUndeleteTransaction.js +2 -0
- package/lib/system/SystemUndeleteTransaction.js.map +1 -0
- package/lib/token/AbstractTokenTransferTransaction.cjs +406 -0
- package/lib/token/AbstractTokenTransferTransaction.d.ts +138 -0
- package/lib/token/AbstractTokenTransferTransaction.js +2 -0
- package/lib/token/AbstractTokenTransferTransaction.js.map +1 -0
- package/lib/token/AirdropPendingTransaction.cjs +65 -0
- package/lib/token/AirdropPendingTransaction.d.ts +35 -0
- package/lib/token/AirdropPendingTransaction.js +2 -0
- package/lib/token/AirdropPendingTransaction.js.map +1 -0
- package/lib/token/AssessedCustomFee.cjs +177 -0
- package/lib/token/AssessedCustomFee.d.ts +113 -0
- package/lib/token/AssessedCustomFee.js +2 -0
- package/lib/token/AssessedCustomFee.js.map +1 -0
- package/lib/token/CustomFee.cjs +88 -0
- package/lib/token/CustomFee.d.ts +57 -0
- package/lib/token/CustomFee.js +2 -0
- package/lib/token/CustomFee.js.map +1 -0
- package/lib/token/CustomFixedFee.cjs +155 -0
- package/lib/token/CustomFixedFee.d.ts +85 -0
- package/lib/token/CustomFixedFee.js +2 -0
- package/lib/token/CustomFixedFee.js.map +1 -0
- package/lib/token/CustomFractionalFee.cjs +200 -0
- package/lib/token/CustomFractionalFee.d.ts +103 -0
- package/lib/token/CustomFractionalFee.js +2 -0
- package/lib/token/CustomFractionalFee.js.map +1 -0
- package/lib/token/CustomRoyaltyFee.cjs +150 -0
- package/lib/token/CustomRoyaltyFee.d.ts +75 -0
- package/lib/token/CustomRoyaltyFee.js +2 -0
- package/lib/token/CustomRoyaltyFee.js.map +1 -0
- package/lib/token/FeeAssessmentMethod.cjs +58 -0
- package/lib/token/FeeAssessmentMethod.d.ts +29 -0
- package/lib/token/FeeAssessmentMethod.js +2 -0
- package/lib/token/FeeAssessmentMethod.js.map +1 -0
- package/lib/token/NftId.cjs +89 -0
- package/lib/token/NftId.d.ts +46 -0
- package/lib/token/NftId.js +2 -0
- package/lib/token/NftId.js.map +1 -0
- package/lib/token/PendingAirdropId.cjs +152 -0
- package/lib/token/PendingAirdropId.d.ts +81 -0
- package/lib/token/PendingAirdropId.js +2 -0
- package/lib/token/PendingAirdropId.js.map +1 -0
- package/lib/token/PendingAirdropRecord.cjs +55 -0
- package/lib/token/PendingAirdropRecord.d.ts +29 -0
- package/lib/token/PendingAirdropRecord.js +2 -0
- package/lib/token/PendingAirdropRecord.js.map +1 -0
- package/lib/token/TokenAirdropTransaction.cjs +179 -0
- package/lib/token/TokenAirdropTransaction.d.ts +119 -0
- package/lib/token/TokenAirdropTransaction.js +2 -0
- package/lib/token/TokenAirdropTransaction.js.map +1 -0
- package/lib/token/TokenAssociateTransaction.cjs +176 -0
- package/lib/token/TokenAssociateTransaction.d.ts +90 -0
- package/lib/token/TokenAssociateTransaction.js +2 -0
- package/lib/token/TokenAssociateTransaction.js.map +1 -0
- package/lib/token/TokenAssociation.cjs +117 -0
- package/lib/token/TokenAssociation.d.ts +76 -0
- package/lib/token/TokenAssociation.js +2 -0
- package/lib/token/TokenAssociation.js.map +1 -0
- package/lib/token/TokenBurnTransaction.cjs +199 -0
- package/lib/token/TokenBurnTransaction.d.ts +108 -0
- package/lib/token/TokenBurnTransaction.js +2 -0
- package/lib/token/TokenBurnTransaction.js.map +1 -0
- package/lib/token/TokenCancelAirdropTransaction.cjs +109 -0
- package/lib/token/TokenCancelAirdropTransaction.d.ts +50 -0
- package/lib/token/TokenCancelAirdropTransaction.js +2 -0
- package/lib/token/TokenCancelAirdropTransaction.js.map +1 -0
- package/lib/token/TokenClaimAirdropTransaction.cjs +109 -0
- package/lib/token/TokenClaimAirdropTransaction.d.ts +50 -0
- package/lib/token/TokenClaimAirdropTransaction.js +2 -0
- package/lib/token/TokenClaimAirdropTransaction.js.map +1 -0
- package/lib/token/TokenCreateTransaction.cjs +817 -0
- package/lib/token/TokenCreateTransaction.d.ts +446 -0
- package/lib/token/TokenCreateTransaction.js +2 -0
- package/lib/token/TokenCreateTransaction.js.map +1 -0
- package/lib/token/TokenDeleteTransaction.cjs +140 -0
- package/lib/token/TokenDeleteTransaction.d.ts +75 -0
- package/lib/token/TokenDeleteTransaction.js +2 -0
- package/lib/token/TokenDeleteTransaction.js.map +1 -0
- package/lib/token/TokenDissociateTransaction.cjs +176 -0
- package/lib/token/TokenDissociateTransaction.d.ts +90 -0
- package/lib/token/TokenDissociateTransaction.js +2 -0
- package/lib/token/TokenDissociateTransaction.js.map +1 -0
- package/lib/token/TokenFeeScheduleUpdateTransaction.cjs +172 -0
- package/lib/token/TokenFeeScheduleUpdateTransaction.d.ts +93 -0
- package/lib/token/TokenFeeScheduleUpdateTransaction.js +2 -0
- package/lib/token/TokenFeeScheduleUpdateTransaction.js.map +1 -0
- package/lib/token/TokenFreezeTransaction.cjs +172 -0
- package/lib/token/TokenFreezeTransaction.d.ts +90 -0
- package/lib/token/TokenFreezeTransaction.js +2 -0
- package/lib/token/TokenFreezeTransaction.js.map +1 -0
- package/lib/token/TokenGrantKycTransaction.cjs +172 -0
- package/lib/token/TokenGrantKycTransaction.d.ts +90 -0
- package/lib/token/TokenGrantKycTransaction.js +2 -0
- package/lib/token/TokenGrantKycTransaction.js.map +1 -0
- package/lib/token/TokenId.cjs +185 -0
- package/lib/token/TokenId.d.ts +103 -0
- package/lib/token/TokenId.js +2 -0
- package/lib/token/TokenId.js.map +1 -0
- package/lib/token/TokenInfo.cjs +349 -0
- package/lib/token/TokenInfo.d.ts +224 -0
- package/lib/token/TokenInfo.js +2 -0
- package/lib/token/TokenInfo.js.map +1 -0
- package/lib/token/TokenInfoQuery.cjs +170 -0
- package/lib/token/TokenInfoQuery.d.ts +67 -0
- package/lib/token/TokenInfoQuery.js +2 -0
- package/lib/token/TokenInfoQuery.js.map +1 -0
- package/lib/token/TokenKeyValidation.cjs +73 -0
- package/lib/token/TokenKeyValidation.d.ts +39 -0
- package/lib/token/TokenKeyValidation.js +2 -0
- package/lib/token/TokenKeyValidation.js.map +1 -0
- package/lib/token/TokenMintTransaction.cjs +219 -0
- package/lib/token/TokenMintTransaction.d.ts +113 -0
- package/lib/token/TokenMintTransaction.js +2 -0
- package/lib/token/TokenMintTransaction.js.map +1 -0
- package/lib/token/TokenNftInfo.cjs +127 -0
- package/lib/token/TokenNftInfo.d.ts +96 -0
- package/lib/token/TokenNftInfo.js +2 -0
- package/lib/token/TokenNftInfo.js.map +1 -0
- package/lib/token/TokenNftInfoQuery.cjs +312 -0
- package/lib/token/TokenNftInfoQuery.d.ts +149 -0
- package/lib/token/TokenNftInfoQuery.js +2 -0
- package/lib/token/TokenNftInfoQuery.js.map +1 -0
- package/lib/token/TokenNftTransfer.cjs +95 -0
- package/lib/token/TokenNftTransfer.d.ts +70 -0
- package/lib/token/TokenNftTransfer.js +2 -0
- package/lib/token/TokenNftTransfer.js.map +1 -0
- package/lib/token/TokenNftsUpdateTransaction.cjs +185 -0
- package/lib/token/TokenNftsUpdateTransaction.d.ts +97 -0
- package/lib/token/TokenPauseTransaction.cjs +140 -0
- package/lib/token/TokenPauseTransaction.d.ts +75 -0
- package/lib/token/TokenPauseTransaction.js +2 -0
- package/lib/token/TokenPauseTransaction.js.map +1 -0
- package/lib/token/TokenReference.cjs +41 -0
- package/lib/token/TokenReference.d.ts +29 -0
- package/lib/token/TokenReference.js +2 -0
- package/lib/token/TokenReference.js.map +1 -0
- package/lib/token/TokenRejectFlow.cjs +248 -0
- package/lib/token/TokenRejectFlow.d.ts +141 -0
- package/lib/token/TokenRejectFlow.js +2 -0
- package/lib/token/TokenRejectFlow.js.map +1 -0
- package/lib/token/TokenRejectTransaction.cjs +240 -0
- package/lib/token/TokenRejectTransaction.d.ts +120 -0
- package/lib/token/TokenRejectTransaction.js +2 -0
- package/lib/token/TokenRejectTransaction.js.map +1 -0
- package/lib/token/TokenRevokeKycTransaction.cjs +172 -0
- package/lib/token/TokenRevokeKycTransaction.d.ts +90 -0
- package/lib/token/TokenRevokeKycTransaction.js +2 -0
- package/lib/token/TokenRevokeKycTransaction.js.map +1 -0
- package/lib/token/TokenSupplyType.cjs +77 -0
- package/lib/token/TokenSupplyType.d.ts +38 -0
- package/lib/token/TokenSupplyType.js +2 -0
- package/lib/token/TokenSupplyType.js.map +1 -0
- package/lib/token/TokenTransfer.cjs +122 -0
- package/lib/token/TokenTransfer.d.ts +92 -0
- package/lib/token/TokenTransfer.js +2 -0
- package/lib/token/TokenTransfer.js.map +1 -0
- package/lib/token/TokenType.cjs +77 -0
- package/lib/token/TokenType.d.ts +38 -0
- package/lib/token/TokenType.js +2 -0
- package/lib/token/TokenType.js.map +1 -0
- package/lib/token/TokenUnfreezeTransaction.cjs +172 -0
- package/lib/token/TokenUnfreezeTransaction.d.ts +90 -0
- package/lib/token/TokenUnfreezeTransaction.js +2 -0
- package/lib/token/TokenUnfreezeTransaction.js.map +1 -0
- package/lib/token/TokenUnpauseTransaction.cjs +140 -0
- package/lib/token/TokenUnpauseTransaction.d.ts +75 -0
- package/lib/token/TokenUnpauseTransaction.js +2 -0
- package/lib/token/TokenUnpauseTransaction.js.map +1 -0
- package/lib/token/TokenUpdateNftsTransaction.cjs +189 -0
- package/lib/token/TokenUpdateNftsTransaction.d.ts +103 -0
- package/lib/token/TokenUpdateNftsTransaction.js +2 -0
- package/lib/token/TokenUpdateNftsTransaction.js.map +1 -0
- package/lib/token/TokenUpdateTransaction.cjs +672 -0
- package/lib/token/TokenUpdateTransaction.d.ts +366 -0
- package/lib/token/TokenUpdateTransaction.js +2 -0
- package/lib/token/TokenUpdateTransaction.js.map +1 -0
- package/lib/token/TokenWipeTransaction.cjs +231 -0
- package/lib/token/TokenWipeTransaction.d.ts +123 -0
- package/lib/token/TokenWipeTransaction.js +2 -0
- package/lib/token/TokenWipeTransaction.js.map +1 -0
- package/lib/topic/SubscriptionHandle.cjs +40 -0
- package/lib/topic/SubscriptionHandle.d.ts +22 -0
- package/lib/topic/SubscriptionHandle.js +2 -0
- package/lib/topic/SubscriptionHandle.js.map +1 -0
- package/lib/topic/TopicCreateTransaction.cjs +473 -0
- package/lib/topic/TopicCreateTransaction.d.ts +250 -0
- package/lib/topic/TopicCreateTransaction.js +2 -0
- package/lib/topic/TopicCreateTransaction.js.map +1 -0
- package/lib/topic/TopicDeleteTransaction.cjs +146 -0
- package/lib/topic/TopicDeleteTransaction.d.ts +80 -0
- package/lib/topic/TopicDeleteTransaction.js +2 -0
- package/lib/topic/TopicDeleteTransaction.js.map +1 -0
- package/lib/topic/TopicId.cjs +185 -0
- package/lib/topic/TopicId.d.ts +102 -0
- package/lib/topic/TopicId.js +2 -0
- package/lib/topic/TopicId.js.map +1 -0
- package/lib/topic/TopicInfo.cjs +187 -0
- package/lib/topic/TopicInfo.d.ts +119 -0
- package/lib/topic/TopicInfo.js +2 -0
- package/lib/topic/TopicInfo.js.map +1 -0
- package/lib/topic/TopicInfoQuery.cjs +174 -0
- package/lib/topic/TopicInfoQuery.d.ts +81 -0
- package/lib/topic/TopicInfoQuery.js +2 -0
- package/lib/topic/TopicInfoQuery.js.map +1 -0
- package/lib/topic/TopicMessage.cjs +116 -0
- package/lib/topic/TopicMessage.d.ts +65 -0
- package/lib/topic/TopicMessage.js +2 -0
- package/lib/topic/TopicMessage.js.map +1 -0
- package/lib/topic/TopicMessageChunk.cjs +71 -0
- package/lib/topic/TopicMessageChunk.d.ts +56 -0
- package/lib/topic/TopicMessageChunk.js +2 -0
- package/lib/topic/TopicMessageChunk.js.map +1 -0
- package/lib/topic/TopicMessageQuery.cjs +450 -0
- package/lib/topic/TopicMessageQuery.d.ts +220 -0
- package/lib/topic/TopicMessageQuery.js +2 -0
- package/lib/topic/TopicMessageQuery.js.map +1 -0
- package/lib/topic/TopicMessageSubmitTransaction.cjs +412 -0
- package/lib/topic/TopicMessageSubmitTransaction.d.ts +201 -0
- package/lib/topic/TopicMessageSubmitTransaction.js +2 -0
- package/lib/topic/TopicMessageSubmitTransaction.js.map +1 -0
- package/lib/topic/TopicUpdateTransaction.cjs +532 -0
- package/lib/topic/TopicUpdateTransaction.d.ts +284 -0
- package/lib/topic/TopicUpdateTransaction.js +2 -0
- package/lib/topic/TopicUpdateTransaction.js.map +1 -0
- package/lib/transaction/BatchTransaction.cjs +262 -0
- package/lib/transaction/BatchTransaction.d.ts +134 -0
- package/lib/transaction/BatchTransaction.js +2 -0
- package/lib/transaction/BatchTransaction.js.map +1 -0
- package/lib/transaction/CustomFeeLimit.cjs +116 -0
- package/lib/transaction/CustomFeeLimit.d.ts +64 -0
- package/lib/transaction/CustomFeeLimit.js +2 -0
- package/lib/transaction/CustomFeeLimit.js.map +1 -0
- package/lib/transaction/List.cjs +177 -0
- package/lib/transaction/List.d.ts +100 -0
- package/lib/transaction/List.js +2 -0
- package/lib/transaction/List.js.map +1 -0
- package/lib/transaction/NodeAccountIdSignatureMap.cjs +62 -0
- package/lib/transaction/NodeAccountIdSignatureMap.d.ts +23 -0
- package/lib/transaction/NodeAccountIdSignatureMap.js +2 -0
- package/lib/transaction/NodeAccountIdSignatureMap.js.map +1 -0
- package/lib/transaction/NodeAccountIdSignatureMapLegacy.cjs +39 -0
- package/lib/transaction/NodeAccountIdSignatureMapLegacy.d.ts +14 -0
- package/lib/transaction/NodeAccountIdSignatureMapLegacy.js +2 -0
- package/lib/transaction/NodeAccountIdSignatureMapLegacy.js.map +1 -0
- package/lib/transaction/SignableNodeTransactionBodyBytes.cjs +47 -0
- package/lib/transaction/SignableNodeTransactionBodyBytes.d.ts +38 -0
- package/lib/transaction/SignableNodeTransactionBodyBytes.js +2 -0
- package/lib/transaction/SignableNodeTransactionBodyBytes.js.map +1 -0
- package/lib/transaction/SignatureMap.cjs +95 -0
- package/lib/transaction/SignatureMap.d.ts +42 -0
- package/lib/transaction/SignatureMap.js +2 -0
- package/lib/transaction/SignatureMap.js.map +1 -0
- package/lib/transaction/SignatureMapLegacy.cjs +37 -0
- package/lib/transaction/SignatureMapLegacy.d.ts +15 -0
- package/lib/transaction/SignatureMapLegacy.js +2 -0
- package/lib/transaction/SignatureMapLegacy.js.map +1 -0
- package/lib/transaction/SignaturePairMap.cjs +50 -0
- package/lib/transaction/SignaturePairMap.d.ts +21 -0
- package/lib/transaction/SignaturePairMap.js +2 -0
- package/lib/transaction/SignaturePairMap.js.map +1 -0
- package/lib/transaction/TokenTransfer.cjs +2 -0
- package/lib/transaction/TokenTransfer.d.ts +0 -0
- package/lib/transaction/Transaction.cjs +1959 -0
- package/lib/transaction/Transaction.d.ts +698 -0
- package/lib/transaction/Transaction.js +2 -0
- package/lib/transaction/Transaction.js.map +1 -0
- package/lib/transaction/TransactionHashMap.cjs +44 -0
- package/lib/transaction/TransactionHashMap.d.ts +22 -0
- package/lib/transaction/TransactionHashMap.js +2 -0
- package/lib/transaction/TransactionHashMap.js.map +1 -0
- package/lib/transaction/TransactionId.cjs +224 -0
- package/lib/transaction/TransactionId.d.ts +122 -0
- package/lib/transaction/TransactionId.js +2 -0
- package/lib/transaction/TransactionId.js.map +1 -0
- package/lib/transaction/TransactionReceipt.cjs +303 -0
- package/lib/transaction/TransactionReceipt.d.ts +202 -0
- package/lib/transaction/TransactionReceipt.js +2 -0
- package/lib/transaction/TransactionReceipt.js.map +1 -0
- package/lib/transaction/TransactionReceiptQuery.cjs +347 -0
- package/lib/transaction/TransactionReceiptQuery.d.ts +96 -0
- package/lib/transaction/TransactionReceiptQuery.js +2 -0
- package/lib/transaction/TransactionReceiptQuery.js.map +1 -0
- package/lib/transaction/TransactionRecord.cjs +470 -0
- package/lib/transaction/TransactionRecord.d.ts +317 -0
- package/lib/transaction/TransactionRecord.js +2 -0
- package/lib/transaction/TransactionRecord.js.map +1 -0
- package/lib/transaction/TransactionRecordQuery.cjs +366 -0
- package/lib/transaction/TransactionRecordQuery.d.ts +99 -0
- package/lib/transaction/TransactionRecordQuery.js +2 -0
- package/lib/transaction/TransactionRecordQuery.js.map +1 -0
- package/lib/transaction/TransactionResponse.cjs +242 -0
- package/lib/transaction/TransactionResponse.d.ts +119 -0
- package/lib/transaction/TransactionResponse.js +2 -0
- package/lib/transaction/TransactionResponse.js.map +1 -0
- package/lib/util/ASN1-Decoder.cjs +276 -0
- package/lib/util/ASN1-Decoder.d.ts +104 -0
- package/lib/util/ASN1-Decoder.js +2 -0
- package/lib/util/ASN1-Decoder.js.map +1 -0
- package/lib/util.cjs +464 -0
- package/lib/util.d.ts +210 -0
- package/lib/util.js +2 -0
- package/lib/util.js.map +1 -0
- package/lib/version.cjs +8 -0
- package/lib/version.d.ts +2 -0
- package/lib/version.js +2 -0
- package/lib/version.js.map +1 -0
- package/package.json +139 -0
- package/src/BadEntityIdError.js +24 -0
- package/src/Cache.js +418 -0
- package/src/Duration.js +48 -0
- package/src/EntityIdHelper.js +620 -0
- package/src/EthereumFlow.js +244 -0
- package/src/EthereumTransaction.js +298 -0
- package/src/EthereumTransactionData.js +60 -0
- package/src/EthereumTransactionDataEip1559.js +146 -0
- package/src/EthereumTransactionDataEip2930.js +140 -0
- package/src/EthereumTransactionDataLegacy.js +121 -0
- package/src/EvmAddress.js +78 -0
- package/src/ExchangeRate.js +117 -0
- package/src/ExchangeRates.js +71 -0
- package/src/Executable.js +884 -0
- package/src/FeeComponents.js +199 -0
- package/src/FeeData.js +127 -0
- package/src/FeeDataType.js +125 -0
- package/src/FeeSchedule.js +88 -0
- package/src/FeeSchedules.js +82 -0
- package/src/FreezeType.js +113 -0
- package/src/Hbar.js +147 -0
- package/src/HbarUnit.js +90 -0
- package/src/Key.js +60 -0
- package/src/KeyList.js +179 -0
- package/src/LedgerId.js +134 -0
- package/src/LocalProvider.js +165 -0
- package/src/ManagedNode.js +269 -0
- package/src/ManagedNodeAddress.js +101 -0
- package/src/MaxAttemptsOrTimeoutError.js +42 -0
- package/src/MaxQueryPaymentExceeded.js +28 -0
- package/src/MirrorNode.js +41 -0
- package/src/Mnemonic.js +250 -0
- package/src/Node.js +106 -0
- package/src/ObjectMap.js +137 -0
- package/src/PrecheckStatusError.js +73 -0
- package/src/PrivateKey.js +547 -0
- package/src/PrngTransaction.js +152 -0
- package/src/Provider.js +40 -0
- package/src/PublicKey.js +294 -0
- package/src/ReceiptStatusError.js +41 -0
- package/src/RecordStatusError.js +30 -0
- package/src/RequestType.js +920 -0
- package/src/Signer.js +46 -0
- package/src/SignerSignature.js +27 -0
- package/src/StakingInfo.js +187 -0
- package/src/Status.js +3353 -0
- package/src/StatusError.js +64 -0
- package/src/Timestamp.js +160 -0
- package/src/TransactionFeeSchedule.js +100 -0
- package/src/Transfer.js +113 -0
- package/src/Wallet.js +300 -0
- package/src/account/AccountAllowanceAdjustTransaction.js +540 -0
- package/src/account/AccountAllowanceApproveTransaction.js +569 -0
- package/src/account/AccountAllowanceDeleteTransaction.js +199 -0
- package/src/account/AccountBalance.js +160 -0
- package/src/account/AccountBalanceQuery.js +238 -0
- package/src/account/AccountCreateTransaction.js +674 -0
- package/src/account/AccountDeleteTransaction.js +221 -0
- package/src/account/AccountId.js +486 -0
- package/src/account/AccountInfo.js +433 -0
- package/src/account/AccountInfoFlow.js +106 -0
- package/src/account/AccountInfoQuery.js +187 -0
- package/src/account/AccountRecordsQuery.js +186 -0
- package/src/account/AccountUpdateTransaction.js +634 -0
- package/src/account/HbarAllowance.js +147 -0
- package/src/account/HbarTransferMap.js +48 -0
- package/src/account/LiveHash.js +79 -0
- package/src/account/LiveHashAddTransaction.js +289 -0
- package/src/account/LiveHashDeleteTransaction.js +196 -0
- package/src/account/LiveHashQuery.js +209 -0
- package/src/account/NullableTokenDecimalMap.js +19 -0
- package/src/account/ProxyStaker.js +74 -0
- package/src/account/TokenAllowance.js +152 -0
- package/src/account/TokenBalanceMap.js +23 -0
- package/src/account/TokenDecimalMap.js +19 -0
- package/src/account/TokenNftAllowance.js +217 -0
- package/src/account/TokenNftTransferMap.js +134 -0
- package/src/account/TokenRelationship.js +125 -0
- package/src/account/TokenRelationshipMap.js +59 -0
- package/src/account/TokenTransferAccountMap.js +24 -0
- package/src/account/TokenTransferMap.js +99 -0
- package/src/account/TransferTransaction.js +372 -0
- package/src/address_book/AddressBooks.js +27 -0
- package/src/address_book/Endpoint.js +141 -0
- package/src/address_book/IPv4Address.js +125 -0
- package/src/address_book/IPv4AddressPart.js +71 -0
- package/src/address_book/NodeAddress.js +319 -0
- package/src/address_book/NodeAddressBook.js +114 -0
- package/src/array.js +60 -0
- package/src/base32.js +29 -0
- package/src/browser.js +10 -0
- package/src/channel/Channel.js +340 -0
- package/src/channel/MirrorChannel.js +49 -0
- package/src/channel/NativeChannel.js +120 -0
- package/src/channel/NodeChannel.js +196 -0
- package/src/channel/NodeMirrorChannel.js +91 -0
- package/src/channel/WebChannel.js +100 -0
- package/src/client/Client.js +871 -0
- package/src/client/ManagedNetwork.js +473 -0
- package/src/client/MirrorNetwork.js +87 -0
- package/src/client/NativeClient.js +218 -0
- package/src/client/Network.js +304 -0
- package/src/client/NodeClient.js +321 -0
- package/src/client/WebClient.js +302 -0
- package/src/client/addressbooks/mainnet.js +2 -0
- package/src/client/addressbooks/previewnet.js +2 -0
- package/src/client/addressbooks/testnet.js +2 -0
- package/src/constants/ClientConstants.js +204 -0
- package/src/contract/ContractByteCodeQuery.js +178 -0
- package/src/contract/ContractCallQuery.js +382 -0
- package/src/contract/ContractCreateFlow.js +551 -0
- package/src/contract/ContractCreateTransaction.js +677 -0
- package/src/contract/ContractDeleteTransaction.js +291 -0
- package/src/contract/ContractExecuteTransaction.js +313 -0
- package/src/contract/ContractFunctionParameters.js +1759 -0
- package/src/contract/ContractFunctionResult.js +1060 -0
- package/src/contract/ContractFunctionSelector.js +1360 -0
- package/src/contract/ContractId.js +316 -0
- package/src/contract/ContractInfo.js +264 -0
- package/src/contract/ContractInfoQuery.js +190 -0
- package/src/contract/ContractLogInfo.js +83 -0
- package/src/contract/ContractNonceInfo.js +129 -0
- package/src/contract/ContractStateChange.js +77 -0
- package/src/contract/ContractUpdateTransaction.js +665 -0
- package/src/contract/DelegateContractId.js +94 -0
- package/src/contract/StorageChange.js +71 -0
- package/src/cryptography/keccak.js +419 -0
- package/src/cryptography/sha384.browser.js +13 -0
- package/src/cryptography/sha384.js +20 -0
- package/src/cryptography/sha384.native.js +19 -0
- package/src/encoding/base64.native.js +19 -0
- package/src/encoding/hex.browser.js +95 -0
- package/src/encoding/hex.js +76 -0
- package/src/encoding/hex.native.js +386 -0
- package/src/encoding/utf8.browser.js +19 -0
- package/src/encoding/utf8.js +17 -0
- package/src/encoding/utf8.native.js +20 -0
- package/src/exports.js +213 -0
- package/src/file/FileAppendTransaction.js +586 -0
- package/src/file/FileContentsQuery.js +174 -0
- package/src/file/FileCreateTransaction.js +301 -0
- package/src/file/FileDeleteTransaction.js +167 -0
- package/src/file/FileId.js +247 -0
- package/src/file/FileInfo.js +136 -0
- package/src/file/FileInfoQuery.js +186 -0
- package/src/file/FileUpdateTransaction.js +375 -0
- package/src/grpc/GrpcServiceError.js +64 -0
- package/src/grpc/GrpcStatus.js +142 -0
- package/src/http/HttpError.js +26 -0
- package/src/http/HttpStatus.js +38 -0
- package/src/index.js +11 -0
- package/src/logger/LogLevel.js +72 -0
- package/src/logger/Logger.js +225 -0
- package/src/long.js +20 -0
- package/src/native.js +10 -0
- package/src/network/AddressBookQuery.js +272 -0
- package/src/network/AddressBookQueryWeb.js +388 -0
- package/src/network/NetworkVersionInfo.js +81 -0
- package/src/network/NetworkVersionInfoQuery.js +117 -0
- package/src/network/SemanticVersion.js +74 -0
- package/src/node/NodeCreateTransaction.js +513 -0
- package/src/node/NodeDeleteTransaction.js +161 -0
- package/src/node/NodeUpdateTransaction.js +592 -0
- package/src/node/ServiceEndpoint.js +145 -0
- package/src/query/CostQuery.js +187 -0
- package/src/query/MirrorNodeContractCallQuery.js +49 -0
- package/src/query/MirrorNodeContractEstimateQuery.js +48 -0
- package/src/query/MirrorNodeContractQuery.js +266 -0
- package/src/query/Query.js +527 -0
- package/src/query/QueryBase.js +116 -0
- package/src/schedule/ScheduleCreateTransaction.js +371 -0
- package/src/schedule/ScheduleDeleteTransaction.js +174 -0
- package/src/schedule/ScheduleId.js +173 -0
- package/src/schedule/ScheduleInfo.js +243 -0
- package/src/schedule/ScheduleInfoQuery.js +189 -0
- package/src/schedule/ScheduleSignTransaction.js +189 -0
- package/src/system/FreezeTransaction.js +390 -0
- package/src/system/SystemDeleteTransaction.js +239 -0
- package/src/system/SystemUndeleteTransaction.js +207 -0
- package/src/token/AbstractTokenTransferTransaction.js +589 -0
- package/src/token/AirdropPendingTransaction.js +58 -0
- package/src/token/AssessedCustomFee.js +198 -0
- package/src/token/CustomFee.js +87 -0
- package/src/token/CustomFixedFee.js +178 -0
- package/src/token/CustomFractionalFee.js +226 -0
- package/src/token/CustomRoyaltyFee.js +173 -0
- package/src/token/FeeAssessmentMethod.js +53 -0
- package/src/token/NftId.js +95 -0
- package/src/token/PendingAirdropId.js +157 -0
- package/src/token/PendingAirdropRecord.js +50 -0
- package/src/token/TokenAirdropTransaction.js +220 -0
- package/src/token/TokenAssociateTransaction.js +214 -0
- package/src/token/TokenAssociation.js +127 -0
- package/src/token/TokenBurnTransaction.js +229 -0
- package/src/token/TokenCancelAirdropTransaction.js +120 -0
- package/src/token/TokenClaimAirdropTransaction.js +121 -0
- package/src/token/TokenCreateTransaction.js +978 -0
- package/src/token/TokenDeleteTransaction.js +161 -0
- package/src/token/TokenDissociateTransaction.js +214 -0
- package/src/token/TokenFeeScheduleUpdateTransaction.js +198 -0
- package/src/token/TokenFreezeTransaction.js +203 -0
- package/src/token/TokenGrantKycTransaction.js +203 -0
- package/src/token/TokenId.js +203 -0
- package/src/token/TokenInfo.js +454 -0
- package/src/token/TokenInfoQuery.js +185 -0
- package/src/token/TokenKeyValidation.js +70 -0
- package/src/token/TokenMintTransaction.js +258 -0
- package/src/token/TokenNftInfo.js +135 -0
- package/src/token/TokenNftInfoQuery.js +369 -0
- package/src/token/TokenNftTransfer.js +115 -0
- package/src/token/TokenNftsUpdateTransaction.js +220 -0
- package/src/token/TokenPauseTransaction.js +161 -0
- package/src/token/TokenReference.js +40 -0
- package/src/token/TokenRejectFlow.js +261 -0
- package/src/token/TokenRejectTransaction.js +262 -0
- package/src/token/TokenRevokeKycTransaction.js +203 -0
- package/src/token/TokenSupplyType.js +74 -0
- package/src/token/TokenTransfer.js +142 -0
- package/src/token/TokenType.js +74 -0
- package/src/token/TokenUnfreezeTransaction.js +203 -0
- package/src/token/TokenUnpauseTransaction.js +161 -0
- package/src/token/TokenUpdateNftsTransaction.js +225 -0
- package/src/token/TokenUpdateTransaction.js +827 -0
- package/src/token/TokenWipeTransaction.js +271 -0
- package/src/topic/SubscriptionHandle.js +34 -0
- package/src/topic/TopicCreateTransaction.js +557 -0
- package/src/topic/TopicDeleteTransaction.js +167 -0
- package/src/topic/TopicId.js +204 -0
- package/src/topic/TopicInfo.js +254 -0
- package/src/topic/TopicInfoQuery.js +190 -0
- package/src/topic/TopicMessage.js +170 -0
- package/src/topic/TopicMessageChunk.js +76 -0
- package/src/topic/TopicMessageQuery.js +523 -0
- package/src/topic/TopicMessageSubmitTransaction.js +488 -0
- package/src/topic/TopicUpdateTransaction.js +659 -0
- package/src/transaction/BatchTransaction.js +293 -0
- package/src/transaction/CustomFeeLimit.js +121 -0
- package/src/transaction/List.js +175 -0
- package/src/transaction/NodeAccountIdSignatureMap.js +62 -0
- package/src/transaction/NodeAccountIdSignatureMapLegacy.js +41 -0
- package/src/transaction/SignableNodeTransactionBodyBytes.js +40 -0
- package/src/transaction/SignatureMap.js +104 -0
- package/src/transaction/SignatureMapLegacy.js +37 -0
- package/src/transaction/SignaturePairMap.js +53 -0
- package/src/transaction/TokenTransfer.js +1 -0
- package/src/transaction/Transaction.js +2295 -0
- package/src/transaction/TransactionHashMap.js +41 -0
- package/src/transaction/TransactionId.js +262 -0
- package/src/transaction/TransactionReceipt.js +414 -0
- package/src/transaction/TransactionReceiptQuery.js +418 -0
- package/src/transaction/TransactionRecord.js +638 -0
- package/src/transaction/TransactionRecordQuery.js +440 -0
- package/src/transaction/TransactionResponse.js +283 -0
- package/src/types.d.ts +5 -0
- package/src/util/ASN1-Decoder.js +256 -0
- package/src/util.js +479 -0
- package/src/version.js +3 -0
|
@@ -0,0 +1,920 @@
|
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @namespace proto
|
|
5
|
+
* @typedef {import("@hashgraph/proto").proto.HederaFunctionality} HieroProto.proto.HederaFunctionality
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export default class RequestType {
|
|
9
|
+
/**
|
|
10
|
+
* @hideconstructor
|
|
11
|
+
* @internal
|
|
12
|
+
* @param {number} code
|
|
13
|
+
*/
|
|
14
|
+
constructor(code) {
|
|
15
|
+
/** @readonly */
|
|
16
|
+
this._code = code;
|
|
17
|
+
|
|
18
|
+
Object.freeze(this);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @returns {string}
|
|
23
|
+
*/
|
|
24
|
+
toString() {
|
|
25
|
+
switch (this) {
|
|
26
|
+
case RequestType.None:
|
|
27
|
+
return "NONE";
|
|
28
|
+
case RequestType.CryptoTransfer:
|
|
29
|
+
return "CryptoTransfer";
|
|
30
|
+
case RequestType.CryptoUpdate:
|
|
31
|
+
return "CryptoUpdate";
|
|
32
|
+
case RequestType.CryptoDelete:
|
|
33
|
+
return "CryptoDelete";
|
|
34
|
+
case RequestType.CryptoAddLiveHash:
|
|
35
|
+
return "CryptoAddLiveHash";
|
|
36
|
+
case RequestType.CryptoDeleteLiveHash:
|
|
37
|
+
return "CryptoDeleteLiveHash";
|
|
38
|
+
case RequestType.ContractCall:
|
|
39
|
+
return "ContractCall";
|
|
40
|
+
case RequestType.ContractCreate:
|
|
41
|
+
return "ContractCreate";
|
|
42
|
+
case RequestType.ContractUpdate:
|
|
43
|
+
return "ContractUpdate";
|
|
44
|
+
case RequestType.FileCreate:
|
|
45
|
+
return "FileCreate";
|
|
46
|
+
case RequestType.FileAppend:
|
|
47
|
+
return "FileAppend";
|
|
48
|
+
case RequestType.FileUpdate:
|
|
49
|
+
return "FileUpdate";
|
|
50
|
+
case RequestType.FileDelete:
|
|
51
|
+
return "FileDelete";
|
|
52
|
+
case RequestType.CryptoGetAccountBalance:
|
|
53
|
+
return "CryptoGetAccountBalance";
|
|
54
|
+
case RequestType.CryptoGetAccountRecords:
|
|
55
|
+
return "CryptoGetAccountRecords";
|
|
56
|
+
case RequestType.CryptoGetInfo:
|
|
57
|
+
return "CryptoGetInfo";
|
|
58
|
+
case RequestType.ContractCallLocal:
|
|
59
|
+
return "ContractCallLocal";
|
|
60
|
+
case RequestType.ContractGetInfo:
|
|
61
|
+
return "ContractGetInfo";
|
|
62
|
+
case RequestType.ContractGetBytecode:
|
|
63
|
+
return "ContractGetBytecode";
|
|
64
|
+
case RequestType.GetBySolidityID:
|
|
65
|
+
return "GetBySolidityID";
|
|
66
|
+
case RequestType.GetByKey:
|
|
67
|
+
return "GetByKey";
|
|
68
|
+
case RequestType.CryptoGetLiveHash:
|
|
69
|
+
return "CryptoGetLiveHash";
|
|
70
|
+
case RequestType.CryptoGetStakers:
|
|
71
|
+
return "CryptoGetStakers";
|
|
72
|
+
case RequestType.FileGetContents:
|
|
73
|
+
return "FileGetContents";
|
|
74
|
+
case RequestType.FileGetInfo:
|
|
75
|
+
return "FileGetInfo";
|
|
76
|
+
case RequestType.TransactionGetRecord:
|
|
77
|
+
return "TransactionGetRecord";
|
|
78
|
+
case RequestType.ContractGetRecords:
|
|
79
|
+
return "ContractGetRecords";
|
|
80
|
+
case RequestType.CryptoCreate:
|
|
81
|
+
return "CryptoCreate";
|
|
82
|
+
case RequestType.SystemDelete:
|
|
83
|
+
return "SystemDelete";
|
|
84
|
+
case RequestType.SystemUndelete:
|
|
85
|
+
return "SystemUndelete";
|
|
86
|
+
case RequestType.ContractDelete:
|
|
87
|
+
return "ContractDelete";
|
|
88
|
+
case RequestType.Freeze:
|
|
89
|
+
return "Freeze";
|
|
90
|
+
case RequestType.CreateTransactionRecord:
|
|
91
|
+
return "CreateTransactionRecord";
|
|
92
|
+
case RequestType.CryptoAccountAutoRenew:
|
|
93
|
+
return "CryptoAccountAutoRenew";
|
|
94
|
+
case RequestType.ContractAutoRenew:
|
|
95
|
+
return "ContractAutoRenew";
|
|
96
|
+
case RequestType.GetVersionInfo:
|
|
97
|
+
return "GetVersionInfo";
|
|
98
|
+
case RequestType.TransactionGetReceipt:
|
|
99
|
+
return "TransactionGetReceipt";
|
|
100
|
+
case RequestType.ConsensusCreateTopic:
|
|
101
|
+
return "ConsensusCreateTopic";
|
|
102
|
+
case RequestType.ConsensusUpdateTopic:
|
|
103
|
+
return "ConsensusUpdateTopic";
|
|
104
|
+
case RequestType.ConsensusDeleteTopic:
|
|
105
|
+
return "ConsensusDeleteTopic";
|
|
106
|
+
case RequestType.ConsensusGetTopicInfo:
|
|
107
|
+
return "ConsensusGetTopicInfo";
|
|
108
|
+
case RequestType.ConsensusSubmitMessage:
|
|
109
|
+
return "ConsensusSubmitMessage";
|
|
110
|
+
case RequestType.UncheckedSubmit:
|
|
111
|
+
return "UncheckedSubmit";
|
|
112
|
+
case RequestType.TokenCreate:
|
|
113
|
+
return "TokenCreate";
|
|
114
|
+
case RequestType.TokenGetInfo:
|
|
115
|
+
return "TokenGetInfo";
|
|
116
|
+
case RequestType.TokenFreezeAccount:
|
|
117
|
+
return "TokenFreezeAccount";
|
|
118
|
+
case RequestType.TokenUnfreezeAccount:
|
|
119
|
+
return "TokenUnfreezeAccount";
|
|
120
|
+
case RequestType.TokenGrantKycToAccount:
|
|
121
|
+
return "TokenGrantKycToAccount";
|
|
122
|
+
case RequestType.TokenRevokeKycFromAccount:
|
|
123
|
+
return "TokenRevokeKycFromAccount";
|
|
124
|
+
case RequestType.TokenDelete:
|
|
125
|
+
return "TokenDelete";
|
|
126
|
+
case RequestType.TokenUpdate:
|
|
127
|
+
return "TokenUpdate";
|
|
128
|
+
case RequestType.TokenMint:
|
|
129
|
+
return "TokenMint";
|
|
130
|
+
case RequestType.TokenBurn:
|
|
131
|
+
return "TokenBurn";
|
|
132
|
+
case RequestType.TokenAccountWipe:
|
|
133
|
+
return "TokenAccountWipe";
|
|
134
|
+
case RequestType.TokenAssociateToAccount:
|
|
135
|
+
return "TokenAssociateToAccount";
|
|
136
|
+
case RequestType.TokenDissociateFromAccount:
|
|
137
|
+
return "TokenDissociateFromAccount";
|
|
138
|
+
case RequestType.ScheduleCreate:
|
|
139
|
+
return "ScheduleCreate";
|
|
140
|
+
case RequestType.ScheduleDelete:
|
|
141
|
+
return "ScheduleDelete";
|
|
142
|
+
case RequestType.ScheduleSign:
|
|
143
|
+
return "ScheduleSign";
|
|
144
|
+
case RequestType.ScheduleGetInfo:
|
|
145
|
+
return "ScheduleGetInfo";
|
|
146
|
+
case RequestType.TokenGetAccountNftInfos:
|
|
147
|
+
return "TokenGetAccountNftInfos";
|
|
148
|
+
case RequestType.TokenGetNftInfo:
|
|
149
|
+
return "TokenGetNftInfo";
|
|
150
|
+
case RequestType.TokenGetNftInfos:
|
|
151
|
+
return "TokenGetNftInfos";
|
|
152
|
+
case RequestType.TokenFeeScheduleUpdate:
|
|
153
|
+
return "TokenFeeScheduleUpdate";
|
|
154
|
+
case RequestType.NetworkGetExecutionTime:
|
|
155
|
+
return "NetworkGetExecutionTime";
|
|
156
|
+
case RequestType.TokenPause:
|
|
157
|
+
return "TokenPause";
|
|
158
|
+
case RequestType.TokenUnpause:
|
|
159
|
+
return "TokenUnpause";
|
|
160
|
+
case RequestType.CryptoApproveAllowance:
|
|
161
|
+
return "CryptoApproveAllowance";
|
|
162
|
+
case RequestType.CryptoDeleteAllowance:
|
|
163
|
+
return "CryptoDeleteAllowance";
|
|
164
|
+
case RequestType.GetAccountDetails:
|
|
165
|
+
return "GetAccountDetails";
|
|
166
|
+
case RequestType.EthereumTransaction:
|
|
167
|
+
return "EthereumTransaction";
|
|
168
|
+
case RequestType.NodeStakeUpdate:
|
|
169
|
+
return "NodeStakeUpdate";
|
|
170
|
+
case RequestType.Prng:
|
|
171
|
+
return "UtilPrng";
|
|
172
|
+
case RequestType.TransactionGetFastRecord:
|
|
173
|
+
return "TransactionGetFastRecord";
|
|
174
|
+
case RequestType.TokenUpdateNfts:
|
|
175
|
+
return "TokenUpdateNfts";
|
|
176
|
+
case RequestType.NodeCreate:
|
|
177
|
+
return "NodeCreate";
|
|
178
|
+
case RequestType.NodeUpdate:
|
|
179
|
+
return "NodeUpdate";
|
|
180
|
+
case RequestType.NodeDelete:
|
|
181
|
+
return "NodeDelete";
|
|
182
|
+
case RequestType.TokenReject:
|
|
183
|
+
return "TokenReject";
|
|
184
|
+
case RequestType.TokenAirdrop:
|
|
185
|
+
return "TokenAirdrop";
|
|
186
|
+
case RequestType.TokenCancelAirdrop:
|
|
187
|
+
return "TokenCancelAirdrop";
|
|
188
|
+
case RequestType.TokenClaimAirdrop:
|
|
189
|
+
return "TokenClaimAirdrop";
|
|
190
|
+
case RequestType.TssMessage:
|
|
191
|
+
return "TssMessage";
|
|
192
|
+
case RequestType.TssVote:
|
|
193
|
+
return "TssVote";
|
|
194
|
+
case RequestType.TssShareSignature:
|
|
195
|
+
return "TssShareSignature";
|
|
196
|
+
case RequestType.TssEncryptionKey:
|
|
197
|
+
return "TssEncryptionKey";
|
|
198
|
+
case RequestType.StateSignatureTransaction:
|
|
199
|
+
return "StateSignatureTransaction";
|
|
200
|
+
case RequestType.HistoryAssemblySignature:
|
|
201
|
+
return "HistoryAssemblySignature";
|
|
202
|
+
case RequestType.HistoryProofKeyPublication:
|
|
203
|
+
return "HistoryProofKeyPublication";
|
|
204
|
+
case RequestType.HistoryProofVote:
|
|
205
|
+
return "HistoryProofVote";
|
|
206
|
+
case RequestType.HintsKeyPublication:
|
|
207
|
+
return "HintsKeyPublication";
|
|
208
|
+
case RequestType.HintsPreprocessingVote:
|
|
209
|
+
return "HintsPreprocessingVote";
|
|
210
|
+
case RequestType.HintsPartialSignature:
|
|
211
|
+
return "HintsPartialSignature";
|
|
212
|
+
case RequestType.CrsPublication:
|
|
213
|
+
return "CrsPublication";
|
|
214
|
+
case RequestType.AtomicBatch:
|
|
215
|
+
return "AtomicBatch";
|
|
216
|
+
default:
|
|
217
|
+
return `UNKNOWN (${this._code})`;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* @internal
|
|
223
|
+
* @param {number} code
|
|
224
|
+
* @returns {RequestType}
|
|
225
|
+
*/
|
|
226
|
+
static _fromCode(code) {
|
|
227
|
+
switch (code) {
|
|
228
|
+
case 0:
|
|
229
|
+
return RequestType.None;
|
|
230
|
+
case 1:
|
|
231
|
+
return RequestType.CryptoTransfer;
|
|
232
|
+
case 2:
|
|
233
|
+
return RequestType.CryptoUpdate;
|
|
234
|
+
case 3:
|
|
235
|
+
return RequestType.CryptoDelete;
|
|
236
|
+
case 4:
|
|
237
|
+
return RequestType.CryptoAddLiveHash;
|
|
238
|
+
case 5:
|
|
239
|
+
return RequestType.CryptoDeleteLiveHash;
|
|
240
|
+
case 6:
|
|
241
|
+
return RequestType.ContractCall;
|
|
242
|
+
case 7:
|
|
243
|
+
return RequestType.ContractCreate;
|
|
244
|
+
case 8:
|
|
245
|
+
return RequestType.ContractUpdate;
|
|
246
|
+
case 9:
|
|
247
|
+
return RequestType.FileCreate;
|
|
248
|
+
case 10:
|
|
249
|
+
return RequestType.FileAppend;
|
|
250
|
+
case 11:
|
|
251
|
+
return RequestType.FileUpdate;
|
|
252
|
+
case 12:
|
|
253
|
+
return RequestType.FileDelete;
|
|
254
|
+
case 13:
|
|
255
|
+
return RequestType.CryptoGetAccountBalance;
|
|
256
|
+
case 14:
|
|
257
|
+
return RequestType.CryptoGetAccountRecords;
|
|
258
|
+
case 15:
|
|
259
|
+
return RequestType.CryptoGetInfo;
|
|
260
|
+
case 16:
|
|
261
|
+
return RequestType.ContractCallLocal;
|
|
262
|
+
case 17:
|
|
263
|
+
return RequestType.ContractGetInfo;
|
|
264
|
+
case 18:
|
|
265
|
+
return RequestType.ContractGetBytecode;
|
|
266
|
+
case 19:
|
|
267
|
+
return RequestType.GetBySolidityID;
|
|
268
|
+
case 20:
|
|
269
|
+
return RequestType.GetByKey;
|
|
270
|
+
case 21:
|
|
271
|
+
return RequestType.CryptoGetLiveHash;
|
|
272
|
+
case 22:
|
|
273
|
+
return RequestType.CryptoGetStakers;
|
|
274
|
+
case 23:
|
|
275
|
+
return RequestType.FileGetContents;
|
|
276
|
+
case 24:
|
|
277
|
+
return RequestType.FileGetInfo;
|
|
278
|
+
case 25:
|
|
279
|
+
return RequestType.TransactionGetRecord;
|
|
280
|
+
case 26:
|
|
281
|
+
return RequestType.ContractGetRecords;
|
|
282
|
+
case 27:
|
|
283
|
+
return RequestType.CryptoCreate;
|
|
284
|
+
case 28:
|
|
285
|
+
return RequestType.SystemDelete;
|
|
286
|
+
case 29:
|
|
287
|
+
return RequestType.SystemUndelete;
|
|
288
|
+
case 30:
|
|
289
|
+
return RequestType.ContractDelete;
|
|
290
|
+
case 31:
|
|
291
|
+
return RequestType.Freeze;
|
|
292
|
+
case 32:
|
|
293
|
+
return RequestType.CreateTransactionRecord;
|
|
294
|
+
case 33:
|
|
295
|
+
return RequestType.CryptoAccountAutoRenew;
|
|
296
|
+
case 34:
|
|
297
|
+
return RequestType.ContractAutoRenew;
|
|
298
|
+
case 35:
|
|
299
|
+
return RequestType.GetVersionInfo;
|
|
300
|
+
case 36:
|
|
301
|
+
return RequestType.TransactionGetReceipt;
|
|
302
|
+
case 50:
|
|
303
|
+
return RequestType.ConsensusCreateTopic;
|
|
304
|
+
case 51:
|
|
305
|
+
return RequestType.ConsensusUpdateTopic;
|
|
306
|
+
case 52:
|
|
307
|
+
return RequestType.ConsensusDeleteTopic;
|
|
308
|
+
case 53:
|
|
309
|
+
return RequestType.ConsensusGetTopicInfo;
|
|
310
|
+
case 54:
|
|
311
|
+
return RequestType.ConsensusSubmitMessage;
|
|
312
|
+
case 55:
|
|
313
|
+
return RequestType.UncheckedSubmit;
|
|
314
|
+
case 56:
|
|
315
|
+
return RequestType.TokenCreate;
|
|
316
|
+
case 58:
|
|
317
|
+
return RequestType.TokenGetInfo;
|
|
318
|
+
case 59:
|
|
319
|
+
return RequestType.TokenFreezeAccount;
|
|
320
|
+
case 60:
|
|
321
|
+
return RequestType.TokenUnfreezeAccount;
|
|
322
|
+
case 61:
|
|
323
|
+
return RequestType.TokenGrantKycToAccount;
|
|
324
|
+
case 62:
|
|
325
|
+
return RequestType.TokenRevokeKycFromAccount;
|
|
326
|
+
case 63:
|
|
327
|
+
return RequestType.TokenDelete;
|
|
328
|
+
case 64:
|
|
329
|
+
return RequestType.TokenUpdate;
|
|
330
|
+
case 65:
|
|
331
|
+
return RequestType.TokenMint;
|
|
332
|
+
case 66:
|
|
333
|
+
return RequestType.TokenBurn;
|
|
334
|
+
case 67:
|
|
335
|
+
return RequestType.TokenAccountWipe;
|
|
336
|
+
case 68:
|
|
337
|
+
return RequestType.TokenAssociateToAccount;
|
|
338
|
+
case 69:
|
|
339
|
+
return RequestType.TokenDissociateFromAccount;
|
|
340
|
+
case 70:
|
|
341
|
+
return RequestType.ScheduleCreate;
|
|
342
|
+
case 71:
|
|
343
|
+
return RequestType.ScheduleDelete;
|
|
344
|
+
case 72:
|
|
345
|
+
return RequestType.ScheduleSign;
|
|
346
|
+
case 73:
|
|
347
|
+
return RequestType.ScheduleGetInfo;
|
|
348
|
+
case 74:
|
|
349
|
+
return RequestType.TokenGetAccountNftInfos;
|
|
350
|
+
case 75:
|
|
351
|
+
return RequestType.TokenGetNftInfo;
|
|
352
|
+
case 76:
|
|
353
|
+
return RequestType.TokenGetNftInfos;
|
|
354
|
+
case 77:
|
|
355
|
+
return RequestType.TokenFeeScheduleUpdate;
|
|
356
|
+
case 78:
|
|
357
|
+
return RequestType.NetworkGetExecutionTime;
|
|
358
|
+
case 79:
|
|
359
|
+
return RequestType.TokenPause;
|
|
360
|
+
case 80:
|
|
361
|
+
return RequestType.TokenUnpause;
|
|
362
|
+
case 81:
|
|
363
|
+
return RequestType.CryptoApproveAllowance;
|
|
364
|
+
case 82:
|
|
365
|
+
return RequestType.CryptoDeleteAllowance;
|
|
366
|
+
case 83:
|
|
367
|
+
return RequestType.GetAccountDetails;
|
|
368
|
+
case 84:
|
|
369
|
+
return RequestType.EthereumTransaction;
|
|
370
|
+
case 85:
|
|
371
|
+
return RequestType.NodeStakeUpdate;
|
|
372
|
+
case 86:
|
|
373
|
+
return RequestType.Prng;
|
|
374
|
+
case 87:
|
|
375
|
+
return RequestType.TransactionGetFastRecord;
|
|
376
|
+
case 88:
|
|
377
|
+
return RequestType.TokenUpdateNfts;
|
|
378
|
+
case 89:
|
|
379
|
+
return RequestType.NodeCreate;
|
|
380
|
+
case 90:
|
|
381
|
+
return RequestType.NodeUpdate;
|
|
382
|
+
case 91:
|
|
383
|
+
return RequestType.NodeDelete;
|
|
384
|
+
case 92:
|
|
385
|
+
return RequestType.TokenReject;
|
|
386
|
+
case 93:
|
|
387
|
+
return RequestType.TokenAirdrop;
|
|
388
|
+
case 94:
|
|
389
|
+
return RequestType.TokenCancelAirdrop;
|
|
390
|
+
case 95:
|
|
391
|
+
return RequestType.TokenClaimAirdrop;
|
|
392
|
+
case 96:
|
|
393
|
+
return RequestType.TssMessage;
|
|
394
|
+
case 97:
|
|
395
|
+
return RequestType.TssVote;
|
|
396
|
+
case 98:
|
|
397
|
+
return RequestType.TssShareSignature;
|
|
398
|
+
case 99:
|
|
399
|
+
return RequestType.TssEncryptionKey;
|
|
400
|
+
case 100:
|
|
401
|
+
return RequestType.StateSignatureTransaction;
|
|
402
|
+
case 101:
|
|
403
|
+
return RequestType.HintsKeyPublication;
|
|
404
|
+
case 102:
|
|
405
|
+
return RequestType.HintsPreprocessingVote;
|
|
406
|
+
case 103:
|
|
407
|
+
return RequestType.HintsPartialSignature;
|
|
408
|
+
case 104:
|
|
409
|
+
return RequestType.HistoryAssemblySignature;
|
|
410
|
+
case 105:
|
|
411
|
+
return RequestType.HistoryProofKeyPublication;
|
|
412
|
+
case 106:
|
|
413
|
+
return RequestType.HistoryProofVote;
|
|
414
|
+
case 107:
|
|
415
|
+
return RequestType.CrsPublication;
|
|
416
|
+
case 108:
|
|
417
|
+
return RequestType.AtomicBatch;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
throw new Error(
|
|
421
|
+
`(BUG) RequestType.fromCode() does not handle code: ${code}`,
|
|
422
|
+
);
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* @returns {HieroProto.proto.HederaFunctionality}
|
|
427
|
+
*/
|
|
428
|
+
valueOf() {
|
|
429
|
+
return this._code;
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* UNSPECIFIED - Need to keep first value as unspecified because first element is ignored and
|
|
435
|
+
* not parsed (0 is ignored by parser)
|
|
436
|
+
*/
|
|
437
|
+
RequestType.None = new RequestType(0);
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* crypto transfer
|
|
441
|
+
*/
|
|
442
|
+
RequestType.CryptoTransfer = new RequestType(1);
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* crypto update account
|
|
446
|
+
*/
|
|
447
|
+
RequestType.CryptoUpdate = new RequestType(2);
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* crypto delete account
|
|
451
|
+
*/
|
|
452
|
+
RequestType.CryptoDelete = new RequestType(3);
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* Add a livehash to a crypto account
|
|
456
|
+
*/
|
|
457
|
+
RequestType.CryptoAddLiveHash = new RequestType(4);
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* Delete a livehash from a crypto account
|
|
461
|
+
*/
|
|
462
|
+
RequestType.CryptoDeleteLiveHash = new RequestType(5);
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* Smart Contract Call
|
|
466
|
+
*/
|
|
467
|
+
RequestType.ContractCall = new RequestType(6);
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* Smart Contract Create Contract
|
|
471
|
+
*/
|
|
472
|
+
RequestType.ContractCreate = new RequestType(7);
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* Smart Contract update contract
|
|
476
|
+
*/
|
|
477
|
+
RequestType.ContractUpdate = new RequestType(8);
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* File Operation create file
|
|
481
|
+
*/
|
|
482
|
+
RequestType.FileCreate = new RequestType(9);
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* File Operation append file
|
|
486
|
+
*/
|
|
487
|
+
RequestType.FileAppend = new RequestType(10);
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* File Operation update file
|
|
491
|
+
*/
|
|
492
|
+
RequestType.FileUpdate = new RequestType(11);
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* File Operation delete file
|
|
496
|
+
*/
|
|
497
|
+
RequestType.FileDelete = new RequestType(12);
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* crypto get account balance
|
|
501
|
+
*/
|
|
502
|
+
RequestType.CryptoGetAccountBalance = new RequestType(13);
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* crypto get account record
|
|
506
|
+
*/
|
|
507
|
+
RequestType.CryptoGetAccountRecords = new RequestType(14);
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* Crypto get info
|
|
511
|
+
*/
|
|
512
|
+
RequestType.CryptoGetInfo = new RequestType(15);
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* Smart Contract Call
|
|
516
|
+
*/
|
|
517
|
+
RequestType.ContractCallLocal = new RequestType(16);
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* Smart Contract get info
|
|
521
|
+
*/
|
|
522
|
+
RequestType.ContractGetInfo = new RequestType(17);
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* Smart Contract, get the runtime code
|
|
526
|
+
*/
|
|
527
|
+
RequestType.ContractGetBytecode = new RequestType(18);
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* Smart Contract, get by solidity ID
|
|
531
|
+
*/
|
|
532
|
+
RequestType.GetBySolidityID = new RequestType(19);
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* Smart Contract, get by key
|
|
536
|
+
*/
|
|
537
|
+
RequestType.GetByKey = new RequestType(20);
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* Get a live hash from a crypto account
|
|
541
|
+
*/
|
|
542
|
+
RequestType.CryptoGetLiveHash = new RequestType(21);
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* Crypto, get the stakers for the node
|
|
546
|
+
*/
|
|
547
|
+
RequestType.CryptoGetStakers = new RequestType(22);
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* File Operations get file contents
|
|
551
|
+
*/
|
|
552
|
+
RequestType.FileGetContents = new RequestType(23);
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* File Operations get the info of the file
|
|
556
|
+
*/
|
|
557
|
+
RequestType.FileGetInfo = new RequestType(24);
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* Crypto get the transaction records
|
|
561
|
+
*/
|
|
562
|
+
RequestType.TransactionGetRecord = new RequestType(25);
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* Contract get the transaction records
|
|
566
|
+
*/
|
|
567
|
+
RequestType.ContractGetRecords = new RequestType(26);
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* crypto create account
|
|
571
|
+
*/
|
|
572
|
+
RequestType.CryptoCreate = new RequestType(27);
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* system delete file
|
|
576
|
+
*/
|
|
577
|
+
RequestType.SystemDelete = new RequestType(28);
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* system undelete file
|
|
581
|
+
*/
|
|
582
|
+
RequestType.SystemUndelete = new RequestType(29);
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* delete contract
|
|
586
|
+
*/
|
|
587
|
+
RequestType.ContractDelete = new RequestType(30);
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* freeze
|
|
591
|
+
*/
|
|
592
|
+
RequestType.Freeze = new RequestType(31);
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* Create Tx Record
|
|
596
|
+
*/
|
|
597
|
+
RequestType.CreateTransactionRecord = new RequestType(32);
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* Crypto Auto Renew
|
|
601
|
+
*/
|
|
602
|
+
RequestType.CryptoAccountAutoRenew = new RequestType(33);
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* Contract Auto Renew
|
|
606
|
+
*/
|
|
607
|
+
RequestType.ContractAutoRenew = new RequestType(34);
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* Get Version
|
|
611
|
+
*/
|
|
612
|
+
RequestType.GetVersionInfo = new RequestType(35);
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* Transaction Get Receipt
|
|
616
|
+
*/
|
|
617
|
+
RequestType.TransactionGetReceipt = new RequestType(36);
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* Create Topic
|
|
621
|
+
*/
|
|
622
|
+
RequestType.ConsensusCreateTopic = new RequestType(50);
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* Update Topic
|
|
626
|
+
*/
|
|
627
|
+
RequestType.ConsensusUpdateTopic = new RequestType(51);
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* Delete Topic
|
|
631
|
+
*/
|
|
632
|
+
RequestType.ConsensusDeleteTopic = new RequestType(52);
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* Get Topic information
|
|
636
|
+
*/
|
|
637
|
+
RequestType.ConsensusGetTopicInfo = new RequestType(53);
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* Submit message to topic
|
|
641
|
+
*/
|
|
642
|
+
RequestType.ConsensusSubmitMessage = new RequestType(54);
|
|
643
|
+
|
|
644
|
+
RequestType.UncheckedSubmit = new RequestType(55);
|
|
645
|
+
/**
|
|
646
|
+
* Create Token
|
|
647
|
+
*/
|
|
648
|
+
RequestType.TokenCreate = new RequestType(56);
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* Get Token information
|
|
652
|
+
*/
|
|
653
|
+
RequestType.TokenGetInfo = new RequestType(58);
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* Freeze Account
|
|
657
|
+
*/
|
|
658
|
+
RequestType.TokenFreezeAccount = new RequestType(59);
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* Unfreeze Account
|
|
662
|
+
*/
|
|
663
|
+
RequestType.TokenUnfreezeAccount = new RequestType(60);
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* Grant KYC to Account
|
|
667
|
+
*/
|
|
668
|
+
RequestType.TokenGrantKycToAccount = new RequestType(61);
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* Revoke KYC from Account
|
|
672
|
+
*/
|
|
673
|
+
RequestType.TokenRevokeKycFromAccount = new RequestType(62);
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* Delete Token
|
|
677
|
+
*/
|
|
678
|
+
RequestType.TokenDelete = new RequestType(63);
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* Update Token
|
|
682
|
+
*/
|
|
683
|
+
RequestType.TokenUpdate = new RequestType(64);
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* Mint tokens to treasury
|
|
687
|
+
*/
|
|
688
|
+
RequestType.TokenMint = new RequestType(65);
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* Burn tokens from treasury
|
|
692
|
+
*/
|
|
693
|
+
RequestType.TokenBurn = new RequestType(66);
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* Wipe token amount from Account holder
|
|
697
|
+
*/
|
|
698
|
+
RequestType.TokenAccountWipe = new RequestType(67);
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* Associate tokens to an account
|
|
702
|
+
*/
|
|
703
|
+
RequestType.TokenAssociateToAccount = new RequestType(68);
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* Dissociate tokens from an account
|
|
707
|
+
*/
|
|
708
|
+
RequestType.TokenDissociateFromAccount = new RequestType(69);
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* Create Scheduled Transaction
|
|
712
|
+
*/
|
|
713
|
+
RequestType.ScheduleCreate = new RequestType(70);
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* Delete Scheduled Transaction
|
|
717
|
+
*/
|
|
718
|
+
RequestType.ScheduleDelete = new RequestType(71);
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* Sign Scheduled Transaction
|
|
722
|
+
*/
|
|
723
|
+
RequestType.ScheduleSign = new RequestType(72);
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* Get Scheduled Transaction Information
|
|
727
|
+
*/
|
|
728
|
+
RequestType.ScheduleGetInfo = new RequestType(73);
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* Get Token Account Nft Information
|
|
732
|
+
*/
|
|
733
|
+
RequestType.TokenGetAccountNftInfos = new RequestType(74);
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* Get Token Nft Information
|
|
737
|
+
*/
|
|
738
|
+
RequestType.TokenGetNftInfo = new RequestType(75);
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* Get Token Nft List Information
|
|
742
|
+
*/
|
|
743
|
+
RequestType.TokenGetNftInfos = new RequestType(76);
|
|
744
|
+
|
|
745
|
+
/**
|
|
746
|
+
* Update a token's custom fee schedule, if permissible
|
|
747
|
+
*/
|
|
748
|
+
RequestType.TokenFeeScheduleUpdate = new RequestType(77);
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* Get execution time(s) by TransactionID, if available
|
|
752
|
+
*/
|
|
753
|
+
RequestType.NetworkGetExecutionTime = new RequestType(78);
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* Pause the Token
|
|
757
|
+
*/
|
|
758
|
+
RequestType.TokenPause = new RequestType(79);
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* Unpause the Token
|
|
762
|
+
*/
|
|
763
|
+
RequestType.TokenUnpause = new RequestType(80);
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* Approve allowance for a spender relative to the owner account
|
|
767
|
+
*/
|
|
768
|
+
RequestType.CryptoApproveAllowance = new RequestType(81);
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* Deletes granted allowances on owner account
|
|
772
|
+
*/
|
|
773
|
+
RequestType.CryptoDeleteAllowance = new RequestType(82);
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* Gets all the information about an account, including balance and allowances. This does not get the list of
|
|
777
|
+
* account records.
|
|
778
|
+
*/
|
|
779
|
+
RequestType.GetAccountDetails = new RequestType(83);
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* Ethereum Transaction
|
|
783
|
+
*/
|
|
784
|
+
RequestType.EthereumTransaction = new RequestType(84);
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* Updates the staking info at the end of staking period to indicate new staking period has started.
|
|
788
|
+
*/
|
|
789
|
+
RequestType.NodeStakeUpdate = new RequestType(85);
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* Generates a pseudorandom number.
|
|
793
|
+
*/
|
|
794
|
+
RequestType.Prng = new RequestType(86);
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* Get a record for a transaction (lasts 180 seconds)
|
|
798
|
+
*/
|
|
799
|
+
RequestType.TransactionGetFastRecord = new RequestType(87);
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* Update the metadata of one or more NFT's of a specific token type.
|
|
803
|
+
*/
|
|
804
|
+
RequestType.TokenUpdateNfts = new RequestType(88);
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
* A transaction body for a `createNode` request.
|
|
808
|
+
*/
|
|
809
|
+
RequestType.NodeCreate = new RequestType(89);
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* A transaction body for an `updateNode` request.
|
|
813
|
+
*/
|
|
814
|
+
RequestType.NodeUpdate = new RequestType(90);
|
|
815
|
+
|
|
816
|
+
/**
|
|
817
|
+
* A transaction body for a `deleteNode` request.
|
|
818
|
+
*/
|
|
819
|
+
RequestType.NodeDelete = new RequestType(91);
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* Transfer one or more token balances held by the requesting account to the treasury for each token type.
|
|
823
|
+
*/
|
|
824
|
+
RequestType.TokenReject = new RequestType(92);
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* Airdrop one or more tokens to one or more accounts.
|
|
828
|
+
*/
|
|
829
|
+
RequestType.TokenAirdrop = new RequestType(93);
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* Remove one or more pending airdrops from state on behalf of the sender(s) for each airdrop.
|
|
833
|
+
*/
|
|
834
|
+
RequestType.TokenCancelAirdrop = new RequestType(94);
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* Claim one or more pending airdrops
|
|
838
|
+
*/
|
|
839
|
+
RequestType.TokenClaimAirdrop = new RequestType(95);
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* (TSS) Messages for a candidate roster.
|
|
843
|
+
*/
|
|
844
|
+
RequestType.TssMessage = new RequestType(96);
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* Vote on the validity of Threshold Signature Scheme (TSS)
|
|
848
|
+
*/
|
|
849
|
+
RequestType.TssVote = new RequestType(97);
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* Communicates a node's signature of a block hash
|
|
853
|
+
* using its private share within the TSS process
|
|
854
|
+
*/
|
|
855
|
+
RequestType.TssShareSignature = new RequestType(98);
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* Submit a node public tss encryption key as part of the Threshold Signature Scheme (TSS).
|
|
859
|
+
*/
|
|
860
|
+
RequestType.TssEncryptionKey = new RequestType(99);
|
|
861
|
+
|
|
862
|
+
/**
|
|
863
|
+
* Submit a signature of a state root hash gossiped to other nodes
|
|
864
|
+
*/
|
|
865
|
+
RequestType.StateSignatureTransaction = new RequestType(100);
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* Publish a hinTS key to the network.
|
|
869
|
+
*/
|
|
870
|
+
RequestType.HintsKeyPublication = new RequestType(101);
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* Vote for a particular preprocessing output of a hinTS construction.
|
|
874
|
+
*/
|
|
875
|
+
RequestType.HintsPreprocessingVote = new RequestType(102);
|
|
876
|
+
|
|
877
|
+
/**
|
|
878
|
+
* Sign a partial signature for the active hinTS construction.
|
|
879
|
+
*/
|
|
880
|
+
RequestType.HintsPartialSignature = new RequestType(103);
|
|
881
|
+
|
|
882
|
+
/**
|
|
883
|
+
* Sign a particular history assembly.
|
|
884
|
+
*/
|
|
885
|
+
RequestType.HistoryAssemblySignature = new RequestType(104);
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* Publish a roster history proof key to the network.
|
|
889
|
+
*/
|
|
890
|
+
RequestType.HistoryProofKeyPublication = new RequestType(105);
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* Vote for a particular history proof.
|
|
894
|
+
*/
|
|
895
|
+
RequestType.HistoryProofVote = new RequestType(106);
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* Sign a particular CRS publication.
|
|
899
|
+
*/
|
|
900
|
+
RequestType.CrsPublication = new RequestType(107);
|
|
901
|
+
|
|
902
|
+
/**
|
|
903
|
+
* Sign a particular history assembly.
|
|
904
|
+
*/
|
|
905
|
+
RequestType.HistoryAssemblySignature = new RequestType(104);
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* Publish a roster history proof key to the network.
|
|
909
|
+
*/
|
|
910
|
+
RequestType.HistoryProofKeyPublication = new RequestType(105);
|
|
911
|
+
|
|
912
|
+
/**
|
|
913
|
+
* Vote for a particular history proof.
|
|
914
|
+
*/
|
|
915
|
+
RequestType.HistoryProofVote = new RequestType(106);
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* Sign a particular atomic batch.
|
|
919
|
+
*/
|
|
920
|
+
RequestType.AtomicBatch = new RequestType(108);
|