UNPKG

@cyberk/hyperion-sdk

Version:

Hyperion SDK from Cyberk

29 lines 865 B
"use strict"; // import type { QueryOptions } from "@tanstack/query-core"; // import { useQuery } from "@tanstack/react-query"; // import { MessageComposer } from "@titanlabjs/titan-types/cosmwasm/wasm/v1/tx.registry"; // import { SigningClient } from "@titanlabjs/cosmos/signing-client"; // import { toUtf8 } from "@titanlabjs/encoding"; // export const executeContract = async ({ // signingClient, // }: { // signingClient: SigningClient; // }) => { // return await signingClient!.signAndBroadcast( // "fromAddress", // [ // MessageComposer.fromPartial.executeContract({ // contract: "contractAddress", // msg: toUtf8(""), // sender: "", // funds: [], // }), // ], // { // gas: "1000000", // amount: [{ denom: "uusdt", amount: "1000000" }], // }, // "options.memo" // ); // }; //# sourceMappingURL=availablePair2.js.map