@yoroi/banxa
Version:
The Banxa integration package of Yoroi SDK
15 lines (13 loc) • 599 B
Flow
/**
* Flowtype definitions for wallet-address
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.21.0
*/
/**
* Validates if is possible Cardano mainnet or testnet address.
* We leave the address validation to the Banxa API, this is a simple check to avoid basic mistakes.
* Banxa referal link doesn't work with testnet addreses or byron addresses.
* @param {string} address - The Cardano address to validate.
* @returns {boolean} - Returns true if the address looks like a Cardano address.
*/
declare export function banxaIsPossibleCardanoAddress(address: string): boolean;