Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RpcClient

description

RpcClient allows interaction with Tezos network through an rpc node

Hierarchy

  • RpcClient

Implements

Index

Constructors

constructor

Properties

Protected chain

chain: string = ...

Protected httpBackend

httpBackend: HttpBackend = ...

Protected url

url: string

Methods

Protected createURL

  • createURL(path: string): string

forgeOperations

getBakingRights

getBalance

  • getBalance(address: string, __namedParameters?: RPCOptions): Promise<BigNumber>

getBallotList

getBallots

getBigMapExpr

  • getBigMapExpr(id: string, expr: string, __namedParameters?: { block: string }): Promise<BigMapResponse>

getBigMapKey

getBlock

getBlockHash

  • getBlockHash(__namedParameters?: RPCOptions): Promise<string>

getBlockHeader

getBlockMetadata

getChainId

  • getChainId(): Promise<string>

getConstants

getContract

  • getContract(address: string, __namedParameters?: { block: string }): Promise<ContractResponse>

getCurrentPeriod

getCurrentPeriodKind

getCurrentProposal

getCurrentQuorum

  • getCurrentQuorum(__namedParameters?: RPCOptions): Promise<number>

getDelegate

  • getDelegate(address: string, __namedParameters?: { block: string }): Promise<DelegateResponse>

getDelegates

  • getDelegates(address: string, __namedParameters?: { block: string }): Promise<DelegatesResponse>

getEndorsingRights

getEntrypoints

getLiveBlocks

  • getLiveBlocks(__namedParameters?: RPCOptions): Promise<string[]>

getManagerKey

  • getManagerKey(address: string, __namedParameters?: { block: string }): Promise<ManagerKeyResponse>

getNormalizedScript

getProposals

getRpcUrl

  • getRpcUrl(): string

getSaplingDiffByContract

  • getSaplingDiffByContract(contract: string, __namedParameters?: { block: string }): Promise<SaplingDiffResponse>

getSaplingDiffById

  • getSaplingDiffById(id: string, __namedParameters?: { block: string }): Promise<SaplingDiffResponse>

getScript

  • getScript(address: string, __namedParameters?: { block: string }): Promise<ScriptedContracts>

getStorage

getSuccessorPeriod

getVotesListings

injectOperation

  • injectOperation(signedOpBytes: string): Promise<string>

packData

  • packData(data: PackDataParams, __namedParameters?: RPCOptions): Promise<{ gas: undefined | BigNumber | "unaccounted"; packed: string }>

preapplyOperations

runCode

runOperation

Generated using TypeDoc