@locuschain/lib 0.1.31 → 0.1.32
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/dist/accounts/account.d.mts +58 -0
- package/dist/accounts/index.amd.js +306 -0
- package/dist/accounts/index.cjs.cjs +311 -0
- package/dist/accounts/index.d.cts +5 -0
- package/dist/accounts/index.d.mts +5 -0
- package/dist/accounts/index.esm.js +304 -0
- package/dist/accounts/keys/index.d.mts +2 -0
- package/dist/accounts/keys/localKeySource.d.mts +23 -0
- package/dist/accounts/keys/toKeySource.d.mts +14 -0
- package/dist/accounts/keysToAccount.d.mts +19 -0
- package/dist/accounts/mnemonicToAccount.d.mts +25 -0
- package/dist/accounts/signing/txKeyPolicy.d.mts +21 -0
- package/dist/accounts/types.d.mts +100 -0
- package/dist/actions/wallet/_deriveTxAdditions.d.mts +18 -0
- package/dist/actions/wallet/_prepareTransaction.d.mts +15 -0
- package/dist/actions/wallet/_sendPreparedTransaction.d.mts +9 -0
- package/dist/actions/wallet/_signLocusTransaction.d.mts +14 -0
- package/dist/actions/wallet/index.d.mts +5 -0
- package/dist/actions/wallet/types.d.mts +38 -0
- package/dist/autogen/actions/debug/index.d.mts +2 -0
- package/dist/autogen/actions/debug/public/allHeights.d.mts +3 -0
- package/dist/autogen/actions/debug/public/balanceGrantList.d.mts +2 -0
- package/dist/autogen/actions/debug/public/balanceList.d.mts +2 -0
- package/dist/autogen/actions/debug/public/createAccount.d.mts +3 -0
- package/dist/autogen/actions/debug/public/createNode.d.mts +4 -0
- package/dist/autogen/actions/debug/public/dumpAllAccounts.d.mts +3 -0
- package/dist/autogen/actions/debug/public/echo.d.mts +2 -0
- package/dist/autogen/actions/debug/public/gameChainCmd.d.mts +4 -0
- package/dist/autogen/actions/debug/public/getAccountsBalances.d.mts +4 -0
- package/dist/autogen/actions/debug/public/getAccountsHeights.d.mts +4 -0
- package/dist/autogen/actions/debug/public/getContractLog.d.mts +4 -0
- package/dist/autogen/actions/debug/public/getGuestsInfo.d.mts +3 -0
- package/dist/autogen/actions/debug/public/getHomeShard.d.mts +4 -0
- package/dist/autogen/actions/debug/public/getImportAccount.d.mts +4 -0
- package/dist/autogen/actions/debug/public/getImportAccountLog.d.mts +4 -0
- package/dist/autogen/actions/debug/public/getKeys.d.mts +4 -0
- package/dist/autogen/actions/debug/public/getNodeBlocks.d.mts +3 -0
- package/dist/autogen/actions/debug/public/getPeerPool.d.mts +2 -0
- package/dist/autogen/actions/debug/public/getPeersInfo.d.mts +3 -0
- package/dist/autogen/actions/debug/public/importAccount.d.mts +4 -0
- package/dist/autogen/actions/debug/public/index.d.mts +29 -0
- package/dist/autogen/actions/debug/public/initReliableNodes.d.mts +4 -0
- package/dist/autogen/actions/debug/public/noArgsRets.d.mts +2 -0
- package/dist/autogen/actions/debug/public/nodeCmd.d.mts +3 -0
- package/dist/autogen/actions/debug/public/removeHoldTxs.d.mts +4 -0
- package/dist/autogen/actions/debug/public/requestVme.d.mts +4 -0
- package/dist/autogen/actions/debug/public/sendRawTransaction.d.mts +4 -0
- package/dist/autogen/actions/debug/public/setImportAccountTx.d.mts +4 -0
- package/dist/autogen/actions/debug/public/setReliableNode.d.mts +4 -0
- package/dist/autogen/actions/debug/public/viewContract.d.mts +4 -0
- package/dist/autogen/actions/debug/wallet/callContract.d.mts +4 -0
- package/dist/autogen/actions/debug/wallet/createContract.d.mts +4 -0
- package/dist/autogen/actions/debug/wallet/createSynthAccount.d.mts +4 -0
- package/dist/autogen/actions/debug/wallet/index.d.mts +4 -0
- package/dist/autogen/actions/debug/wallet/postDataToSynthAccount.d.mts +4 -0
- package/dist/autogen/actions/index.d.mts +3 -0
- package/dist/autogen/actions/public/accountHeightsToDownload.d.mts +4 -0
- package/dist/autogen/actions/public/accountHeightsToUpload.d.mts +4 -0
- package/dist/autogen/actions/public/calculateSpentByExpress.d.mts +4 -0
- package/dist/autogen/actions/public/clientMessage.d.mts +3 -0
- package/dist/autogen/actions/public/downloadAccountTxs.d.mts +4 -0
- package/dist/autogen/actions/public/echo.d.mts +2 -0
- package/dist/autogen/actions/public/findDuplicateSubscriber.d.mts +4 -0
- package/dist/autogen/actions/public/generateLatestStoredDataProof.d.mts +4 -0
- package/dist/autogen/actions/public/getAccountAssetList.d.mts +4 -0
- package/dist/autogen/actions/public/getAccountAssetObject.d.mts +4 -0
- package/dist/autogen/actions/public/getAccountDetail.d.mts +4 -0
- package/dist/autogen/actions/public/getAccountHistory.d.mts +4 -0
- package/dist/autogen/actions/public/getAccountTokenList.d.mts +4 -0
- package/dist/autogen/actions/public/getConciseNodeStatus.d.mts +3 -0
- package/dist/autogen/actions/public/getGenesisAccount.d.mts +3 -0
- package/dist/autogen/actions/public/getIdentityProof.d.mts +4 -0
- package/dist/autogen/actions/public/getInactiveTxList.d.mts +4 -0
- package/dist/autogen/actions/public/getMontInfoList.d.mts +4 -0
- package/dist/autogen/actions/public/getNodeStatus.d.mts +3 -0
- package/dist/autogen/actions/public/getOwnerBalance.d.mts +3 -0
- package/dist/autogen/actions/public/getRoundState.d.mts +4 -0
- package/dist/autogen/actions/public/getRoundStatesList.d.mts +4 -0
- package/dist/autogen/actions/public/getShardOfAccount.d.mts +4 -0
- package/dist/autogen/actions/public/getSyncState.d.mts +3 -0
- package/dist/autogen/actions/public/getTx.d.mts +4 -0
- package/dist/autogen/actions/public/getWorldRoundState.d.mts +4 -0
- package/dist/autogen/actions/public/getWorldRoundStatesList.d.mts +4 -0
- package/dist/autogen/actions/public/hasSystemToken.d.mts +4 -0
- package/dist/autogen/actions/public/index.d.mts +38 -0
- package/dist/autogen/actions/public/makeTxProof.d.mts +4 -0
- package/dist/autogen/actions/public/queryAddress.d.mts +4 -0
- package/dist/autogen/actions/public/readTxListWitness.d.mts +4 -0
- package/dist/autogen/actions/public/setHost.d.mts +3 -0
- package/dist/autogen/actions/public/subscribeAddress.d.mts +4 -0
- package/dist/autogen/actions/public/uploadAccountTxs.d.mts +3 -0
- package/dist/autogen/actions/public/verifyAndSignChallenge.d.mts +4 -0
- package/dist/autogen/actions/public/verifyIdentityProof.d.mts +4 -0
- package/dist/autogen/actions/public/verifyLatestStoredDataProof.d.mts +3 -0
- package/dist/autogen/actions/public/verifyTxListWitness.d.mts +3 -0
- package/dist/autogen/actions/wallet/acceptScript.d.mts +4 -0
- package/dist/autogen/actions/wallet/becomeGuest.d.mts +4 -0
- package/dist/autogen/actions/wallet/becomeHost.d.mts +4 -0
- package/dist/autogen/actions/wallet/changeKey.d.mts +4 -0
- package/dist/autogen/actions/wallet/changeVkey.d.mts +4 -0
- package/dist/autogen/actions/wallet/closeAccount.d.mts +4 -0
- package/dist/autogen/actions/wallet/createAssetObject.d.mts +4 -0
- package/dist/autogen/actions/wallet/createToken.d.mts +4 -0
- package/dist/autogen/actions/wallet/createVme.d.mts +4 -0
- package/dist/autogen/actions/wallet/index.d.mts +19 -0
- package/dist/autogen/actions/wallet/lockStake.d.mts +4 -0
- package/dist/autogen/actions/wallet/openAccount.d.mts +4 -0
- package/dist/autogen/actions/wallet/postData.d.mts +4 -0
- package/dist/autogen/actions/wallet/provideScript.d.mts +4 -0
- package/dist/autogen/actions/wallet/requestDataTrade.d.mts +4 -0
- package/dist/autogen/actions/wallet/transferAssetObject.d.mts +4 -0
- package/dist/autogen/actions/wallet/transferCoin.d.mts +4 -0
- package/dist/autogen/actions/wallet/transferCoinExpress.d.mts +4 -0
- package/dist/autogen/actions/wallet/transferToken.d.mts +4 -0
- package/dist/autogen/actions/wallet/unlockStake.d.mts +4 -0
- package/dist/autogen/debugPublicActions.d.mts +47 -0
- package/dist/autogen/debugWalletActions.d.mts +11 -0
- package/dist/autogen/index.amd.js +151 -0
- package/dist/autogen/index.cjs.cjs +157 -0
- package/dist/autogen/index.d.cts +8 -0
- package/dist/autogen/index.d.mts +8 -0
- package/dist/autogen/index.esm.js +49 -0
- package/dist/autogen/locus-tx.d.mts +5 -0
- package/dist/autogen/publicActions.d.mts +66 -0
- package/dist/autogen/rpc-api-spec.d.mts +208 -0
- package/dist/autogen/types/common/addr-tx-proof.d.mts +5 -0
- package/dist/autogen/types/common/asset-object-transfer.d.mts +8 -0
- package/dist/autogen/types/common/asset-object.d.mts +10 -0
- package/dist/autogen/types/common/asset-proof-objects.d.mts +5 -0
- package/dist/autogen/types/common/asset-transfer-info.d.mts +9 -0
- package/dist/autogen/types/common/base-meta.d.mts +1 -0
- package/dist/autogen/types/common/contract-exec-status.d.mts +16 -0
- package/dist/autogen/types/common/contract-transfer-info.d.mts +7 -0
- package/dist/autogen/types/common/get-peers-info.d.mts +9 -0
- package/dist/autogen/types/common/index-value-pair.d.mts +4 -0
- package/dist/autogen/types/common/index.d.mts +54 -0
- package/dist/autogen/types/common/input-params-data-transfer.d.mts +8 -0
- package/dist/autogen/types/common/key-bind-info.d.mts +4 -0
- package/dist/autogen/types/common/mont-info.d.mts +4 -0
- package/dist/autogen/types/common/object-amount-transfer.d.mts +5 -0
- package/dist/autogen/types/common/object-amount.d.mts +4 -0
- package/dist/autogen/types/common/output-download-account-txs.d.mts +4 -0
- package/dist/autogen/types/common/param-str.d.mts +3 -0
- package/dist/autogen/types/common/param-tx-data.d.mts +5 -0
- package/dist/autogen/types/common/params-token-value-pair.d.mts +4 -0
- package/dist/autogen/types/common/public-height-chunk.d.mts +4 -0
- package/dist/autogen/types/common/ref-tx-info.d.mts +5 -0
- package/dist/autogen/types/common/ref-vtx.d.mts +6 -0
- package/dist/autogen/types/common/ret-type-base.d.mts +1 -0
- package/dist/autogen/types/common/round-state-abstract.d.mts +11 -0
- package/dist/autogen/types/common/round-state-detail.d.mts +16 -0
- package/dist/autogen/types/common/rpc-account-height.d.mts +5 -0
- package/dist/autogen/types/common/rpc-accounts-balances-result.d.mts +4 -0
- package/dist/autogen/types/common/rpc-asset-list-values.d.mts +7 -0
- package/dist/autogen/types/common/rpc-data-trade-result.d.mts +5 -0
- package/dist/autogen/types/common/rpc-token-balance-pair.d.mts +4 -0
- package/dist/autogen/types/common/token-value-ab.d.mts +5 -0
- package/dist/autogen/types/common/token-value-pair.d.mts +4 -0
- package/dist/autogen/types/common/transaction-sender-index.d.mts +7 -0
- package/dist/autogen/types/common/transfer-info.d.mts +7 -0
- package/dist/autogen/types/common/tx-base.d.mts +13 -0
- package/dist/autogen/types/common/tx-hash-elements.d.mts +6 -0
- package/dist/autogen/types/common/tx-key-height-hash.d.mts +4 -0
- package/dist/autogen/types/common/tx-key-nround.d.mts +5 -0
- package/dist/autogen/types/common/tx-key.d.mts +4 -0
- package/dist/autogen/types/common/tx-meta.d.mts +2 -0
- package/dist/autogen/types/common/tx-no-signature.d.mts +1 -0
- package/dist/autogen/types/common/tx-recv-set-meta.d.mts +2 -0
- package/dist/autogen/types/common/tx-sign-key.d.mts +1 -0
- package/dist/autogen/types/common/tx-signature.d.mts +3 -0
- package/dist/autogen/types/common/tx-vsignature.d.mts +3 -0
- package/dist/autogen/types/common/vm-engine-block.d.mts +11 -0
- package/dist/autogen/types/common/vm-reward.d.mts +4 -0
- package/dist/autogen/types/common/vm-tx-state.d.mts +27 -0
- package/dist/autogen/types/common/vme-block-meta.d.mts +2 -0
- package/dist/autogen/types/common/vme-info.d.mts +3 -0
- package/dist/autogen/types/common/vme-lock-stake.d.mts +4 -0
- package/dist/autogen/types/common/vote-info-rpc.d.mts +5 -0
- package/dist/autogen/types/common/vtx-meta.d.mts +2 -0
- package/dist/autogen/types/common/wrs-validators-info.d.mts +5 -0
- package/dist/autogen/types/consts/address-class.d.mts +11 -0
- package/dist/autogen/types/consts/consts.d.mts +2 -0
- package/dist/autogen/types/consts/currency-unit.d.mts +15 -0
- package/dist/autogen/types/consts/index.d.mts +3 -0
- package/dist/autogen/types/consts/tx-type.d.mts +61 -0
- package/dist/autogen/types/consts/tx-types.d.mts +415 -0
- package/dist/autogen/types/rpc/heights-result.d.mts +4 -0
- package/dist/autogen/types/rpc/index.d.mts +106 -0
- package/dist/autogen/types/rpc/params-accept-script.d.mts +8 -0
- package/dist/autogen/types/rpc/params-account-and-index.d.mts +4 -0
- package/dist/autogen/types/rpc/params-account-heights.d.mts +5 -0
- package/dist/autogen/types/rpc/params-account-history.d.mts +5 -0
- package/dist/autogen/types/rpc/params-account.d.mts +3 -0
- package/dist/autogen/types/rpc/params-accounts.d.mts +3 -0
- package/dist/autogen/types/rpc/params-become-guest.d.mts +5 -0
- package/dist/autogen/types/rpc/params-become-host.d.mts +5 -0
- package/dist/autogen/types/rpc/params-calculate-spent-by-express.d.mts +5 -0
- package/dist/autogen/types/rpc/params-call-contract.d.mts +13 -0
- package/dist/autogen/types/rpc/params-change-key.d.mts +8 -0
- package/dist/autogen/types/rpc/params-change-vkey.d.mts +5 -0
- package/dist/autogen/types/rpc/params-close-account.d.mts +7 -0
- package/dist/autogen/types/rpc/params-contract-log.d.mts +6 -0
- package/dist/autogen/types/rpc/params-create-asset-object.d.mts +10 -0
- package/dist/autogen/types/rpc/params-create-contract.d.mts +14 -0
- package/dist/autogen/types/rpc/params-create-node.d.mts +4 -0
- package/dist/autogen/types/rpc/params-create-synth-account.d.mts +8 -0
- package/dist/autogen/types/rpc/params-create-token.d.mts +7 -0
- package/dist/autogen/types/rpc/params-create-vme.d.mts +8 -0
- package/dist/autogen/types/rpc/params-download-account-txs.d.mts +6 -0
- package/dist/autogen/types/rpc/params-find-duplicate-subscriber.d.mts +3 -0
- package/dist/autogen/types/rpc/params-game-chain-cmd.d.mts +5 -0
- package/dist/autogen/types/rpc/params-generate-latest-stored-data-proof.d.mts +4 -0
- package/dist/autogen/types/rpc/params-get-asset-list.d.mts +4 -0
- package/dist/autogen/types/rpc/params-get-asset-objects.d.mts +4 -0
- package/dist/autogen/types/rpc/params-get-home-shard.d.mts +3 -0
- package/dist/autogen/types/rpc/params-get-identity-proof.d.mts +4 -0
- package/dist/autogen/types/rpc/params-get-import-account.d.mts +3 -0
- package/dist/autogen/types/rpc/params-import-account.d.mts +7 -0
- package/dist/autogen/types/rpc/params-init-reliable-nodes.d.mts +5 -0
- package/dist/autogen/types/rpc/params-latest-stored-data-proof.d.mts +4 -0
- package/dist/autogen/types/rpc/params-lock-stake.d.mts +7 -0
- package/dist/autogen/types/rpc/params-open-account.d.mts +11 -0
- package/dist/autogen/types/rpc/params-post-data-to-synth-account.d.mts +11 -0
- package/dist/autogen/types/rpc/params-provide-script.d.mts +14 -0
- package/dist/autogen/types/rpc/params-query-address.d.mts +3 -0
- package/dist/autogen/types/rpc/params-read-tx-list.d.mts +5 -0
- package/dist/autogen/types/rpc/params-remove-hold-txs.d.mts +5 -0
- package/dist/autogen/types/rpc/params-request-data-trade.d.mts +10 -0
- package/dist/autogen/types/rpc/params-request-vme.d.mts +4 -0
- package/dist/autogen/types/rpc/params-round-list.d.mts +4 -0
- package/dist/autogen/types/rpc/params-round.d.mts +3 -0
- package/dist/autogen/types/rpc/params-rs.d.mts +4 -0
- package/dist/autogen/types/rpc/params-send-raw-transaction.d.mts +4 -0
- package/dist/autogen/types/rpc/params-set-host.d.mts +4 -0
- package/dist/autogen/types/rpc/params-set-import-account-tx.d.mts +5 -0
- package/dist/autogen/types/rpc/params-set-reliable-node.d.mts +4 -0
- package/dist/autogen/types/rpc/params-subscribe-address.d.mts +4 -0
- package/dist/autogen/types/rpc/params-transfer-asset-object.d.mts +9 -0
- package/dist/autogen/types/rpc/params-transfer-coin-express.d.mts +7 -0
- package/dist/autogen/types/rpc/params-transfer-coin.d.mts +8 -0
- package/dist/autogen/types/rpc/params-transfer-tokens.d.mts +14 -0
- package/dist/autogen/types/rpc/params-tx-list-witness.d.mts +6 -0
- package/dist/autogen/types/rpc/params-tx-list.d.mts +5 -0
- package/dist/autogen/types/rpc/params-unlock-stake.d.mts +7 -0
- package/dist/autogen/types/rpc/params-upload-account-txs.d.mts +5 -0
- package/dist/autogen/types/rpc/params-verify-and-sign-challenge.d.mts +8 -0
- package/dist/autogen/types/rpc/params-verify-identity-proof.d.mts +6 -0
- package/dist/autogen/types/rpc/result-dump-accounts.d.mts +4 -0
- package/dist/autogen/types/rpc/rpc-bool-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-calculate-spent-by-express-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-create-account-result.d.mts +7 -0
- package/dist/autogen/types/rpc/rpc-create-node-result.d.mts +5 -0
- package/dist/autogen/types/rpc/rpc-create-tx-result.d.mts +7 -0
- package/dist/autogen/types/rpc/rpc-find-duplicate-subscriber-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-game-chain-cmd-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-generate-latest-stored-data-proof-result.d.mts +4 -0
- package/dist/autogen/types/rpc/rpc-get-account-asset-list-result.d.mts +4 -0
- package/dist/autogen/types/rpc/rpc-get-account-asset-object-result.d.mts +5 -0
- package/dist/autogen/types/rpc/rpc-get-account-detail-result.d.mts +10 -0
- package/dist/autogen/types/rpc/rpc-get-account-history-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-get-account-token-list-result.d.mts +6 -0
- package/dist/autogen/types/rpc/rpc-get-accounts-balances-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-get-accounts-heights-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-get-concise-node-status-result.d.mts +18 -0
- package/dist/autogen/types/rpc/rpc-get-contract-log-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-get-genesis-account-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-get-guests-info-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-get-home-shard-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-get-identity-proof-result.d.mts +6 -0
- package/dist/autogen/types/rpc/rpc-get-import-account-result.d.mts +10 -0
- package/dist/autogen/types/rpc/rpc-get-inactive-tx-list-result.d.mts +14 -0
- package/dist/autogen/types/rpc/rpc-get-keys-result.d.mts +7 -0
- package/dist/autogen/types/rpc/rpc-get-mont-info-list-result.d.mts +5 -0
- package/dist/autogen/types/rpc/rpc-get-node-blocks-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-get-node-status-result.d.mts +28 -0
- package/dist/autogen/types/rpc/rpc-get-shard-of-account-result.d.mts +4 -0
- package/dist/autogen/types/rpc/rpc-get-sync-state-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-get-tx-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-get-world-round-state-result.d.mts +13 -0
- package/dist/autogen/types/rpc/rpc-get-world-round-states-list-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-has-system-token-result.d.mts +4 -0
- package/dist/autogen/types/rpc/rpc-import-account-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-node-cmd-result.d.mts +5 -0
- package/dist/autogen/types/rpc/rpc-query-address-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-read-tx-list-witness-result.d.mts +6 -0
- package/dist/autogen/types/rpc/rpc-request-vme-result.d.mts +3 -0
- package/dist/autogen/types/rpc/rpc-send-raw-transaction-result.d.mts +1 -0
- package/dist/autogen/types/rpc/rpc-set-import-account-tx-result.d.mts +5 -0
- package/dist/autogen/types/rpc/rpc-subscribe-address-result.d.mts +1 -0
- package/dist/autogen/types/rpc/rpc-verify-and-sign-challenge-result.d.mts +8 -0
- package/dist/autogen/types/rpc/rpc-verify-identity-proof-result.d.mts +4 -0
- package/dist/autogen/types/rpc/rpc-view-contract-result.d.mts +3 -0
- package/dist/autogen/types/rpc/upload-heights-result.d.mts +6 -0
- package/dist/autogen/types/tx/index.d.mts +50 -0
- package/dist/autogen/types/tx/tx-accept-script-after-time-lock.d.mts +12 -0
- package/dist/autogen/types/tx/tx-accept-script.d.mts +15 -0
- package/dist/autogen/types/tx/tx-activate-all-assets.d.mts +15 -0
- package/dist/autogen/types/tx/tx-activate-asset-object.d.mts +9 -0
- package/dist/autogen/types/tx/tx-activate-call-contract.d.mts +15 -0
- package/dist/autogen/types/tx/tx-activate-coin.d.mts +9 -0
- package/dist/autogen/types/tx/tx-activate-contract-result.d.mts +18 -0
- package/dist/autogen/types/tx/tx-activate-contract-reward.d.mts +8 -0
- package/dist/autogen/types/tx/tx-activate-contract-transfer.d.mts +15 -0
- package/dist/autogen/types/tx/tx-activate-data-synth-account.d.mts +12 -0
- package/dist/autogen/types/tx/tx-activate-foundation-reserve.d.mts +7 -0
- package/dist/autogen/types/tx/tx-activate-incentive.d.mts +11 -0
- package/dist/autogen/types/tx/tx-activate-lock-stake-for-vme.d.mts +9 -0
- package/dist/autogen/types/tx/tx-activate-open-contract.d.mts +15 -0
- package/dist/autogen/types/tx/tx-activate-open-synth-account.d.mts +9 -0
- package/dist/autogen/types/tx/tx-activate-open-vm-engine.d.mts +11 -0
- package/dist/autogen/types/tx/tx-activate-token.d.mts +12 -0
- package/dist/autogen/types/tx/tx-become-guest.d.mts +10 -0
- package/dist/autogen/types/tx/tx-become-host.d.mts +7 -0
- package/dist/autogen/types/tx/tx-burn-asset-object.d.mts +8 -0
- package/dist/autogen/types/tx/tx-burn-token.d.mts +10 -0
- package/dist/autogen/types/tx/tx-call-contract.d.mts +16 -0
- package/dist/autogen/types/tx/tx-change-foundation-account.d.mts +6 -0
- package/dist/autogen/types/tx/tx-change-keypair.d.mts +10 -0
- package/dist/autogen/types/tx/tx-change-vkey.d.mts +6 -0
- package/dist/autogen/types/tx/tx-close-account.d.mts +12 -0
- package/dist/autogen/types/tx/tx-contract-blank-reward.d.mts +5 -0
- package/dist/autogen/types/tx/tx-contract-transfer-reward.d.mts +8 -0
- package/dist/autogen/types/tx/tx-create-asset-object.d.mts +10 -0
- package/dist/autogen/types/tx/tx-create-contract.d.mts +17 -0
- package/dist/autogen/types/tx/tx-create-synth-account.d.mts +7 -0
- package/dist/autogen/types/tx/tx-create-token.d.mts +10 -0
- package/dist/autogen/types/tx/tx-create-vm-engine.d.mts +8 -0
- package/dist/autogen/types/tx/tx-dummy.d.mts +3 -0
- package/dist/autogen/types/tx/tx-finalize.d.mts +6 -0
- package/dist/autogen/types/tx/tx-freeze-account.d.mts +5 -0
- package/dist/autogen/types/tx/tx-genesis-account.d.mts +11 -0
- package/dist/autogen/types/tx/tx-lead-vtx.d.mts +9 -0
- package/dist/autogen/types/tx/tx-lock-stake-for-vme.d.mts +7 -0
- package/dist/autogen/types/tx/tx-open-account.d.mts +18 -0
- package/dist/autogen/types/tx/tx-post-data-synth-account.d.mts +9 -0
- package/dist/autogen/types/tx/tx-post-data.d.mts +11 -0
- package/dist/autogen/types/tx/tx-provide-script.d.mts +16 -0
- package/dist/autogen/types/tx/tx-revoke.d.mts +16 -0
- package/dist/autogen/types/tx/tx-transfer-asset-object.d.mts +8 -0
- package/dist/autogen/types/tx/tx-transfer-coin-express.d.mts +8 -0
- package/dist/autogen/types/tx/tx-transfer-coin.d.mts +7 -0
- package/dist/autogen/types/tx/tx-transfer-token.d.mts +11 -0
- package/dist/autogen/types/tx/tx-unlock-stake.d.mts +7 -0
- package/dist/autogen/types/tx/tx-vm-engine-block.d.mts +6 -0
- package/dist/autogen/types/wasm/grant-consume-result.d.mts +4 -0
- package/dist/autogen/types/wasm/index.d.mts +26 -0
- package/dist/autogen/types/wasm/library-versions.d.mts +6 -0
- package/dist/autogen/types/wasm/param-calculate-tx-link-hash.d.mts +3 -0
- package/dist/autogen/types/wasm/param-code-core-script.d.mts +3 -0
- package/dist/autogen/types/wasm/param-convert-currency.d.mts +5 -0
- package/dist/autogen/types/wasm/param-create-account-and-keystore.d.mts +6 -0
- package/dist/autogen/types/wasm/param-create-master-keystore.d.mts +6 -0
- package/dist/autogen/types/wasm/param-create-normal-key.d.mts +4 -0
- package/dist/autogen/types/wasm/param-create-normal-keystore.d.mts +8 -0
- package/dist/autogen/types/wasm/param-derive-keys-from-mnemonic-and-path.d.mts +4 -0
- package/dist/autogen/types/wasm/param-derive-keys-from-mnemonic.d.mts +6 -0
- package/dist/autogen/types/wasm/param-encode-tx-currency.d.mts +3 -0
- package/dist/autogen/types/wasm/param-encode-tx-number.d.mts +4 -0
- package/dist/autogen/types/wasm/param-generate-mnemonic-by-seed.d.mts +3 -0
- package/dist/autogen/types/wasm/param-generate-mnemonic.d.mts +3 -0
- package/dist/autogen/types/wasm/param-get-home-shard.d.mts +4 -0
- package/dist/autogen/types/wasm/param-hash.d.mts +4 -0
- package/dist/autogen/types/wasm/param-load-keystore.d.mts +4 -0
- package/dist/autogen/types/wasm/param-make-currency.d.mts +4 -0
- package/dist/autogen/types/wasm/param-sign-by-master-key.d.mts +4 -0
- package/dist/autogen/types/wasm/param-sign-key-bind.d.mts +5 -0
- package/dist/autogen/types/wasm/param-sign.d.mts +4 -0
- package/dist/autogen/types/wasm/param-test-core-script.d.mts +7 -0
- package/dist/autogen/types/wasm/param-txs.d.mts +3 -0
- package/dist/autogen/types/wasm/param-verify-merkle-proof.d.mts +5 -0
- package/dist/autogen/types/wasm/param-verify.d.mts +5 -0
- package/dist/autogen/walletActions.d.mts +41 -0
- package/dist/autogen/wasm/crypto_aimer.d.mts +2 -0
- package/dist/autogen/wasm/crypto_haetae.d.mts +2 -0
- package/dist/autogen/wasm/crypto_smaugt.d.mts +2 -0
- package/dist/autogen/wasm/lclib.wasm +0 -0
- package/dist/autogen/wasm.d.mts +72 -0
- package/dist/chunks/account-BAsiKnSL.cjs +77 -0
- package/dist/chunks/account-BSrvZ7S8.js +77 -0
- package/dist/chunks/account-FZT9LH_s.js +71 -0
- package/dist/chunks/address-class-CHAZYhdZ.js +14 -0
- package/dist/chunks/address-class-Cjy48Uqk.cjs +16 -0
- package/dist/chunks/address-class-Dp7aNQb2.js +18 -0
- package/dist/chunks/base-BQXfRsuw.js +23 -0
- package/dist/chunks/base-B_kRRfsf.js +27 -0
- package/dist/chunks/base-Cy5SSYLF.cjs +25 -0
- package/dist/chunks/debugWalletActions-6qjkZVq9.cjs +995 -0
- package/dist/chunks/debugWalletActions-BDz-h2tl.js +993 -0
- package/dist/chunks/debugWalletActions-D5-Ds7Hl.js +900 -0
- package/dist/chunks/keystore-BJ3vekCS.js +139 -0
- package/dist/chunks/keystore-C0RhMFsU.js +143 -0
- package/dist/chunks/keystore-D-5mV7aC.cjs +145 -0
- package/dist/chunks/lclib-B8Aj_otR.cjs +3809 -0
- package/dist/chunks/lclib-CAHiuFux.js +3825 -0
- package/dist/chunks/lclib-DZydGzkN.js +3805 -0
- package/dist/chunks/rpc-BlPk44QH.js +22 -0
- package/dist/chunks/rpc-C4n7t9y0.js +25 -0
- package/dist/chunks/rpc-DwWIkUva.cjs +25 -0
- package/dist/chunks/transport-BBAz1kmP.js +30 -0
- package/dist/chunks/transport-VThNtzck.cjs +30 -0
- package/dist/chunks/transport-ktAPuqsc.js +26 -0
- package/dist/chunks/tslib.es6-Cfi3-HmA.cjs +35 -0
- package/dist/chunks/tslib.es6-D29rxPkW.js +37 -0
- package/dist/chunks/tslib.es6-WQS2tr1v.js +33 -0
- package/dist/chunks/tx-type-BPkhMGad.js +64 -0
- package/dist/chunks/tx-type-CS4wIUJ8.js +68 -0
- package/dist/chunks/tx-type-DI_nKG8B.cjs +66 -0
- package/dist/chunks/wasm-3LmqFB_i.js +166 -0
- package/dist/chunks/wasm-CdEv1Pyn.cjs +213 -0
- package/dist/chunks/wasm-DAQaaEGK.js +213 -0
- package/dist/clients/createClient.d.mts +8 -0
- package/dist/clients/createLocusPublicClient.d.mts +100 -0
- package/dist/clients/createLocusWalletClient.d.mts +56 -0
- package/dist/clients/createPublicClient.d.mts +6 -0
- package/dist/clients/createWalletClient.d.mts +8 -0
- package/dist/clients/index.amd.js +97 -0
- package/dist/clients/index.cjs.cjs +104 -0
- package/dist/clients/index.d.cts +6 -0
- package/dist/clients/index.d.mts +6 -0
- package/dist/clients/index.esm.js +98 -0
- package/dist/clients/types.d.mts +19 -0
- package/dist/constant/index.amd.js +458 -0
- package/dist/constant/index.cjs.cjs +459 -0
- package/dist/constant/index.d.cts +513 -0
- package/dist/constant/index.d.mts +513 -0
- package/dist/constant/index.esm.js +451 -0
- package/dist/contracts/abis/erc20.d.mts +174 -0
- package/dist/contracts/abis/index.d.mts +1 -0
- package/dist/contracts/getContract.d.mts +33 -0
- package/dist/contracts/index.amd.js +19640 -0
- package/dist/contracts/index.cjs.cjs +19642 -0
- package/dist/contracts/index.d.cts +2 -0
- package/dist/contracts/index.d.mts +2 -0
- package/dist/contracts/index.esm.js +19639 -0
- package/dist/errors/account.d.mts +45 -0
- package/dist/errors/base.d.mts +13 -0
- package/dist/errors/index.amd.js +17 -0
- package/dist/errors/index.cjs.cjs +20 -0
- package/dist/errors/index.d.cts +4 -0
- package/dist/errors/index.d.mts +4 -0
- package/dist/errors/index.esm.js +4 -0
- package/dist/errors/rpc.d.mts +21 -0
- package/dist/errors/transport.d.mts +21 -0
- package/dist/index.amd.js +43 -0
- package/dist/index.cjs.cjs +58 -0
- package/dist/index.d.mts +8 -0
- package/dist/index.esm.js +16 -0
- package/dist/transports/http.d.mts +9 -0
- package/dist/transports/index.amd.js +98 -0
- package/dist/transports/index.cjs.cjs +101 -0
- package/dist/transports/index.d.cts +2 -0
- package/dist/transports/index.d.mts +2 -0
- package/dist/transports/index.esm.js +99 -0
- package/dist/transports/types.d.mts +36 -0
- package/dist/types/index.d.cts +11 -0
- package/dist/types/index.d.mts +11 -0
- package/dist/types/primitives.d.mts +5 -0
- package/dist/utils/index.amd.js +323 -0
- package/dist/utils/index.cjs.cjs +330 -0
- package/dist/utils/index.d.cts +41 -0
- package/dist/utils/index.d.mts +41 -0
- package/dist/utils/index.esm.js +271 -0
- package/dist/utils/keystore.d.mts +87 -0
- package/dist/utils/lclib.d.mts +2 -0
- package/dist/utils/locus-wasm-bridge.d.mts +1 -0
- package/dist/utils/tx-validator.d.mts +26 -0
- package/dist/utils/types.d.mts +15 -0
- package/dist/utils/wasm-fetch.d.mts +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsGameChainCmd } from '../../../types/rpc/params-game-chain-cmd.mjs';
|
|
2
|
+
import { RpcGameChainCmdResult } from '../../../types/rpc/rpc-game-chain-cmd-result.mjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function gameChainCmd(client: Client, param: ParamsGameChainCmd): Promise<RpcGameChainCmdResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsAccounts } from '../../../types/rpc/params-accounts.mjs';
|
|
2
|
+
import { RpcGetAccountsBalancesResult } from '../../../types/rpc/rpc-get-accounts-balances-result.mjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function getAccountsBalances(client: Client, param: ParamsAccounts): Promise<RpcGetAccountsBalancesResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsAccounts } from '../../../types/rpc/params-accounts.mjs';
|
|
2
|
+
import { RpcGetAccountsHeightsResult } from '../../../types/rpc/rpc-get-accounts-heights-result.mjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function getAccountsHeights(client: Client, param: ParamsAccounts): Promise<RpcGetAccountsHeightsResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsContractLog } from '../../../types/rpc/params-contract-log.mjs';
|
|
2
|
+
import { RpcGetContractLogResult } from '../../../types/rpc/rpc-get-contract-log-result.mjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function getContractLog(client: Client, param: ParamsContractLog): Promise<RpcGetContractLogResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsGetHomeShard } from '../../../types/rpc/params-get-home-shard.mjs';
|
|
2
|
+
import { RpcGetHomeShardResult } from '../../../types/rpc/rpc-get-home-shard-result.mjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function getHomeShard(client: Client, param: ParamsGetHomeShard): Promise<RpcGetHomeShardResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsGetImportAccount } from '../../../types/rpc/params-get-import-account.mjs';
|
|
2
|
+
import { RpcGetImportAccountResult } from '../../../types/rpc/rpc-get-import-account-result.mjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function getImportAccount(client: Client, params: ParamsGetImportAccount): Promise<RpcGetImportAccountResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsGetImportAccount } from '../../../types/rpc/params-get-import-account.mjs';
|
|
2
|
+
import { RpcImportAccountResult } from '../../../types/rpc/rpc-import-account-result.mjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function getImportAccountLog(client: Client, params: ParamsGetImportAccount): Promise<RpcImportAccountResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsAccount } from '../../../types/rpc/params-account.mjs';
|
|
2
|
+
import { RpcGetKeysResult } from '../../../types/rpc/rpc-get-keys-result.mjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function getKeys(client: Client, params: ParamsAccount): Promise<RpcGetKeysResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsImportAccount } from '../../../types/rpc/params-import-account.mjs';
|
|
2
|
+
import { RpcImportAccountResult } from '../../../types/rpc/rpc-import-account-result.mjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function importAccount(client: Client, params: ParamsImportAccount): Promise<RpcImportAccountResult>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export * from './allHeights.mjs';
|
|
2
|
+
export * from './balanceGrantList.mjs';
|
|
3
|
+
export * from './balanceList.mjs';
|
|
4
|
+
export * from './createAccount.mjs';
|
|
5
|
+
export * from './createNode.mjs';
|
|
6
|
+
export * from './dumpAllAccounts.mjs';
|
|
7
|
+
export * from './echo.mjs';
|
|
8
|
+
export * from './gameChainCmd.mjs';
|
|
9
|
+
export * from './getAccountsBalances.mjs';
|
|
10
|
+
export * from './getAccountsHeights.mjs';
|
|
11
|
+
export * from './getContractLog.mjs';
|
|
12
|
+
export * from './getGuestsInfo.mjs';
|
|
13
|
+
export * from './getHomeShard.mjs';
|
|
14
|
+
export * from './getImportAccount.mjs';
|
|
15
|
+
export * from './getImportAccountLog.mjs';
|
|
16
|
+
export * from './getKeys.mjs';
|
|
17
|
+
export * from './getNodeBlocks.mjs';
|
|
18
|
+
export * from './getPeerPool.mjs';
|
|
19
|
+
export * from './getPeersInfo.mjs';
|
|
20
|
+
export * from './importAccount.mjs';
|
|
21
|
+
export * from './initReliableNodes.mjs';
|
|
22
|
+
export * from './noArgsRets.mjs';
|
|
23
|
+
export * from './nodeCmd.mjs';
|
|
24
|
+
export * from './removeHoldTxs.mjs';
|
|
25
|
+
export * from './requestVme.mjs';
|
|
26
|
+
export * from './sendRawTransaction.mjs';
|
|
27
|
+
export * from './setImportAccountTx.mjs';
|
|
28
|
+
export * from './setReliableNode.mjs';
|
|
29
|
+
export * from './viewContract.mjs';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsInitReliableNodes } from '../../../types/rpc/params-init-reliable-nodes.mjs';
|
|
2
|
+
import { RpcBoolResult } from '../../../types/rpc/rpc-bool-result.mjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function initReliableNodes(client: Client, param: ParamsInitReliableNodes): Promise<RpcBoolResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsRemoveHoldTxs } from '../../../types/rpc/params-remove-hold-txs.mjs';
|
|
2
|
+
import { RetTypeBase } from '../../../types/common/ret-type-base.mjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function removeHoldTxs(client: Client, param: ParamsRemoveHoldTxs): Promise<RetTypeBase>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsRequestVme } from '../../../types/rpc/params-request-vme.mjs';
|
|
2
|
+
import { RpcRequestVmeResult } from '../../../types/rpc/rpc-request-vme-result.mjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function requestVme(client: Client, params: ParamsRequestVme): Promise<RpcRequestVmeResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsSendRawTransaction } from '../../../types/rpc/params-send-raw-transaction.mjs';
|
|
2
|
+
import { RpcSendRawTransactionResult } from '../../../types/rpc/rpc-send-raw-transaction-result.mjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function sendRawTransaction(client: Client, params: ParamsSendRawTransaction): Promise<RpcSendRawTransactionResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsSetImportAccountTx } from '../../../types/rpc/params-set-import-account-tx.mjs';
|
|
2
|
+
import { RpcSetImportAccountTxResult } from '../../../types/rpc/rpc-set-import-account-tx-result.mjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function setImportAccountTx(client: Client, params: ParamsSetImportAccountTx): Promise<RpcSetImportAccountTxResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsSetReliableNode } from '../../../types/rpc/params-set-reliable-node.mjs';
|
|
2
|
+
import { RpcBoolResult } from '../../../types/rpc/rpc-bool-result.mjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function setReliableNode(client: Client, param: ParamsSetReliableNode): Promise<RpcBoolResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsCallContract } from '../../../types/rpc/params-call-contract.mjs';
|
|
2
|
+
import { RpcViewContractResult } from '../../../types/rpc/rpc-view-contract-result.mjs';
|
|
3
|
+
import type { Client } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function viewContract(client: Client, param: ParamsCallContract): Promise<RpcViewContractResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsCallContract } from '../../../types/rpc/params-call-contract.mjs';
|
|
2
|
+
import { RpcCreateTxResult } from '../../../types/rpc/rpc-create-tx-result.mjs';
|
|
3
|
+
import type { WalletClient } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function callContract(client: WalletClient, param: ParamsCallContract): Promise<RpcCreateTxResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsCreateContract } from '../../../types/rpc/params-create-contract.mjs';
|
|
2
|
+
import { RpcCreateTxResult } from '../../../types/rpc/rpc-create-tx-result.mjs';
|
|
3
|
+
import type { WalletClient } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function createContract(client: WalletClient, param: ParamsCreateContract): Promise<RpcCreateTxResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsCreateSynthAccount } from '../../../types/rpc/params-create-synth-account.mjs';
|
|
2
|
+
import { RpcCreateTxResult } from '../../../types/rpc/rpc-create-tx-result.mjs';
|
|
3
|
+
import type { WalletClient } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function createSynthAccount(client: WalletClient, param: ParamsCreateSynthAccount): Promise<RpcCreateTxResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsPostDataToSynthAccount } from '../../../types/rpc/params-post-data-to-synth-account.mjs';
|
|
2
|
+
import { RpcCreateTxResult } from '../../../types/rpc/rpc-create-tx-result.mjs';
|
|
3
|
+
import type { WalletClient } from '../../../../clients/types.mjs';
|
|
4
|
+
export declare function postDataToSynthAccount(client: WalletClient, param: ParamsPostDataToSynthAccount): Promise<RpcCreateTxResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { HeightsResult } from '../../types/rpc/heights-result.mjs';
|
|
2
|
+
import { ParamsAccountHeights } from '../../types/rpc/params-account-heights.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function accountHeightsToDownload(client: Client, param: ParamsAccountHeights): Promise<HeightsResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsAccountHeights } from '../../types/rpc/params-account-heights.mjs';
|
|
2
|
+
import { UploadHeightsResult } from '../../types/rpc/upload-heights-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function accountHeightsToUpload(client: Client, param: ParamsAccountHeights): Promise<UploadHeightsResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsCalculateSpentByExpress } from '../../types/rpc/params-calculate-spent-by-express.mjs';
|
|
2
|
+
import { RpcCalculateSpentByExpressResult } from '../../types/rpc/rpc-calculate-spent-by-express-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function calculateSpentByExpress(client: Client, param: ParamsCalculateSpentByExpress): Promise<RpcCalculateSpentByExpressResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { OutputDownloadAccountTxs } from '../../types/common/output-download-account-txs.mjs';
|
|
2
|
+
import { ParamsDownloadAccountTxs } from '../../types/rpc/params-download-account-txs.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function downloadAccountTxs(client: Client, param: ParamsDownloadAccountTxs): Promise<OutputDownloadAccountTxs>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsFindDuplicateSubscriber } from '../../types/rpc/params-find-duplicate-subscriber.mjs';
|
|
2
|
+
import { RpcFindDuplicateSubscriberResult } from '../../types/rpc/rpc-find-duplicate-subscriber-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function findDuplicateSubscriber(client: Client, params: ParamsFindDuplicateSubscriber): Promise<RpcFindDuplicateSubscriberResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsGenerateLatestStoredDataProof } from '../../types/rpc/params-generate-latest-stored-data-proof.mjs';
|
|
2
|
+
import { RpcGenerateLatestStoredDataProofResult } from '../../types/rpc/rpc-generate-latest-stored-data-proof-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function generateLatestStoredDataProof(client: Client, params: ParamsGenerateLatestStoredDataProof): Promise<RpcGenerateLatestStoredDataProofResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsGetAssetList } from '../../types/rpc/params-get-asset-list.mjs';
|
|
2
|
+
import { RpcGetAccountAssetListResult } from '../../types/rpc/rpc-get-account-asset-list-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function getAccountAssetList(client: Client, params: ParamsGetAssetList): Promise<RpcGetAccountAssetListResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsGetAssetObjects } from '../../types/rpc/params-get-asset-objects.mjs';
|
|
2
|
+
import { RpcGetAccountAssetObjectResult } from '../../types/rpc/rpc-get-account-asset-object-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function getAccountAssetObject(client: Client, params: ParamsGetAssetObjects): Promise<RpcGetAccountAssetObjectResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsAccount } from '../../types/rpc/params-account.mjs';
|
|
2
|
+
import { RpcGetAccountDetailResult } from '../../types/rpc/rpc-get-account-detail-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function getAccountDetail(client: Client, param: ParamsAccount): Promise<RpcGetAccountDetailResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsAccountHistory } from '../../types/rpc/params-account-history.mjs';
|
|
2
|
+
import { RpcGetAccountHistoryResult } from '../../types/rpc/rpc-get-account-history-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function getAccountHistory(client: Client, param: ParamsAccountHistory): Promise<RpcGetAccountHistoryResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsAccount } from '../../types/rpc/params-account.mjs';
|
|
2
|
+
import { RpcGetAccountTokenListResult } from '../../types/rpc/rpc-get-account-token-list-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function getAccountTokenList(client: Client, params: ParamsAccount): Promise<RpcGetAccountTokenListResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsGetIdentityProof } from '../../types/rpc/params-get-identity-proof.mjs';
|
|
2
|
+
import { RpcGetIdentityProofResult } from '../../types/rpc/rpc-get-identity-proof-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function getIdentityProof(client: Client, param: ParamsGetIdentityProof): Promise<RpcGetIdentityProofResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsAccount } from '../../types/rpc/params-account.mjs';
|
|
2
|
+
import { RpcGetInactiveTxListResult } from '../../types/rpc/rpc-get-inactive-tx-list-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function getInactiveTxList(client: Client, param: ParamsAccount): Promise<RpcGetInactiveTxListResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsAccount } from '../../types/rpc/params-account.mjs';
|
|
2
|
+
import { RpcGetMontInfoListResult } from '../../types/rpc/rpc-get-mont-info-list-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function getMontInfoList(client: Client, param: ParamsAccount): Promise<RpcGetMontInfoListResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsRound } from '../../types/rpc/params-round.mjs';
|
|
2
|
+
import { RoundStateDetail } from '../../types/common/round-state-detail.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function getRoundState(client: Client, param: ParamsRound): Promise<RoundStateDetail>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsRS } from '../../types/rpc/params-rs.mjs';
|
|
2
|
+
import { RoundStateAbstract } from '../../types/common/round-state-abstract.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function getRoundStatesList(client: Client, param: ParamsRS): Promise<RoundStateAbstract[]>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsAccount } from '../../types/rpc/params-account.mjs';
|
|
2
|
+
import { RpcGetShardOfAccountResult } from '../../types/rpc/rpc-get-shard-of-account-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function getShardOfAccount(client: Client, params: ParamsAccount): Promise<RpcGetShardOfAccountResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsAccountAndIndex } from '../../types/rpc/params-account-and-index.mjs';
|
|
2
|
+
import { RpcGetTxResult } from '../../types/rpc/rpc-get-tx-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function getTx(client: Client, param: ParamsAccountAndIndex): Promise<RpcGetTxResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsRound } from '../../types/rpc/params-round.mjs';
|
|
2
|
+
import { RpcGetWorldRoundStateResult } from '../../types/rpc/rpc-get-world-round-state-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function getWorldRoundState(client: Client, param: ParamsRound): Promise<RpcGetWorldRoundStateResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsRoundList } from '../../types/rpc/params-round-list.mjs';
|
|
2
|
+
import { RpcGetWorldRoundStatesListResult } from '../../types/rpc/rpc-get-world-round-states-list-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function getWorldRoundStatesList(client: Client, param: ParamsRoundList): Promise<RpcGetWorldRoundStatesListResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsAccount } from '../../types/rpc/params-account.mjs';
|
|
2
|
+
import { RpcHasSystemTokenResult } from '../../types/rpc/rpc-has-system-token-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function hasSystemToken(client: Client, params: ParamsAccount): Promise<RpcHasSystemTokenResult>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export * from './accountHeightsToDownload.mjs';
|
|
2
|
+
export * from './accountHeightsToUpload.mjs';
|
|
3
|
+
export * from './calculateSpentByExpress.mjs';
|
|
4
|
+
export * from './clientMessage.mjs';
|
|
5
|
+
export * from './downloadAccountTxs.mjs';
|
|
6
|
+
export * from './echo.mjs';
|
|
7
|
+
export * from './findDuplicateSubscriber.mjs';
|
|
8
|
+
export * from './generateLatestStoredDataProof.mjs';
|
|
9
|
+
export * from './getAccountAssetList.mjs';
|
|
10
|
+
export * from './getAccountAssetObject.mjs';
|
|
11
|
+
export * from './getAccountDetail.mjs';
|
|
12
|
+
export * from './getAccountHistory.mjs';
|
|
13
|
+
export * from './getAccountTokenList.mjs';
|
|
14
|
+
export * from './getConciseNodeStatus.mjs';
|
|
15
|
+
export * from './getGenesisAccount.mjs';
|
|
16
|
+
export * from './getIdentityProof.mjs';
|
|
17
|
+
export * from './getInactiveTxList.mjs';
|
|
18
|
+
export * from './getMontInfoList.mjs';
|
|
19
|
+
export * from './getNodeStatus.mjs';
|
|
20
|
+
export * from './getOwnerBalance.mjs';
|
|
21
|
+
export * from './getRoundState.mjs';
|
|
22
|
+
export * from './getRoundStatesList.mjs';
|
|
23
|
+
export * from './getShardOfAccount.mjs';
|
|
24
|
+
export * from './getSyncState.mjs';
|
|
25
|
+
export * from './getTx.mjs';
|
|
26
|
+
export * from './getWorldRoundState.mjs';
|
|
27
|
+
export * from './getWorldRoundStatesList.mjs';
|
|
28
|
+
export * from './hasSystemToken.mjs';
|
|
29
|
+
export * from './makeTxProof.mjs';
|
|
30
|
+
export * from './queryAddress.mjs';
|
|
31
|
+
export * from './readTxListWitness.mjs';
|
|
32
|
+
export * from './setHost.mjs';
|
|
33
|
+
export * from './subscribeAddress.mjs';
|
|
34
|
+
export * from './uploadAccountTxs.mjs';
|
|
35
|
+
export * from './verifyAndSignChallenge.mjs';
|
|
36
|
+
export * from './verifyIdentityProof.mjs';
|
|
37
|
+
export * from './verifyLatestStoredDataProof.mjs';
|
|
38
|
+
export * from './verifyTxListWitness.mjs';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsTxList } from '../../types/rpc/params-tx-list.mjs';
|
|
2
|
+
import { RpcReadTxListWitnessResult } from '../../types/rpc/rpc-read-tx-list-witness-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function makeTxProof(client: Client, params: ParamsTxList): Promise<RpcReadTxListWitnessResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsQueryAddress } from '../../types/rpc/params-query-address.mjs';
|
|
2
|
+
import { RpcQueryAddressResult } from '../../types/rpc/rpc-query-address-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function queryAddress(client: Client, params: ParamsQueryAddress): Promise<RpcQueryAddressResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsReadTxList } from '../../types/rpc/params-read-tx-list.mjs';
|
|
2
|
+
import { RpcReadTxListWitnessResult } from '../../types/rpc/rpc-read-tx-list-witness-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function readTxListWitness(client: Client, params: ParamsReadTxList): Promise<RpcReadTxListWitnessResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsSubscribeAddress } from '../../types/rpc/params-subscribe-address.mjs';
|
|
2
|
+
import { RpcSubscribeAddressResult } from '../../types/rpc/rpc-subscribe-address-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function subscribeAddress(client: Client, params: ParamsSubscribeAddress): Promise<RpcSubscribeAddressResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsVerifyAndSignChallenge } from '../../types/rpc/params-verify-and-sign-challenge.mjs';
|
|
2
|
+
import { RpcVerifyAndSignChallengeResult } from '../../types/rpc/rpc-verify-and-sign-challenge-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function verifyAndSignChallenge(client: Client, param: ParamsVerifyAndSignChallenge): Promise<RpcVerifyAndSignChallengeResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsVerifyIdentityProof } from '../../types/rpc/params-verify-identity-proof.mjs';
|
|
2
|
+
import { RpcVerifyIdentityProofResult } from '../../types/rpc/rpc-verify-identity-proof-result.mjs';
|
|
3
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function verifyIdentityProof(client: Client, param: ParamsVerifyIdentityProof): Promise<RpcVerifyIdentityProofResult>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ParamsLatestStoredDataProof } from '../../types/rpc/params-latest-stored-data-proof.mjs';
|
|
2
|
+
import type { Client } from '../../../clients/types.mjs';
|
|
3
|
+
export declare function verifyLatestStoredDataProof(client: Client, params: ParamsLatestStoredDataProof): Promise<boolean>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsAcceptScript } from '../../types/rpc/params-accept-script.mjs';
|
|
2
|
+
import { RpcCreateTxResult } from '../../types/rpc/rpc-create-tx-result.mjs';
|
|
3
|
+
import type { WalletClient } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function acceptScript(client: WalletClient, params: ParamsAcceptScript): Promise<RpcCreateTxResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsBecomeGuest } from '../../types/rpc/params-become-guest.mjs';
|
|
2
|
+
import { RpcCreateTxResult } from '../../types/rpc/rpc-create-tx-result.mjs';
|
|
3
|
+
import type { WalletClient } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function becomeGuest(client: WalletClient, param: ParamsBecomeGuest): Promise<RpcCreateTxResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsBecomeHost } from '../../types/rpc/params-become-host.mjs';
|
|
2
|
+
import { RpcCreateTxResult } from '../../types/rpc/rpc-create-tx-result.mjs';
|
|
3
|
+
import type { WalletClient } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function becomeHost(client: WalletClient, param: ParamsBecomeHost): Promise<RpcCreateTxResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsChangeKey } from '../../types/rpc/params-change-key.mjs';
|
|
2
|
+
import { RpcCreateTxResult } from '../../types/rpc/rpc-create-tx-result.mjs';
|
|
3
|
+
import type { WalletClient } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function changeKey(client: WalletClient, params: ParamsChangeKey): Promise<RpcCreateTxResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsChangeVKey } from '../../types/rpc/params-change-vkey.mjs';
|
|
2
|
+
import { RpcCreateTxResult } from '../../types/rpc/rpc-create-tx-result.mjs';
|
|
3
|
+
import type { WalletClient } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function changeVkey(client: WalletClient, params: ParamsChangeVKey): Promise<RpcCreateTxResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsCloseAccount } from '../../types/rpc/params-close-account.mjs';
|
|
2
|
+
import { RpcCreateTxResult } from '../../types/rpc/rpc-create-tx-result.mjs';
|
|
3
|
+
import type { WalletClient } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function closeAccount(client: WalletClient, param: ParamsCloseAccount): Promise<RpcCreateTxResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsCreateAssetObject } from '../../types/rpc/params-create-asset-object.mjs';
|
|
2
|
+
import { RpcCreateTxResult } from '../../types/rpc/rpc-create-tx-result.mjs';
|
|
3
|
+
import type { WalletClient } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function createAssetObject(client: WalletClient, param: ParamsCreateAssetObject): Promise<RpcCreateTxResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsCreateToken } from '../../types/rpc/params-create-token.mjs';
|
|
2
|
+
import { RpcCreateTxResult } from '../../types/rpc/rpc-create-tx-result.mjs';
|
|
3
|
+
import type { WalletClient } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function createToken(client: WalletClient, param: ParamsCreateToken): Promise<RpcCreateTxResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsCreateVme } from '../../types/rpc/params-create-vme.mjs';
|
|
2
|
+
import { RpcCreateTxResult } from '../../types/rpc/rpc-create-tx-result.mjs';
|
|
3
|
+
import type { WalletClient } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function createVme(client: WalletClient, param: ParamsCreateVme): Promise<RpcCreateTxResult>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export * from './acceptScript.mjs';
|
|
2
|
+
export * from './becomeGuest.mjs';
|
|
3
|
+
export * from './becomeHost.mjs';
|
|
4
|
+
export * from './changeKey.mjs';
|
|
5
|
+
export * from './changeVkey.mjs';
|
|
6
|
+
export * from './closeAccount.mjs';
|
|
7
|
+
export * from './createAssetObject.mjs';
|
|
8
|
+
export * from './createToken.mjs';
|
|
9
|
+
export * from './createVme.mjs';
|
|
10
|
+
export * from './lockStake.mjs';
|
|
11
|
+
export * from './openAccount.mjs';
|
|
12
|
+
export * from './postData.mjs';
|
|
13
|
+
export * from './provideScript.mjs';
|
|
14
|
+
export * from './requestDataTrade.mjs';
|
|
15
|
+
export * from './transferAssetObject.mjs';
|
|
16
|
+
export * from './transferCoin.mjs';
|
|
17
|
+
export * from './transferCoinExpress.mjs';
|
|
18
|
+
export * from './transferToken.mjs';
|
|
19
|
+
export * from './unlockStake.mjs';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsLockStake } from '../../types/rpc/params-lock-stake.mjs';
|
|
2
|
+
import { RpcCreateTxResult } from '../../types/rpc/rpc-create-tx-result.mjs';
|
|
3
|
+
import type { WalletClient } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function lockStake(client: WalletClient, params: ParamsLockStake): Promise<RpcCreateTxResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsOpenAccount } from '../../types/rpc/params-open-account.mjs';
|
|
2
|
+
import { RpcCreateTxResult } from '../../types/rpc/rpc-create-tx-result.mjs';
|
|
3
|
+
import type { WalletClient } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function openAccount(client: WalletClient, param: ParamsOpenAccount): Promise<RpcCreateTxResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { InputParamsDataTransfer } from '../../types/common/input-params-data-transfer.mjs';
|
|
2
|
+
import { RpcCreateTxResult } from '../../types/rpc/rpc-create-tx-result.mjs';
|
|
3
|
+
import type { WalletClient } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function postData(client: WalletClient, params: InputParamsDataTransfer): Promise<RpcCreateTxResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsProvideScript } from '../../types/rpc/params-provide-script.mjs';
|
|
2
|
+
import { RpcCreateTxResult } from '../../types/rpc/rpc-create-tx-result.mjs';
|
|
3
|
+
import type { WalletClient } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function provideScript(client: WalletClient, params: ParamsProvideScript): Promise<RpcCreateTxResult>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ParamsRequestDataTrade } from '../../types/rpc/params-request-data-trade.mjs';
|
|
2
|
+
import { RpcDataTradeResult } from '../../types/common/rpc-data-trade-result.mjs';
|
|
3
|
+
import type { WalletClient } from '../../../clients/types.mjs';
|
|
4
|
+
export declare function requestDataTrade(client: WalletClient, params: ParamsRequestDataTrade): Promise<RpcDataTradeResult>;
|