Options
All
  • Public
  • Public/Protected
  • All
Menu

Module client

Low-level client API

Index

Functions

createLockTransaction

  • createLockTransaction(id: string, amount: number, hours: number, minutes: number): Transaction

createSendTransaction

  • createSendTransaction(from: string, to: string, amount: number, note: any, timeStamp?: undefined | number): Transaction
  • Create a Transaction instance

    Parameters

    • from: string
    • to: string
    • amount: number
    • note: any
    • Optional timeStamp: undefined | number

    Returns Transaction

createUnlockTransaction

  • createUnlockTransaction(id: string, poolId: string): Transaction

getBalance

  • getBalance(network: Network, id: string): Promise<number>

getLockStatus

  • getLockStatus(network: Network, id: string): Promise<any>

lock

register

send

unlock