@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 AptosTransactionHash = AbstractTransactionHash<BlockchainLayer1Enum.APTOS>;
export declare const aptosTransactionHashRegexp: RegExp;
export declare function isAptosTransactionHash(raw: string): raw is AptosTransactionHash;
export declare const aptosTransactionHashValidator: import("../../common/common.js").ILayer1fulValidator<BlockchainLayer1Enum.APTOS, AptosTransactionHash>;
export declare function toAptosTransactionHash(raw: string): AptosTransactionHash;
export declare function toAptosTransactionHashSafe(raw: string): AptosTransactionHash | undefined;