@arcana/ca-sdk
Version:
Arcana Network's chain abstraction SDK for unified balance in Web3 apps
18 lines (17 loc) • 946 B
TypeScript
import { MsgCreateRequestForFunds, MsgDoubleCheckTx } from "@arcana/ca-common";
import { DirectSecp256k1Wallet } from "@cosmjs/proto-signing";
declare const cosmosFeeGrant: (cosmosURL: string, vscDomain: string, address: string) => Promise<void>;
declare const cosmosCreateRFF: ({ address, cosmosURL, msg, wallet, }: {
address: string;
cosmosURL: string;
msg: MsgCreateRequestForFunds;
wallet: DirectSecp256k1Wallet;
}) => Promise<import("long").default>;
declare const cosmosRefundIntent: (cosmosURL: string, intentID: number, wallet: DirectSecp256k1Wallet) => Promise<import("@cosmjs/stargate").DeliverTxResponse | undefined>;
declare const cosmosCreateDoubleCheckTx: ({ address, cosmosURL, msg, wallet, }: {
address: string;
cosmosURL: string;
msg: MsgDoubleCheckTx;
wallet: DirectSecp256k1Wallet;
}) => Promise<void>;
export { cosmosCreateDoubleCheckTx, cosmosCreateRFF, cosmosFeeGrant, cosmosRefundIntent, };