@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
9 lines (8 loc) • 709 B
TypeScript
import type { AbstractTransactionHash } from "../../common/hash.js";
import { BlockchainLayer1Enum } from "../../union/enum/domain.js";
export type TezosTransactionHash = AbstractTransactionHash<BlockchainLayer1Enum.TEZOS>;
export declare const tezosTransactionHashRegexp: RegExp;
export declare function isTezosTransactionHash(raw: string): raw is TezosTransactionHash;
export declare const tezosTransactionHashValidator: import("../../common/common.js").ILayer1fulValidator<BlockchainLayer1Enum.TEZOS, TezosTransactionHash>;
export declare function toTezosTransactionHash(raw: string): TezosTransactionHash;
export declare function toTezosTransactionHashSafe(raw: string): TezosTransactionHash | undefined;