@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) • 740 B
TypeScript
import type { AbstractTransactionHash } from "../../common/hash.js";
import { BlockchainLayer1Enum } from "../../union/enum/domain.js";
export type EVMTransactionHash = AbstractTransactionHash<BlockchainLayer1Enum.ETHEREUM> & {
__IS_EVM_TRANSACTION_HASH__: true;
};
export declare const evmTransactionHashRegexp: RegExp;
export declare function isEVMTransactionHash(raw: string): raw is EVMTransactionHash;
export declare const evmTransactionHashValidator: import("../../common/common.js").ILayer1fulValidator<BlockchainLayer1Enum.ETHEREUM, EVMTransactionHash>;
export declare function toEVMTransactionHash(raw: string): EVMTransactionHash;
export declare function toEVMTransactionHashSafe(raw: string): EVMTransactionHash | undefined;