import { EoAccount } from "../models/TAccount"; import { TAddress } from '../models/TAddress'; import { TAbiItem } from '../types/TAbi'; import { TxNonceManager } from './TxNonceManager'; export interface ITxBuilderNonceOptions { overriding?: boolean; nonce?: number | bigint | TxNonceManager; /** * (Set the nonce of the N-th tx in pending state) * Nonce will be generated for pending transactions: * 1: Used nonce of the first pending transaction will * 2: second pending transaction * ... * In any case MAX is the count of pending transactions, so any value is safe. */ noncePending?: number; } export interface ITxBuilderOptions extends ITxBuilderNonceOptions { gasPrice?: bigint; gasPriceRatio?: number; gasLimit?: number; gasLimitRatio?: number; gasFunding?: EoAccount; gasEstimation?: boolean; /** Used for gasEstimation */ from?: TAddress; send?: 'manual' | 'auto'; type?: 0 | 1 | 2; abi?: TAbiItem[]; color?: boolean; }