UNPKG

@bronlabs/intents-sdk

Version:
14 lines (13 loc) 664 B
import { Network, TransactionData } from './index.js'; export declare class CosmosNetwork implements Network { private readonly rpcUrl; private readonly nativeDenom; private readonly confirmations; readonly retryDelay: number; private readonly bech32; private readonly gasPrice; constructor(rpcUrl: string, nativeDenom: string, bech32: string, gasPrice: number, confirmations?: number); getDecimals(tokenAddress: string): Promise<number>; getTxData(txHash: string, tokenAddress: string): Promise<TransactionData | undefined>; transfer(privateKey: string, to: string, value: bigint, tokenAddress: string): Promise<string>; }