Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TronApiClient

Tron api client that implement IsingleApiClient

Hierarchy

  • TronApiClient

Implements

Index

Constructors

constructor

Properties

config

config: ITronConfig

symbol

symbol: string = "TRX"

Methods

buildTransaction

  • buildTransaction(from: string, to: string, value: BigNumber): Promise<TronUnsignedTx>

getBalance

  • getBalance(address: string): Promise<BigNumber>

getBlockByNumber

  • getBlockByNumber(blockNumber: string): never

getBlockNumber

  • getBlockNumber(): never

getNetwork

  • getNetwork(): "mainnet" | "shasta"

getTransactionExplorerUrl

  • getTransactionExplorerUrl(hash: string): any

getTransactionStatus

getTransactionsByAddress

  • getTransactionsByAddress(address: string, page: number, size: number): Promise<Map<hash, TronTransaction>>

sameAddress

  • sameAddress(address1: string, address2: string): any

sendTransaction

updateConfiguration