@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
10 lines (9 loc) • 698 B
TypeScript
import type { AbstractAddress } from "../../common/address.js";
import { BlockchainLayer1Enum } from "../../union/enum/domain.js";
export type TezosAddress = AbstractAddress<BlockchainLayer1Enum.TEZOS>;
export declare function isTezosAddress(address: string): address is TezosAddress;
export declare const tezosAddressValidator: import("../../common/common.js").ILayer1fulValidator<BlockchainLayer1Enum.TEZOS, TezosAddress>;
export declare function toTezosAddress(address: string): TezosAddress;
export declare function toTezosAddressSafe(address: string): TezosAddress | undefined;
export declare const TEZOS_ZERO_ADDRESS: TezosAddress;
export declare function randomTezosAddress(): TezosAddress;