UNPKG

@bronlabs/intents-sdk

Version:
15 lines (14 loc) 630 B
import { Network, TransactionData } from "./index.js"; export declare class TrxNetwork implements Network { private readonly rpcUrl; private readonly authHeaders; private readonly confirmations; private readonly nativeAssetDecimals; readonly retryDelay: number; private tronWeb; 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 request; }