Interface RpcClientInterface

interface RpcClientInterface {
    forgeOperations(data, options?): Promise<string>;
    getAllTicketBalances(contract, options?): Promise<AllTicketBalances>;
    getAttestationRights(args, options?): Promise<AttestationRightsResponse>;
    getBakingRights(args, options?): Promise<BakingRightsResponse>;
    getBalance(address, options?): Promise<BigNumber>;
    getBallotList(options?): Promise<BallotListResponse>;
    getBallots(options?): Promise<BallotsResponse>;
    getBigMapExpr(id, expr, options?): Promise<BigMapResponse>;
    getBigMapKey(address, key, options?): Promise<MichelsonV1Expression>;
    getBlock(options?): Promise<BlockResponse>;
    getBlockHash(options?): Promise<string>;
    getBlockHeader(options?): Promise<BlockHeaderResponse>;
    getBlockMetadata(options?): Promise<BlockMetadata>;
    getChainId(): Promise<string>;
    getConstants(options?): Promise<ConstantsResponse>;
    getContract(address, options?): Promise<ContractResponse>;
    getCurrentPeriod(options?): Promise<VotingPeriodBlockResult>;
    getCurrentProposal(options?): Promise<CurrentProposalResponse>;
    getCurrentQuorum(options?): Promise<number>;
    getDelegate(address, options?): Promise<DelegateResponse>;
    getDelegates(address, options?): Promise<DelegatesResponse>;
    getEndorsingRights(args, options?): Promise<EndorsingRightsResponse>;
    getEntrypoints(contract, options?): Promise<EntrypointsResponse>;
    getLiveBlocks(options?): Promise<string[]>;
    getManagerKey(address, options?): Promise<ManagerKeyResponse>;
    getNormalizedScript(address, unparsingMode?, options?): Promise<ScriptedContracts>;
    getPendingOperations(args): Promise<PendingOperationsV1 | PendingOperationsV2>;
    getProposals(options?): Promise<ProposalsResponse>;
    getProtocols(options?): Promise<ProtocolsResponse>;
    getRpcUrl(): string;
    getSaplingDiffByContract(contract, options?): Promise<SaplingDiffResponse>;
    getSaplingDiffById(id, options?): Promise<SaplingDiffResponse>;
    getScript(address, options?): Promise<ScriptedContracts>;
    getStorage(address, options?): Promise<MichelsonV1Expression>;
    getStoragePaidSpace(contract, options?): Promise<string>;
    getStorageUsedSpace(contract, options?): Promise<string>;
    getSuccessorPeriod(options?): Promise<VotingPeriodBlockResult>;
    getTicketBalance(contract, ticket, options?): Promise<string>;
    getVotesListings(options?): Promise<VotesListingsResponse>;
    getVotingInfo(address, options?): Promise<VotingInfoResponse>;
    injectOperation(signedOpBytes): Promise<string>;
    packData(data, options?): Promise<{
        gas: undefined | BigNumber | "unaccounted";
        packed: string;
    }>;
    preapplyOperations(ops, options?): Promise<PreapplyResponse[]>;
    runCode(code, options?): Promise<RunCodeResult>;
    runOperation(op, options?): Promise<PreapplyResponse>;
    runScriptView(viewScriptParams, options?): Promise<RunScriptViewResult>;
    runView(viewParams, options?): Promise<RunViewResult>;
    simulateOperation(op, options?): Promise<PreapplyResponse>;
}

Implemented by

Methods

Generated using TypeDoc