export function has_account_api(signer) {
    return (xpub) => {
        return signer._wallet.has_account(xpub);
    };
}
export function get_account_api(signer) {
    return (idx) => {
        return signer._wallet.get_account(idx);
    };
}
export default function (signer) {
    return {
        has: has_account_api(signer),
        get: get_account_api(signer)
    };
}
