@bronlabs/intents-sdk
Version:
SDK for Intents DeFi smart contracts
13 lines (12 loc) • 585 B
TypeScript
import { Network, TransactionData } from './index.js';
export declare class EvmNetwork implements Network {
private readonly rpcUrl;
private readonly provider;
private readonly confirmations;
private readonly nativeAssetDecimals;
readonly retryDelay: number;
constructor(rpcUrl: string, 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>;
}