UNPKG

postchain-client

Version:

Client library for accessing a Postchain node through REST.

9 lines (8 loc) 324 B
/// <reference types="node" /> import { RawGtxBody } from "../gtx/types"; /** * Calculates and returns the transaction RID, i.e., the merkle root hash of the transaction. * @param transaction The transaction in format of RawGtxBody * */ export declare const calculateTransactionRid: (transaction: RawGtxBody) => Buffer;