@metamask/keyring-utils
Version:
MetaMask Keyring utils
15 lines • 560 B
text/typescript
/**
* Returns whether an address is on the Bitcoin mainnet.
*
* @param address - The address to check.
* @returns `true` if the address is on the Bitcoin mainnet, `false` otherwise.
*/
export declare function isBtcMainnetAddress(address: string): boolean;
/**
* Returns whether an address is on the Bitcoin testnet.
*
* @param address - The address to check.
* @returns `true` if the address is on the Bitcoin testnet, `false` otherwise.
*/
export declare function isBtcTestnetAddress(address: string): boolean;
//# sourceMappingURL=address.d.mts.map