@bronlabs/intents-sdk
Version:
SDK for Intents DeFi smart contracts
14 lines (13 loc) • 616 B
TypeScript
import { Network, TransactionData } from "./index.js";
export declare class SolNetwork implements Network {
private readonly rpcUrl;
private readonly confirmations;
private readonly nativeAssetDecimals;
readonly retryDelay: number;
private readonly connection;
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>;
private base58ToKeypair;
}