Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Ell

Ell accesses information about an Elld client

export
class

Ell

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Protected client

client: RPCClient

Methods

balance

getBalance

  • getBalance(address: string): Promise<Decimal>
  • Returns the balance of an account using the given address

    memberof

    Ell

    Parameters

    • address: string

    Returns Promise<Decimal>

send

  • send(txData: Transaction): Promise<TxResult>
  • Send a transaction

    memberof

    Ell

    Parameters

    • txData: Transaction

      The transaction's data

    Returns Promise<TxResult>

sendRaw

  • sendRaw(encodedTx: string): Promise<TxResult>
  • Send a Base58 encoded transaction to the node.

    memberof

    Ell

    Parameters

    • encodedTx: string

    Returns Promise<TxResult>