Interface RpcClientInterface
interface RpcClientInterface { forgeOperations(data: ForgeOperationsParams,
options?: RPCOptions): Promise<string>; getAdaptiveIssuanceLaunchCycle(options?: RPCOptions): Promise<AILaunchCycleResponse>; getAllDelegates(args: AllDelegatesQueryArguments,
options?: RPCOptions): Promise<string[]>; getAllTicketBalances(contract: string,
options?: RPCOptions): Promise<AllTicketBalances>; getAttestationRights(args: AttestationRightsQueryArguments,
options?: RPCOptions): Promise<AttestationRightsResponse>; getBakingRights(args: BakingRightsQueryArgumentsBase,
options?: RPCOptions): Promise<BakingRightsResponse>; getBalance(address: string,
options?: RPCOptions): Promise<BigNumber>; getBallotList(options?: RPCOptions): Promise<BallotListResponse>; getBallots(options?: RPCOptions): Promise<BallotsResponse>; getBigMapExpr(id: string,
expr: string,
options?: RPCOptions): Promise<BigMapResponse>; getBigMapKey(address: string,
key: BigMapKey,
options?: RPCOptions): Promise<MichelsonV1Expression>; getBlock(options?: RPCOptions): Promise<BlockResponse>; getBlockHash(options?: RPCOptions): Promise<string>; getBlockHeader(options?: RPCOptions): Promise<BlockHeaderResponse>; getBlockMetadata(options?: RPCOptions): Promise<BlockMetadata>; getChainId(): Promise<string>; getConstants(options?: RPCOptions): Promise<ConstantsResponse>; getContract(address: string,
options?: RPCOptions): Promise<ContractResponse>; getCurrentPeriod(options?: RPCOptions): Promise<VotingPeriodBlockResult>; getCurrentProposal(options?: RPCOptions): Promise<CurrentProposalResponse>; getCurrentQuorum(options?: RPCOptions): Promise<number>; getDelegate(address: string,
options?: RPCOptions): Promise<DelegateResponse>; getDelegates(address: string,
options?: RPCOptions): Promise<DelegatesResponse>; getEntrypoints(contract: string,
options?: RPCOptions): Promise<EntrypointsResponse>; getFullBalance(address: string,
options?: RPCOptions): Promise<BigNumber>; getLiveBlocks(options?: RPCOptions): Promise<string[]>; getManagerKey(address: string,
options?: RPCOptions): Promise<ManagerKeyResponse>; getNormalizedScript(address: string,
unparsingMode?: UnparsingMode,
options?: RPCOptions): Promise<ScriptedContracts>; getPendingOperations(args: PendingOperationsQueryArguments): Promise<PendingOperationsV1 | PendingOperationsV2>; getProposals(options?: RPCOptions): Promise<ProposalsResponse>; getProtocols(options?: RPCOptions): Promise<ProtocolsResponse>; getRpcUrl(): string; getSaplingDiffByContract(contract: string,
options?: RPCOptions): Promise<SaplingDiffResponse>; getSaplingDiffById(id: string,
options?: RPCOptions): Promise<SaplingDiffResponse>; getScript(address: string,
options?: RPCOptions): Promise<ScriptedContracts>; getStakedBalance(address: string,
options?: RPCOptions): Promise<BigNumber>; getStorage(address: string,
options?: RPCOptions): Promise<MichelsonV1Expression>; getStoragePaidSpace(contract: string,
options?: RPCOptions): Promise<string>; getStorageUsedSpace(contract: string,
options?: RPCOptions): Promise<string>; getSuccessorPeriod(options?: RPCOptions): Promise<VotingPeriodBlockResult>; getTicketBalance(contract: string,
ticket: TicketTokenParams,
options?: RPCOptions): Promise<string>; getUnstakeRequests(address: string,
options?: RPCOptions): Promise<UnstakeRequestsResponse>; getUnstakedFinalizableBalance(address: string,
options?: RPCOptions): Promise<BigNumber>; getUnstakedFrozenBalance(address: string,
options?: RPCOptions): Promise<BigNumber>; getVotesListings(options?: RPCOptions): Promise<VotesListingsResponse>; getVotingInfo(address: string,
options?: RPCOptions): Promise<VotingInfoResponse>; injectOperation(signedOpBytes: string): Promise<string>; packData(data: PackDataParams,
options?: RPCOptions): Promise<{ gas: undefined | BigNumber | "unaccounted"; packed: string; }>; preapplyOperations(ops: PreapplyParams,
options?: RPCOptions): Promise<PreapplyResponse[]>; runCode(code: RPCRunCodeParam,
options?: RPCOptions): Promise<RunCodeResult>; runOperation(op: RPCRunOperationParam,
options?: RPCOptions): Promise<PreapplyResponse>; runScriptView(viewScriptParams: RPCRunScriptViewParam,
options?: RPCOptions): Promise<RunScriptViewResult>; runView(viewParams: RPCRunViewParam,
options?: RPCOptions): Promise<RunViewResult>; simulateOperation(op: RPCSimulateOperationParam,
options?: RPCOptions): Promise<PreapplyResponse>; } Methods
forgeOperations
- forgeOperations(data, options?): Promise<string>
Returns Promise<string>
getAdaptiveIssuanceLaunchCycle
getAllDelegates
- getAllDelegates(args, options?): Promise<string[]>
Returns Promise<string[]>
getBalance
- getBalance(address, options?): Promise<BigNumber>
Returns Promise<BigNumber>
getBlockHash
- getBlockHash(options?): Promise<string>
Returns Promise<string>
getChainId
- getChainId(): Promise<string>
Returns Promise<string>
getCurrentQuorum
- getCurrentQuorum(options?): Promise<number>
Returns Promise<number>
getFullBalance
- getFullBalance(address, options?): Promise<BigNumber>
Returns Promise<BigNumber>
getLiveBlocks
- getLiveBlocks(options?): Promise<string[]>
Returns Promise<string[]>
getRpcUrl
- getRpcUrl(): string
Returns string
getStakedBalance
- getStakedBalance(address, options?): Promise<BigNumber>
Returns Promise<BigNumber>
getStoragePaidSpace
- getStoragePaidSpace(contract, options?): Promise<string>
Returns Promise<string>
getStorageUsedSpace
- getStorageUsedSpace(contract, options?): Promise<string>
Returns Promise<string>
getTicketBalance
- getTicketBalance(contract, ticket, options?): Promise<string>
Returns Promise<string>
getUnstakedFinalizableBalance
- getUnstakedFinalizableBalance(address, options?): Promise<BigNumber>
Returns Promise<BigNumber>
getUnstakedFrozenBalance
- getUnstakedFrozenBalance(address, options?): Promise<BigNumber>
Returns Promise<BigNumber>
injectOperation
- injectOperation(signedOpBytes): Promise<string>
Returns Promise<string>
packData
- packData(data, options?): Promise<{
gas: undefined | BigNumber | "unaccounted";
packed: string;
}> Returns Promise<{
gas: undefined | BigNumber | "unaccounted";
packed: string;
}>