UNPKG

@magiceden/magiceden-sdk

Version:

A TypeScript SDK for interacting with Magic Eden's API across multiple chains.

8 lines (7 loc) 238 B
/** * Type guard for checking if a string starts with the 0x prefix used in hex strings. * * @param str * @returns True if the string starts with 0x */ export declare function isHexPrefixedString(str: unknown): str is `0x${string}`;