dpos-api-wrapper
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DelegatesAPI

Index

Methods

enable

getByKeyVal

  • getByKeyVal(key: "publicKey" | "username", value: string, callback?: cback<object>): Promise<object | BaseApiResponse>

getByPublicKey

getByUsername

getForgedByAccount

  • getForgedByAccount(param: string | object, callback?: cback<object>): Promise<object | BaseApiResponse>
  • Return the forged amount by account

    Parameters

    • param: string | object

      if string is passed it's threated as publicKey

    • Optional callback: cback<object>

      callback to get the result

    Returns Promise<object | BaseApiResponse>

getForgingStatus

getList

getNextForgers

getVoters

toggleForging