@rarible/types
Version:
`@rarible/types` is a TypeScript library that provides type definitions and interfaces for the Rarible ecosystem. This package is designed to facilitate seamless integration with Rarible's APIs and services, ensuring type safety and improved developer exp
11 lines (10 loc) • 743 B
TypeScript
import type { AbstractTransactionHash } from "../../common/hash.js";
import { BlockchainLayer1Enum } from "../../union/enum/domain.js";
export type FlowTransactionHash = AbstractTransactionHash<BlockchainLayer1Enum.FLOW> & {
__IS_FLOW_TRANSACTION_HASH__: true;
};
export declare const flowTransactionHashRegExp: RegExp;
export declare function isFlowTransactionHash(raw: string): raw is FlowTransactionHash;
export declare const flowTransactionHashValidator: import("../../common/common.js").ILayer1fulValidator<BlockchainLayer1Enum.FLOW, FlowTransactionHash>;
export declare function toFlowTransactionHash(raw: string): FlowTransactionHash;
export declare function toFlowTransactionHashSafe(raw: string): FlowTransactionHash | undefined;