nimiq-rpc-client-ts
Version:
A Nimiq RPC client for TypeScript
6 lines (5 loc) • 3.15 kB
JavaScript
export { __getAuth, __getBaseUrl, inBrowser, initRpcClient } from './client.mjs';
export { addVotingKey, createAccount, createDeactivateValidatorTransaction, createDeleteValidatorTransaction, createNewHtlcTransaction, createNewStakerTransaction, createNewValidatorTransaction, createNewVestingTransaction, createReactivateValidatorTransaction, createRedeemEarlyHtlcTransaction, createRedeemRegularHtlcTransaction, createRedeemTimeoutHtlcTransaction, createRedeemVestingTransaction, createRemoveStakeTransaction, createRetireStakeTransaction, createRetireValidatorTransaction, createSetActiveStakeTransaction, createStakeTransaction, createTransaction, createUpdateStakerTransaction, createUpdateValidatorTransaction, getAccountByAddress, getAccounts, getActiveValidators, getAddress, getBatchAt, getBatchIndexAt, getBatchNumber, getBlockAfterJail, getBlockAfterReportingWindow, getBlockByHash, getBlockByNumber, getBlockNumber, getBlockchainState, getCurrentPenalizedSlots, getElectionBlockAfter, getElectionBlockBefore, getElectionBlockOf, getElectionBlockOfEpoch, getEpochAt, getEpochIndexAt, getEpochNumber, getFirstBatchOfEpoch, getFirstBlockOf, getFirstBlockOfBatch, getFirstBlockOfEpoch, getInherentsByBatchNumber, getInherentsByBlockNumber, getLastElectionBlock, getLastMacroBlock, getLatestBlock, getMacroBlockAfter, getMacroBlockBefore, getMacroBlockOf, getMacroBlockOfBatch, getMinFeePerByte, getPeerCount, getPeerId, getPeerList, getPolicyConstants, getPreviousPenalizedSlots, getRawTransactionInfo, getSigningKey, getSlotAt, getStakerByAddress, getStakersByValidatorAddress, getSupplyAt, getTransactionByHash, getTransactionFromMempool, getTransactionHashesByAddress, getTransactionsByAddress, getTransactionsByBatchNumber, getTransactionsByBlockNumber, getValidatorByAddress, getValidators, getVotingKey, getVotingKeys, getZkpState, importRawKey, isAccountImported, isAccountUnlocked, isConsensusEstablished, isElectionBlockAt, isMacroBlockAt, isMicroBlockAt, isValidatorElected, isValidatorSynced, listAccounts, lockAccount, mempool, mempoolContent, pushHighPriorityTransaction, pushTransaction, removeAccount, rpcCall, sendDeactivateValidatorTransaction, sendDeleteValidatorTransaction, sendNewHtlcTransaction, sendNewStakerTransaction, sendNewValidatorTransaction, sendNewVestingTransaction, sendRawTransaction, sendReactivateValidatorTransaction, sendRedeemEarlyHtlcTransaction, sendRedeemRegularHtlcTransaction, sendRedeemTimeoutHtlcTransaction, sendRedeemVestingTransaction, sendRemoveStakeTransaction, sendRetireStakeTransaction, sendRetireValidatorTransaction, sendSetActiveStakeTransaction, sendStakeTransaction, sendTransaction, sendUpdateStakerTransaction, sendUpdateValidatorTransaction, setAutomaticReactivation, sign, signRedeemEarlyHtlcTransaction, unlockAccount, verifySignature } from './http.mjs';
export { rpcSubscribe, subscribeForHeadBlock, subscribeForHeadBlockHash, subscribeForLogsByAddressesAndTypes, subscribeForValidatorElectionByAddress } from './ws.mjs';
export { AccountType, BlockSubscriptionType, BlockType, HashAlgorithm, InherentType, LogType, RetrieveType } from './types.mjs';
import 'isomorphic-ws';