UNPKG

@arcana/ca-sdk

Version:

Arcana Network's chain abstraction SDK for unified balance in Web3 apps

20 lines (19 loc) 1.09 kB
import { MsgCreateRequestForFunds, MsgDoubleCheckTx } from "@arcana/ca-common"; import { DirectSecp256k1Wallet } from "@cosmjs/proto-signing"; import Long from "long"; 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<Long>; 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>; declare const cosmosFillCheck: (intentID: Long, grpcURL: string, cosmosURL: string, ac: AbortController) => Promise<string>; export { cosmosCreateDoubleCheckTx, cosmosCreateRFF, cosmosFeeGrant, cosmosFillCheck, cosmosRefundIntent, };