"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getUidProofFromWallet = void 0;
exports.getUidProofFromWallet = ({ polyWallet, ticker, errorHandler, }) => polyWallet.uid
    .requestProof({ ticker })
    .then((data) => {
    return data.proof;
})
    .catch((error) => {
    if (errorHandler)
        errorHandler(error);
    return null;
});
//# sourceMappingURL=getUidProofFromWallet.js.map