UNPKG

nimiq-rpc-client-ts

Version:
462 lines (459 loc) 26.7 kB
import { H as HttpOptions, d as HttpRpcResult } from './shared/nimiq-rpc-client-ts.Ch2SGNfr.mjs'; import { x as Block, r as PartialBlock, f as Slot, T as Transaction, k as Inherent, c as Account, e as Validator, g as PenalizedSlots, d as Staker, V as ValidityStartHeight, M as MempoolInfo, P as PolicyConstants, m as BlockchainState, l as Signature } from './shared/nimiq-rpc-client-ts.BvvqdQ38.mjs'; interface IncludeBody<T extends boolean> { includeBody?: T; } type Res<R> = Promise<HttpRpcResult<R>>; declare function rpcCall<D>(method: string, params?: any[], options?: HttpOptions): Promise<HttpRpcResult<D>>; declare function getBlockNumber<R = number>(opts?: HttpOptions): Res<R>; declare function getBatchNumber<R = number>(opts?: HttpOptions): Res<R>; declare function getEpochNumber<R = number>(opts?: HttpOptions): Res<R>; interface GetBlockByHashParams<T> { hash: string; includeBody?: T; } declare function getBlockByHash<T extends boolean = false, R = T extends true ? Block : PartialBlock>({ hash, includeBody }: GetBlockByHashParams<T>, opts?: HttpOptions): Res<R>; interface GetBlockByNumberParams<T> { blockNumber: number; includeBody?: T; } declare function getBlockByNumber<T extends boolean = false, R = T extends true ? Block : PartialBlock>({ blockNumber, includeBody }: GetBlockByNumberParams<T>, opts?: HttpOptions): Res<R>; interface GetLatestBlockParams<T> { includeBody?: T; } declare function getLatestBlock<T extends boolean = false, R = T extends true ? Block : PartialBlock>({ includeBody }?: GetLatestBlockParams<T>, opts?: HttpOptions): Res<R>; interface GetSlotAtParams { blockNumber: number; offsetOpt?: number; } declare function getSlotAt<R = Slot>({ blockNumber, offsetOpt }: GetSlotAtParams, opts?: HttpOptions): Res<R>; interface GetTransactionByHashParams { hash: string; } declare function getTransactionByHash<R = Transaction>({ hash }: GetTransactionByHashParams, opts?: HttpOptions): Res<R>; interface GetTransactionsByBlockNumberParams { blockNumber: number; } declare function getTransactionsByBlockNumber<R = Transaction[]>({ blockNumber }: GetTransactionsByBlockNumberParams, opts?: HttpOptions): Res<R>; interface GetTransactionsByBatchNumberParams { batchIndex: number; } declare function getTransactionsByBatchNumber<R = Transaction[]>({ batchIndex }: GetTransactionsByBatchNumberParams, opts?: HttpOptions): Res<R>; interface GetTransactionsByAddressParams { address: string; max?: number; startAt?: string; } declare function getTransactionsByAddress<R = Transaction[]>({ address, max, startAt }: GetTransactionsByAddressParams, opts?: HttpOptions): Res<R>; interface GetTransactionsHashesByAddressParams { address: string; max?: number; startAt?: string; } declare function getTransactionHashesByAddress<R = string[]>({ address, max, startAt }: GetTransactionsHashesByAddressParams, opts?: HttpOptions): Res<R>; interface GetInherentsByBlockNumberParams { blockNumber: number; } declare function getInherentsByBlockNumber<R = Inherent[]>({ blockNumber }: GetInherentsByBlockNumberParams, opts?: HttpOptions): Res<R>; interface GetInherentsByBatchNumberParams { batchIndex: number; } declare function getInherentsByBatchNumber<R = Inherent[]>({ batchIndex }: GetInherentsByBatchNumberParams, opts?: HttpOptions): Res<R>; interface GetAccountByAddressParams { address: string; } declare function getAccountByAddress<R = Account>({ address }: GetAccountByAddressParams, opts?: HttpOptions): Res<R>; declare function getAccounts<R = Account[]>(opts?: HttpOptions): Res<R>; declare function getActiveValidators<R = Validator[]>(opts?: HttpOptions): Res<R>; declare function getCurrentPenalizedSlots<R = PenalizedSlots[]>(opts?: HttpOptions): Res<R>; declare function getPreviousPenalizedSlots<R = PenalizedSlots[]>(opts?: HttpOptions): Res<R>; interface GetValidatorByAddressParams { address: string; } declare function getValidatorByAddress<R = Validator>({ address }: GetValidatorByAddressParams, opts?: HttpOptions): Res<R>; type GetValidatorsOpts = HttpOptions; declare function getValidators<R = Validator[]>(opts?: HttpOptions): Res<R>; interface GetStakersByValidatorAddressParams { address: string; } declare function getStakersByValidatorAddress<R = Staker[]>({ address }: GetStakersByValidatorAddressParams, opts?: HttpOptions): Res<R>; interface GetStakerByAddressParams { address: string; } declare function getStakerByAddress<R = Staker>({ address }: GetStakerByAddressParams, opts?: HttpOptions): Res<R>; declare function isConsensusEstablished(opts?: HttpOptions): Promise<HttpRpcResult<boolean>>; interface RawTransactionInfoParams { rawTransaction: string; } declare function getRawTransactionInfo({ rawTransaction }: RawTransactionInfoParams, opts?: HttpOptions): Promise<HttpRpcResult<Transaction>>; interface RawTransactionInfoParamsSend { rawTransaction: string; } declare function sendRawTransaction<R = string>({ rawTransaction }: RawTransactionInfoParamsSend, opts?: HttpOptions): Res<R>; type TransactionParams = { wallet: string; recipient: string; value: number; fee: number; data?: string; } & ValidityStartHeight; declare function createTransaction<R = string>(params: TransactionParams, opts?: HttpOptions): Res<R>; declare function sendTransaction<R = string>(params: TransactionParams, opts?: HttpOptions): Res<R>; type VestingTxParams = { wallet: string; owner: string; startTime: number; timeStep: number; numSteps: number; value: number; fee: number; } & ValidityStartHeight; declare function createNewVestingTransaction<R = string>(params: VestingTxParams, opts?: HttpOptions): Res<R>; declare function sendNewVestingTransaction<R = string>(params: VestingTxParams, opts?: HttpOptions): Res<R>; type RedeemVestingTxParams = { wallet: string; contractAddress: string; recipient: string; value: number; fee: number; } & ValidityStartHeight; declare function createRedeemVestingTransaction<R = string>(params: RedeemVestingTxParams, opts?: HttpOptions): Res<R>; declare function sendRedeemVestingTransaction<R = string>(params: RedeemVestingTxParams, opts?: HttpOptions): Res<R>; type HtlcTransactionParams = { wallet: string; htlcSender: string; htlcRecipient: string; hashRoot: string; hashCount: number; timeout: number; value: number; fee: number; } & ValidityStartHeight; declare function createNewHtlcTransaction<R = string>(params: HtlcTransactionParams, opts?: HttpOptions): Res<R>; declare function sendNewHtlcTransaction<R = string>(params: HtlcTransactionParams, opts?: HttpOptions): Res<R>; type RedeemRegularHtlcTxParams = { wallet: string; contractAddress: string; recipient: string; preImage: string; hashRoot: string; hashCount: number; value: number; fee: number; } & ValidityStartHeight; declare function createRedeemRegularHtlcTransaction<R = string>(params: RedeemRegularHtlcTxParams, opts?: HttpOptions): Res<R>; declare function sendRedeemRegularHtlcTransaction<R = string>(params: RedeemRegularHtlcTxParams, opts?: HttpOptions): Res<R>; type RedeemTimeoutHtlcTxParams = { wallet: string; contractAddress: string; recipient: string; value: number; fee: number; } & ValidityStartHeight; declare function createRedeemTimeoutHtlcTransaction<R = string>(params: RedeemTimeoutHtlcTxParams, opts?: HttpOptions): Res<R>; declare function sendRedeemTimeoutHtlcTransaction<R = string>(params: RedeemTimeoutHtlcTxParams, opts?: HttpOptions): Res<R>; type RedeemEarlyHtlcTxParams = { contractAddress: string; recipient: string; htlcSenderSignature: string; htlcRecipientSignature: string; value: number; fee: number; } & ValidityStartHeight; declare function createRedeemEarlyHtlcTransaction<R = string>(params: RedeemEarlyHtlcTxParams, opts?: HttpOptions): Res<R>; declare function sendRedeemEarlyHtlcTransaction<R = string>(params: RedeemEarlyHtlcTxParams, opts?: HttpOptions): Res<R>; declare function signRedeemEarlyHtlcTransaction<R = string>(params: RedeemEarlyHtlcTxParams, opts?: HttpOptions): Res<R>; type CreateStakeTxParams = { senderWallet: string; stakerWallet: string; delegation?: string; value: number; fee: number; } & ValidityStartHeight; declare function createNewStakerTransaction<R = string>(params: CreateStakeTxParams, opts?: HttpOptions): Res<R>; declare function sendNewStakerTransaction<R = string>(params: CreateStakeTxParams, opts?: HttpOptions): Res<R>; type StakeTxParams = { senderWallet: string; stakerWallet: string; value: number; fee: number; } & ValidityStartHeight; declare function createStakeTransaction<R = string>(params: StakeTxParams, opts?: HttpOptions): Res<R>; declare function sendStakeTransaction<R = string>(params: StakeTxParams, opts?: HttpOptions): Res<R>; type UpdateStakeTxParams = { senderWallet: string; stakerWallet: string; newDelegation: string | null; newInactiveBalance: number; fee: number; } & ValidityStartHeight; declare function createUpdateStakerTransaction<R = string>(params: UpdateStakeTxParams, opts?: HttpOptions): Res<R>; declare function sendUpdateStakerTransaction<R = string>(params: UpdateStakeTxParams, opts?: HttpOptions): Res<R>; type SetActiveStakeTxParams = { senderWallet: string; stakerWallet: string; newActiveBalance: number; fee: number; } & ValidityStartHeight; declare function createSetActiveStakeTransaction<R = string>(params: SetActiveStakeTxParams, opts?: HttpOptions): Res<R>; declare function sendSetActiveStakeTransaction<R = string>(params: SetActiveStakeTxParams, opts?: HttpOptions): Res<R>; type CreateRetireStakeTxParams = { senderWallet: string; stakerWallet: string; retireStake: boolean; fee: number; } & ValidityStartHeight; declare function createRetireStakeTransaction<R = string>(params: CreateRetireStakeTxParams, opts?: HttpOptions): Res<R>; declare function sendRetireStakeTransaction<R = string>(params: CreateRetireStakeTxParams, opts?: HttpOptions): Res<R>; type RemoveStakeTxParams = { stakerWallet: string; recipient: string; value: number; fee: number; } & ValidityStartHeight; declare function createRemoveStakeTransaction<R = string>(params: RemoveStakeTxParams, opts?: HttpOptions): Res<R>; declare function sendRemoveStakeTransaction<R = string>(params: RemoveStakeTxParams, opts?: HttpOptions): Res<R>; type NewValidatorTxParams = { senderWallet: string; validator: string; signingSecretKey: string; votingSecretKey: string; rewardAddress: string; signalData: string; fee: number; } & ValidityStartHeight; declare function createNewValidatorTransaction<R = string>(params: NewValidatorTxParams, opts?: HttpOptions): Res<R>; declare function sendNewValidatorTransaction<R = string>(params: NewValidatorTxParams, opts?: HttpOptions): Res<R>; type UpdateValidatorTxParams = { senderWallet: string; validator: string; newSigningSecretKey: string | null; newVotingSecretKey: string | null; newRewardAddress: string | null; newSignalData: string | null; fee: number; } & ValidityStartHeight; declare function createUpdateValidatorTransaction<R = string>(params: UpdateValidatorTxParams, opts?: HttpOptions): Res<R>; declare function sendUpdateValidatorTransaction<R = string>(params: UpdateValidatorTxParams, opts?: HttpOptions): Res<R>; type DeactivateValidatorTxParams = { senderWallet: string; validator: string; signingSecretKey: string; fee: number; } & ValidityStartHeight; declare function createDeactivateValidatorTransaction<R = string>(params: DeactivateValidatorTxParams, opts?: HttpOptions): Res<R>; declare function sendDeactivateValidatorTransaction<R = string>(params: DeactivateValidatorTxParams, opts?: HttpOptions): Res<R>; type ReactivateValidatorTxParams = { senderWallet: string; validator: string; signingSecretKey: string; fee: number; } & ValidityStartHeight; declare function createReactivateValidatorTransaction<R = string>(params: ReactivateValidatorTxParams, opts?: HttpOptions): Res<R>; declare function sendReactivateValidatorTransaction<R = string>(params: ReactivateValidatorTxParams, opts?: HttpOptions): Res<R>; type RetireValidatorTxParams = { senderWallet: string; validator: string; fee: number; } & ValidityStartHeight; declare function createRetireValidatorTransaction<R = string>(params: RetireValidatorTxParams, opts?: HttpOptions): Res<R>; declare function sendRetireValidatorTransaction<R = string>(params: RetireValidatorTxParams, opts?: HttpOptions): Res<R>; type DeleteValidatorTxParams = { validator: string; recipient: string; fee: number; value: number; } & ValidityStartHeight; declare function createDeleteValidatorTransaction<R = string>(params: DeleteValidatorTxParams, opts?: HttpOptions): Res<R>; declare function sendDeleteValidatorTransaction<R = string>(params: DeleteValidatorTxParams, opts?: HttpOptions): Res<R>; interface PushTransactionParams { transaction: string; withHighPriority?: boolean; } declare function pushTransaction<R = string>({ transaction, withHighPriority }: PushTransactionParams, opts?: HttpOptions): Res<R>; interface MempoolContentParams<T extends boolean = false> { includeTransactions?: T; } declare function mempoolContent<T extends boolean = false, R = T extends true ? { tx: Transaction; }[] : { hash: string; }[]>({ includeTransactions }: MempoolContentParams<T>, opts?: HttpOptions): Res<R>; declare function mempool<R = MempoolInfo>(opts?: HttpOptions): Res<R>; declare function getMinFeePerByte<R = number>(opts?: HttpOptions): Res<R>; interface GetTransactionFromMempoolParams { hash: string; } declare function getTransactionFromMempool<R = Transaction>({ hash }: GetTransactionFromMempoolParams, opts?: HttpOptions): Res<R>; declare function getPeerId<R = string>(opts?: HttpOptions): Res<R>; declare function getPeerCount<R = number>(opts?: HttpOptions): Res<R>; declare function getPeerList<R = string[]>(opts?: HttpOptions): Res<R>; declare function getPolicyConstants<R = PolicyConstants>(opts?: HttpOptions): Res<R>; interface GetEpochAtParams { blockNumber: number; } declare function getEpochAt<R = number>({ blockNumber }: GetEpochAtParams, opts?: HttpOptions): Res<R>; interface GetEpochIndexAtParams { blockNumber: number; } declare function getEpochIndexAt<R = number>({ blockNumber }: GetEpochIndexAtParams, opts?: HttpOptions): Res<R>; interface GetBatchAtParams { blockNumber: number; } declare function getBatchAt<R = number>({ blockNumber }: GetBatchAtParams, opts?: HttpOptions): Res<R>; interface GetBatchIndexAtParams { blockNumber: number; } declare function getBatchIndexAt<R = number>({ blockNumber }: GetBatchIndexAtParams, opts?: HttpOptions): Res<R>; interface GetElectionBlockAfterParams { blockNumber: number; } declare function getElectionBlockAfter<R = number>({ blockNumber }: GetElectionBlockAfterParams, opts?: HttpOptions): Res<R>; interface GetElectionBlockBeforeParams { blockNumber: number; } declare function getElectionBlockBefore<R = number>({ blockNumber }: GetElectionBlockBeforeParams, opts?: HttpOptions): Res<R>; interface GetLastElectionBlockParams { blockNumber: number; } declare function getLastElectionBlock<R = number>({ blockNumber }: GetLastElectionBlockParams, opts?: HttpOptions): Res<R>; interface IsElectionBlockAtParams { blockNumber: number; } declare function isElectionBlockAt<R = boolean>({ blockNumber }: IsElectionBlockAtParams, opts?: HttpOptions): Res<R>; interface GetMacroBlockAfterParams { blockNumber: number; } declare function getMacroBlockAfter<R = number>({ blockNumber }: GetMacroBlockAfterParams, opts?: HttpOptions): Res<R>; interface GetMacroBlockBeforeParams { blockNumber: number; } declare function getMacroBlockBefore<R = number>({ blockNumber }: GetMacroBlockBeforeParams, opts?: HttpOptions): Res<R>; interface GetLastMacroBlockParams { blockNumber: number; } declare function getLastMacroBlock<R = number>({ blockNumber }: GetLastMacroBlockParams, opts?: HttpOptions): Res<R>; interface IsMacroBlockAtParams { blockNumber: number; } declare function isMacroBlockAt<R = boolean>({ blockNumber }: IsMacroBlockAtParams, opts?: HttpOptions): Res<R>; interface IsMicroBlockAtParams { blockNumber: number; } declare function isMicroBlockAt<R = boolean>({ blockNumber }: IsMicroBlockAtParams, opts?: HttpOptions): Res<R>; interface GetFirstBlockOfEpochParams { epochIndex: number; } declare function getFirstBlockOfEpoch<R = number>({ epochIndex }: GetFirstBlockOfEpochParams, opts?: HttpOptions): Res<R>; interface GetBlockAfterReportingWindowParams { blockNumber: number; } declare function getBlockAfterReportingWindow<R = number>({ blockNumber }: GetBlockAfterReportingWindowParams, opts?: HttpOptions): Res<R>; interface GetBlockAfterJailParams { blockNumber: number; } declare function getBlockAfterJail<R = number>({ blockNumber }: GetBlockAfterJailParams, opts?: HttpOptions): Res<R>; interface GetFirstBlockOfBatchParams { batchIndex: number; } declare function getFirstBlockOfBatch<R = number>({ batchIndex }: GetFirstBlockOfBatchParams, opts?: HttpOptions): Res<R>; interface GetElectionBlockOfEpochParams { epochIndex: number; } declare function getElectionBlockOfEpoch<R = number>({ epochIndex }: GetElectionBlockOfEpochParams, opts?: HttpOptions): Res<R>; interface GetMacroBlockOfBatchParams { batchIndex: number; } declare function getMacroBlockOfBatch<R = number>({ batchIndex }: GetMacroBlockOfBatchParams, opts?: HttpOptions): Res<R>; interface GetFirstBatchOfEpochParams { epochIndex: number; } declare function getFirstBatchOfEpoch<R = number>({ epochIndex }: GetFirstBatchOfEpochParams, opts?: HttpOptions): Res<R>; declare function getBlockchainState<R = BlockchainState>(opts?: HttpOptions): Res<R>; interface GetSupplyAtParams { blockNumber: number; } declare function getSupplyAt<R = string>({ blockNumber }: GetSupplyAtParams, opts?: HttpOptions): Res<R>; interface ZKPState { latestHeaderNumber: number; latestBlockNumber: number; latestProof: string; } declare function getZkpState<R = ZKPState>(opts?: HttpOptions): Res<R>; interface ImportKeyParams { keyData: string; passphrase?: string; } declare function importRawKey<R = string>({ keyData, passphrase }: ImportKeyParams, opts?: HttpOptions): Res<R>; interface IsAccountImportedParams { address: string; } declare function isAccountImported<R = boolean>({ address }: IsAccountImportedParams, opts?: HttpOptions): Res<R>; declare function listAccounts<R = string[]>(opts?: HttpOptions): Res<R>; interface AddVotingKeyParams { secretKey: string; } declare function addVotingKey<R = null>({ secretKey }: AddVotingKeyParams, opts?: HttpOptions): Res<R>; interface CreateAccountParams { passphrase?: string; } declare function createAccount<R = Account>({ passphrase }: CreateAccountParams, opts?: HttpOptions): Res<R>; declare function getAddress<R = string>(opts?: HttpOptions): Res<R>; declare function getSigningKey<R = string>(opts?: HttpOptions): Res<R>; declare function getVotingKey<R = string>(opts?: HttpOptions): Res<R>; declare function getVotingKeys<R = string[]>(opts?: HttpOptions): Res<R>; interface IsAccountUnlockedParams { address: string; } declare function isAccountUnlocked<R = boolean>({ address }: IsAccountUnlockedParams, opts?: HttpOptions): Res<R>; interface LockAccountParams { address: string; } declare function lockAccount<R = null>({ address }: LockAccountParams, opts?: HttpOptions): Res<R>; interface RemoveAccountParams { address: string; } declare function removeAccount<R = boolean>({ address }: RemoveAccountParams, opts?: HttpOptions): Res<R>; declare function isValidatorElected<R = boolean>(opts?: HttpOptions): Res<R>; declare function isValidatorSynced<R = boolean>(opts?: HttpOptions): Res<R>; interface PushHighPriorityTransactionOpts { rawTx: string; } declare function pushHighPriorityTransaction<R = string>(rawTx: string, opts?: HttpOptions): Res<R>; interface SetAutomaticReactivationParams { automaticReactivate: boolean; } declare function setAutomaticReactivation<R = null>({ automaticReactivate }: SetAutomaticReactivationParams, opts?: HttpOptions): Res<R>; interface SignParams { message: string; address: string; passphrase: string; isHex: boolean; } declare function sign<R = Signature>({ message, address, passphrase, isHex, }: SignParams, opts?: HttpOptions): Res<R>; interface VerifySignatureParams { message: string; publicKey: string; signature: Signature; isHex: boolean; } declare function verifySignature<R = boolean>({ message, publicKey, signature, isHex, }: VerifySignatureParams, opts?: HttpOptions): Res<R>; interface UnlockAccountParams { address: string; passphrase?: string; duration?: number; } declare function unlockAccount<R = boolean>({ address, passphrase, duration }: UnlockAccountParams, opts?: HttpOptions): Res<R>; interface GetElectionBlockOfParams { epochIndex: number; } declare function getElectionBlockOf<R = number>({ epochIndex }: GetElectionBlockOfParams, opts?: HttpOptions): Res<R>; interface GetFirstBlockOfParams { epochIndex: number; } declare function getFirstBlockOf<R = number>({ epochIndex }: GetFirstBlockOfParams, opts?: HttpOptions): Res<R>; interface GetMacroBlockOfParams { batchNumber: number; } declare function getMacroBlockOf<R = number>({ batchNumber }: GetMacroBlockOfParams, opts?: HttpOptions): Res<R>; export { type AddVotingKeyParams, type CreateAccountParams, type CreateRetireStakeTxParams, type CreateStakeTxParams, type DeactivateValidatorTxParams, type DeleteValidatorTxParams, type GetAccountByAddressParams, type GetBatchAtParams, type GetBatchIndexAtParams, type GetBlockAfterJailParams, type GetBlockAfterReportingWindowParams, type GetBlockByHashParams, type GetBlockByNumberParams, type GetElectionBlockAfterParams, type GetElectionBlockBeforeParams, type GetElectionBlockOfEpochParams, type GetElectionBlockOfParams, type GetEpochAtParams, type GetEpochIndexAtParams, type GetFirstBatchOfEpochParams, type GetFirstBlockOfBatchParams, type GetFirstBlockOfEpochParams, type GetFirstBlockOfParams, type GetInherentsByBatchNumberParams, type GetInherentsByBlockNumberParams, type GetLastElectionBlockParams, type GetLastMacroBlockParams, type GetLatestBlockParams, type GetMacroBlockAfterParams, type GetMacroBlockBeforeParams, type GetMacroBlockOfBatchParams, type GetMacroBlockOfParams, type GetSlotAtParams, type GetStakerByAddressParams, type GetStakersByValidatorAddressParams, type GetSupplyAtParams, type GetTransactionByHashParams, type GetTransactionFromMempoolParams, type GetTransactionsByAddressParams, type GetTransactionsByBatchNumberParams, type GetTransactionsByBlockNumberParams, type GetTransactionsHashesByAddressParams, type GetValidatorByAddressParams, type GetValidatorsOpts, type HtlcTransactionParams, type ImportKeyParams, type IncludeBody, type IsAccountImportedParams, type IsAccountUnlockedParams, type IsElectionBlockAtParams, type IsMacroBlockAtParams, type IsMicroBlockAtParams, type LockAccountParams, type MempoolContentParams, type NewValidatorTxParams, type PushHighPriorityTransactionOpts, type PushTransactionParams, type RawTransactionInfoParams, type RawTransactionInfoParamsSend, type ReactivateValidatorTxParams, type RedeemEarlyHtlcTxParams, type RedeemRegularHtlcTxParams, type RedeemTimeoutHtlcTxParams, type RedeemVestingTxParams, type RemoveAccountParams, type RemoveStakeTxParams, type RetireValidatorTxParams, type SetActiveStakeTxParams, type SetAutomaticReactivationParams, type SignParams, type StakeTxParams, type TransactionParams, type UnlockAccountParams, type UpdateStakeTxParams, type UpdateValidatorTxParams, type VerifySignatureParams, type VestingTxParams, 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 };