Options
All
  • Public
  • Public/Protected
  • All
Menu

Account http repository.

since

1.0

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected url

url: string

Methods

Protected call

  • call<D, M>(remoteCall: Promise<{ body: D; response: IncomingMessage }>, mapper: (value: D, index: number) => M): Observable<M>
  • This method knows how to call, convert and handle exception when doing remote http operations.

    Type parameters

    • D

    • M

    Parameters

    • remoteCall: Promise<{ body: D; response: IncomingMessage }>

      the remote call

    • mapper: (value: D, index: number) => M

      the mapper from dto to the model object.

        • (value: D, index: number): M
        • Parameters

          • value: D
          • index: number

          Returns M

    Returns Observable<M>

createNetworkTypeObservable

errorHandling

  • errorHandling(error: any): Error

getAccountIncomingTransactions

getAccountInfo

getAccountOutgoingTransactions

getAccountPartialTransactions

getAccountTransactions

getAccountUnconfirmedTransactions

  • Gets the array of transactions for which an account is the sender or receiver and which have not yet been included in a block. Unconfirmed transactions are those transactions that have not yet been included in a block. Unconfirmed transactions are not guaranteed to be included in any block.

    Parameters

    • address: Address
      • Address can be created rawAddress or publicKey
    • Optional queryParams: QueryParams

      (Optional) Query params

    • Optional transactionFilter: TransactionFilter

      (Optional) Transaction filter

    Returns Observable<Transaction[]>

    Observable<Transaction[]>

getAccountsInfo

queryParams

transactionFilter

Generated using TypeDoc