@abstract-foundation/agw-react
Version:
Abstract Global Wallet React Components
14 lines • 612 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.useGlobalWalletSignerClient = useGlobalWalletSignerClient;
const wagmi_1 = require("wagmi");
const useGlobalWalletSignerAccount_js_1 = require("./useGlobalWalletSignerAccount.js");
function useGlobalWalletSignerClient(parameters = {}) {
const { address } = (0, useGlobalWalletSignerAccount_js_1.useGlobalWalletSignerAccount)();
const walletClient = (0, wagmi_1.useWalletClient)({
...parameters,
account: address,
});
return walletClient;
}
//# sourceMappingURL=useGlobalWalletSignerClient.js.map