Options
All
  • Public
  • Public/Protected
  • All
Menu

Blockchain interface repository.

since

1.0

Hierarchy

Implemented by

Index

Methods

getBlockByHeight

getMerkleReceipts

  • Get the merkle path for a given a receipt statement hash and block Returns the merkle path for a receipt statement or resolution linked to a block. The path is the complementary data needed to calculate the merkle root. A client can compare if the calculated root equals the one recorded in the block header, verifying that the receipt was linked with the block.

    Parameters

    • height: UInt64

      The height of the block.

    • hash: string

      The hash of the receipt statement or resolution.

    Returns Observable<MerkleProofInfo>

    Observable

getMerkleTransaction

  • Get the merkle path for a given a transaction and block Returns the merkle path for a transaction included in a block. The path is the complementary data needed to calculate the merkle root. A client can compare if the calculated root equals the one recorded in the block header, verifying that the transaction was included in the block.

    Parameters

    • height: UInt64

      The height of the block.

    • hash: string

      The hash of the transaction.

    Returns Observable<MerkleProofInfo>

    Observable

search

streamer

Generated using TypeDoc