Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Protected api

Methods

broadcast

  • broadcast(privateKey: ECKeyPair | string, operations: BaseOperation[], expiration?: Duration): Observable<void>
  • Broadcast operation to DCore

    Parameters

    • privateKey: ECKeyPair | string

      EC key pair or Base58 encoded private key

    • operations: BaseOperation[]

      operations to be submitted to DCore

    • Default value expiration: Duration = this.api.transactionExpiration

      transaction expiration in seconds, after the expiry the transaction is removed from recent pool and will be dismissed if not included in DCore block

    Returns Observable<void>

broadcastSynchronous

  • Broadcast operation to DCore and wait for result

    Parameters

    • privateKey: ECKeyPair | string

      EC key pair or Base58 encoded private key

    • operations: BaseOperation[]

      operations to be submitted to DCore

    • Default value expiration: Duration = this.api.transactionExpiration

      transaction expiration in seconds, after the expiry the transaction is removed from recent pool and will be dismissed if not included in DCore block

    Returns Observable<TransactionConfirmation>

    a transaction confirmation

broadcastTrx

  • broadcastTrx(transaction: Transaction): Observable<any>

broadcastTrxSynchronous

broadcastTrxWithCallback

broadcastWithCallback

  • Broadcast operation to DCore

    Parameters

    • privateKey: ECKeyPair | string

      EC key pair or Base58 encoded private key

    • operations: BaseOperation[]

      operations to be submitted to DCore

    • Default value expiration: Duration = this.api.transactionExpiration

      transaction expiration in seconds, after the expiry the transaction is removed from recent pool and will be dismissed if not included in DCore block

    Returns Observable<TransactionConfirmation>

    a transaction confirmation

Protected request

Static Private getPrivate

Generated using TypeDoc