UNPKG

@iqai/mcp-odos

Version:
645 lines 966 kB
import { type Chain } from "viem"; export declare class WalletService { private publicClient; private walletClient?; constructor(privateKey?: string, chain?: Chain); getPublicClient(): { account: undefined; batch?: { multicall?: boolean | import("viem/_types/index.js").Prettify<import("viem/_types/index.js").MulticallBatchOptions> | undefined; } | undefined; cacheTime: number; ccipRead?: false | { request?: (parameters: import("viem/_types/index.js").CcipRequestParameters) => Promise<import("viem/_types/utils/ccip.js").CcipRequestReturnType>; } | undefined; chain: Chain | undefined; key: string; name: string; pollingInterval: number; request: import("viem/_types/index.js").EIP1193RequestFn<import("viem/_types/index.js").PublicRpcSchema>; transport: import("viem/_types/index.js").TransportConfig<string, import("viem/_types/index.js").EIP1193RequestFn> & Record<string, any>; type: string; uid: string; call: (parameters: import("viem/_types/index.js").CallParameters<Chain | undefined>) => Promise<import("viem/_types/index.js").CallReturnType>; createAccessList: (parameters: import("viem/_types/index.js").CreateAccessListParameters<Chain | undefined>) => Promise<{ accessList: import("viem/_types/index.js").AccessList; gasUsed: bigint; }>; createBlockFilter: () => Promise<import("viem/_types/index.js").CreateBlockFilterReturnType>; createContractEventFilter: <const abi extends import("viem/_types/index.js").Abi | readonly unknown[], eventName extends import("viem/_types/index.js").ContractEventName<abi> | undefined, args extends import("viem/_types/index.js").MaybeExtractEventArgsFromAbi<abi, eventName> | undefined, strict extends boolean | undefined = undefined, fromBlock extends import("viem/_types/index.js").BlockNumber | import("viem/_types/index.js").BlockTag | undefined = undefined, toBlock extends import("viem/_types/index.js").BlockNumber | import("viem/_types/index.js").BlockTag | undefined = undefined>(args: import("viem/_types/index.js").CreateContractEventFilterParameters<abi, eventName, args, strict, fromBlock, toBlock>) => Promise<import("viem/_types/index.js").CreateContractEventFilterReturnType<abi, eventName, args, strict, fromBlock, toBlock>>; createEventFilter: <const abiEvent extends import("viem/_types/index.js").AbiEvent | undefined = undefined, const abiEvents extends readonly import("viem/_types/index.js").AbiEvent[] | readonly unknown[] | undefined = abiEvent extends import("viem/_types/index.js").AbiEvent ? [abiEvent] : undefined, strict extends boolean | undefined = undefined, fromBlock extends import("viem/_types/index.js").BlockNumber | import("viem/_types/index.js").BlockTag | undefined = undefined, toBlock extends import("viem/_types/index.js").BlockNumber | import("viem/_types/index.js").BlockTag | undefined = undefined, _EventName extends string | undefined = import("viem/_types/index.js").MaybeAbiEventName<abiEvent>, _Args extends import("viem/_types/index.js").MaybeExtractEventArgsFromAbi<abiEvents, _EventName> | undefined = undefined>(args?: import("viem/_types/index.js").CreateEventFilterParameters<abiEvent, abiEvents, strict, fromBlock, toBlock, _EventName, _Args> | undefined) => Promise<import("viem/_types/index.js").CreateEventFilterReturnType<abiEvent, abiEvents, strict, fromBlock, toBlock, _EventName, _Args>>; createPendingTransactionFilter: () => Promise<import("viem/_types/index.js").CreatePendingTransactionFilterReturnType>; estimateContractGas: <chain extends Chain | undefined, const abi extends import("viem/_types/index.js").Abi | readonly unknown[], functionName extends import("viem/_types/index.js").ContractFunctionName<abi, "nonpayable" | "payable">, args extends import("viem/_types/index.js").ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>>(args: import("viem/_types/index.js").EstimateContractGasParameters<abi, functionName, args, chain>) => Promise<import("viem/_types/index.js").EstimateContractGasReturnType>; estimateGas: (args: import("viem/_types/index.js").EstimateGasParameters<Chain | undefined>) => Promise<import("viem/_types/index.js").EstimateGasReturnType>; getBalance: (args: import("viem/_types/index.js").GetBalanceParameters) => Promise<import("viem/_types/index.js").GetBalanceReturnType>; getBlobBaseFee: () => Promise<import("viem/_types/index.js").GetBlobBaseFeeReturnType>; getBlock: <includeTransactions extends boolean = false, blockTag extends import("viem/_types/index.js").BlockTag = "latest">(args?: import("viem/_types/index.js").GetBlockParameters<includeTransactions, blockTag> | undefined) => Promise<{ number: blockTag extends "pending" ? null : bigint; hash: blockTag extends "pending" ? null : `0x${string}`; nonce: blockTag extends "pending" ? null : `0x${string}`; logsBloom: blockTag extends "pending" ? null : `0x${string}`; baseFeePerGas: bigint | null; blobGasUsed: bigint; difficulty: bigint; excessBlobGas: bigint; extraData: import("viem/_types/index.js").Hex; gasLimit: bigint; gasUsed: bigint; miner: import("viem/_types/index.js").Address; mixHash: import("viem/_types/index.js").Hash; parentBeaconBlockRoot?: `0x${string}` | undefined; parentHash: import("viem/_types/index.js").Hash; receiptsRoot: import("viem/_types/index.js").Hex; sealFields: import("viem/_types/index.js").Hex[]; sha3Uncles: import("viem/_types/index.js").Hash; size: bigint; stateRoot: import("viem/_types/index.js").Hash; timestamp: bigint; totalDifficulty: bigint | null; transactionsRoot: import("viem/_types/index.js").Hash; uncles: import("viem/_types/index.js").Hash[]; withdrawals?: import("viem/_types/index.js").Withdrawal[] | undefined | undefined; withdrawalsRoot?: `0x${string}` | undefined; transactions: includeTransactions extends true ? ({ yParity?: undefined | undefined; from: import("viem/_types/index.js").Address; gas: bigint; hash: import("viem/_types/index.js").Hash; input: import("viem/_types/index.js").Hex; nonce: number; r: import("viem/_types/index.js").Hex; s: import("viem/_types/index.js").Hex; to: import("viem/_types/index.js").Address | null; typeHex: import("viem/_types/index.js").Hex | null; v: bigint; value: bigint; accessList?: undefined | undefined; authorizationList?: undefined | undefined; blobVersionedHashes?: undefined | undefined; chainId?: number | undefined; type: "legacy"; gasPrice: bigint; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: undefined | undefined; maxPriorityFeePerGas?: undefined | undefined; blockHash: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : `0x${string}` : never : never; blockNumber: (blockTag extends "pending" ? true : false) extends infer T_1 ? T_1 extends (blockTag extends "pending" ? true : false) ? T_1 extends true ? null : bigint : never : never; transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never; } | { yParity: number; from: import("viem/_types/index.js").Address; gas: bigint; hash: import("viem/_types/index.js").Hash; input: import("viem/_types/index.js").Hex; nonce: number; r: import("viem/_types/index.js").Hex; s: import("viem/_types/index.js").Hex; to: import("viem/_types/index.js").Address | null; typeHex: import("viem/_types/index.js").Hex | null; v: bigint; value: bigint; accessList: import("viem/_types/index.js").AccessList; authorizationList?: undefined | undefined; blobVersionedHashes?: undefined | undefined; chainId: number; type: "eip2930"; gasPrice: bigint; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: undefined | undefined; maxPriorityFeePerGas?: undefined | undefined; blockHash: (blockTag extends "pending" ? true : false) extends infer T_3 ? T_3 extends (blockTag extends "pending" ? true : false) ? T_3 extends true ? null : `0x${string}` : never : never; blockNumber: (blockTag extends "pending" ? true : false) extends infer T_4 ? T_4 extends (blockTag extends "pending" ? true : false) ? T_4 extends true ? null : bigint : never : never; transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_5 ? T_5 extends (blockTag extends "pending" ? true : false) ? T_5 extends true ? null : number : never : never; } | { yParity: number; from: import("viem/_types/index.js").Address; gas: bigint; hash: import("viem/_types/index.js").Hash; input: import("viem/_types/index.js").Hex; nonce: number; r: import("viem/_types/index.js").Hex; s: import("viem/_types/index.js").Hex; to: import("viem/_types/index.js").Address | null; typeHex: import("viem/_types/index.js").Hex | null; v: bigint; value: bigint; accessList: import("viem/_types/index.js").AccessList; authorizationList?: undefined | undefined; blobVersionedHashes?: undefined | undefined; chainId: number; type: "eip1559"; gasPrice?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; blockHash: (blockTag extends "pending" ? true : false) extends infer T_6 ? T_6 extends (blockTag extends "pending" ? true : false) ? T_6 extends true ? null : `0x${string}` : never : never; blockNumber: (blockTag extends "pending" ? true : false) extends infer T_7 ? T_7 extends (blockTag extends "pending" ? true : false) ? T_7 extends true ? null : bigint : never : never; transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_8 ? T_8 extends (blockTag extends "pending" ? true : false) ? T_8 extends true ? null : number : never : never; } | { yParity: number; from: import("viem/_types/index.js").Address; gas: bigint; hash: import("viem/_types/index.js").Hash; input: import("viem/_types/index.js").Hex; nonce: number; r: import("viem/_types/index.js").Hex; s: import("viem/_types/index.js").Hex; to: import("viem/_types/index.js").Address | null; typeHex: import("viem/_types/index.js").Hex | null; v: bigint; value: bigint; accessList: import("viem/_types/index.js").AccessList; authorizationList?: undefined | undefined; blobVersionedHashes: readonly import("viem/_types/index.js").Hex[]; chainId: number; type: "eip4844"; gasPrice?: undefined | undefined; maxFeePerBlobGas: bigint; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; blockHash: (blockTag extends "pending" ? true : false) extends infer T_9 ? T_9 extends (blockTag extends "pending" ? true : false) ? T_9 extends true ? null : `0x${string}` : never : never; blockNumber: (blockTag extends "pending" ? true : false) extends infer T_10 ? T_10 extends (blockTag extends "pending" ? true : false) ? T_10 extends true ? null : bigint : never : never; transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_11 ? T_11 extends (blockTag extends "pending" ? true : false) ? T_11 extends true ? null : number : never : never; } | { yParity: number; from: import("viem/_types/index.js").Address; gas: bigint; hash: import("viem/_types/index.js").Hash; input: import("viem/_types/index.js").Hex; nonce: number; r: import("viem/_types/index.js").Hex; s: import("viem/_types/index.js").Hex; to: import("viem/_types/index.js").Address | null; typeHex: import("viem/_types/index.js").Hex | null; v: bigint; value: bigint; accessList: import("viem/_types/index.js").AccessList; authorizationList: import("viem/_types/index.js").SignedAuthorizationList; blobVersionedHashes?: undefined | undefined; chainId: number; type: "eip7702"; gasPrice?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; blockHash: (blockTag extends "pending" ? true : false) extends infer T_12 ? T_12 extends (blockTag extends "pending" ? true : false) ? T_12 extends true ? null : `0x${string}` : never : never; blockNumber: (blockTag extends "pending" ? true : false) extends infer T_13 ? T_13 extends (blockTag extends "pending" ? true : false) ? T_13 extends true ? null : bigint : never : never; transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_14 ? T_14 extends (blockTag extends "pending" ? true : false) ? T_14 extends true ? null : number : never : never; })[] : `0x${string}`[]; }>; getBlockNumber: (args?: import("viem/_types/index.js").GetBlockNumberParameters | undefined) => Promise<import("viem/_types/index.js").GetBlockNumberReturnType>; getBlockTransactionCount: (args?: import("viem/_types/index.js").GetBlockTransactionCountParameters | undefined) => Promise<import("viem/_types/index.js").GetBlockTransactionCountReturnType>; getBytecode: (args: import("viem/_types/index.js").GetBytecodeParameters) => Promise<import("viem/_types/index.js").GetBytecodeReturnType>; getChainId: () => Promise<import("viem/_types/index.js").GetChainIdReturnType>; getCode: (args: import("viem/_types/index.js").GetBytecodeParameters) => Promise<import("viem/_types/index.js").GetBytecodeReturnType>; getContractEvents: <const abi extends import("viem/_types/index.js").Abi | readonly unknown[], eventName extends import("viem/_types/index.js").ContractEventName<abi> | undefined = undefined, strict extends boolean | undefined = undefined, fromBlock extends import("viem/_types/index.js").BlockNumber | import("viem/_types/index.js").BlockTag | undefined = undefined, toBlock extends import("viem/_types/index.js").BlockNumber | import("viem/_types/index.js").BlockTag | undefined = undefined>(args: import("viem/_types/index.js").GetContractEventsParameters<abi, eventName, strict, fromBlock, toBlock>) => Promise<import("viem/_types/index.js").GetContractEventsReturnType<abi, eventName, strict, fromBlock, toBlock>>; getEip712Domain: (args: import("viem/_types/index.js").GetEip712DomainParameters) => Promise<import("viem/_types/index.js").GetEip712DomainReturnType>; getEnsAddress: (args: import("viem/_types/index.js").GetEnsAddressParameters) => Promise<import("viem/_types/index.js").GetEnsAddressReturnType>; getEnsAvatar: (args: import("viem/_types/index.js").GetEnsAvatarParameters) => Promise<import("viem/_types/index.js").GetEnsAvatarReturnType>; getEnsName: (args: import("viem/_types/index.js").GetEnsNameParameters) => Promise<import("viem/_types/index.js").GetEnsNameReturnType>; getEnsResolver: (args: import("viem/_types/index.js").GetEnsResolverParameters) => Promise<import("viem/_types/index.js").GetEnsResolverReturnType>; getEnsText: (args: import("viem/_types/index.js").GetEnsTextParameters) => Promise<import("viem/_types/index.js").GetEnsTextReturnType>; getFeeHistory: (args: import("viem/_types/index.js").GetFeeHistoryParameters) => Promise<import("viem/_types/index.js").GetFeeHistoryReturnType>; estimateFeesPerGas: <chainOverride extends Chain | undefined = undefined, type extends import("viem/_types/index.js").FeeValuesType = "eip1559">(args?: import("viem/_types/index.js").EstimateFeesPerGasParameters<Chain | undefined, chainOverride, type> | undefined) => Promise<import("viem/_types/index.js").EstimateFeesPerGasReturnType<type>>; getFilterChanges: <filterType extends import("viem/_types/index.js").FilterType, const abi extends import("viem/_types/index.js").Abi | readonly unknown[] | undefined, eventName extends string | undefined, strict extends boolean | undefined = undefined, fromBlock extends import("viem/_types/index.js").BlockNumber | import("viem/_types/index.js").BlockTag | undefined = undefined, toBlock extends import("viem/_types/index.js").BlockNumber | import("viem/_types/index.js").BlockTag | undefined = undefined>(args: import("viem/_types/index.js").GetFilterChangesParameters<filterType, abi, eventName, strict, fromBlock, toBlock>) => Promise<import("viem/_types/index.js").GetFilterChangesReturnType<filterType, abi, eventName, strict, fromBlock, toBlock>>; getFilterLogs: <const abi extends import("viem/_types/index.js").Abi | readonly unknown[] | undefined, eventName extends string | undefined, strict extends boolean | undefined = undefined, fromBlock extends import("viem/_types/index.js").BlockNumber | import("viem/_types/index.js").BlockTag | undefined = undefined, toBlock extends import("viem/_types/index.js").BlockNumber | import("viem/_types/index.js").BlockTag | undefined = undefined>(args: import("viem/_types/index.js").GetFilterLogsParameters<abi, eventName, strict, fromBlock, toBlock>) => Promise<import("viem/_types/index.js").GetFilterLogsReturnType<abi, eventName, strict, fromBlock, toBlock>>; getGasPrice: () => Promise<import("viem/_types/index.js").GetGasPriceReturnType>; getLogs: <const abiEvent extends import("viem/_types/index.js").AbiEvent | undefined = undefined, const abiEvents extends readonly import("viem/_types/index.js").AbiEvent[] | readonly unknown[] | undefined = abiEvent extends import("viem/_types/index.js").AbiEvent ? [abiEvent] : undefined, strict extends boolean | undefined = undefined, fromBlock extends import("viem/_types/index.js").BlockNumber | import("viem/_types/index.js").BlockTag | undefined = undefined, toBlock extends import("viem/_types/index.js").BlockNumber | import("viem/_types/index.js").BlockTag | undefined = undefined>(args?: import("viem/_types/index.js").GetLogsParameters<abiEvent, abiEvents, strict, fromBlock, toBlock> | undefined) => Promise<import("viem/_types/index.js").GetLogsReturnType<abiEvent, abiEvents, strict, fromBlock, toBlock>>; getProof: (args: import("viem/_types/index.js").GetProofParameters) => Promise<import("viem/_types/index.js").GetProofReturnType>; estimateMaxPriorityFeePerGas: <chainOverride extends Chain | undefined = undefined>(args?: { chain: chainOverride | null; } | undefined) => Promise<import("viem/_types/index.js").EstimateMaxPriorityFeePerGasReturnType>; getStorageAt: (args: import("viem/_types/index.js").GetStorageAtParameters) => Promise<import("viem/_types/index.js").GetStorageAtReturnType>; getTransaction: <blockTag extends import("viem/_types/index.js").BlockTag = "latest">(args: import("viem/_types/index.js").GetTransactionParameters<blockTag>) => Promise<{ yParity?: undefined | undefined; from: import("viem/_types/index.js").Address; gas: bigint; hash: import("viem/_types/index.js").Hash; input: import("viem/_types/index.js").Hex; nonce: number; r: import("viem/_types/index.js").Hex; s: import("viem/_types/index.js").Hex; to: import("viem/_types/index.js").Address | null; typeHex: import("viem/_types/index.js").Hex | null; v: bigint; value: bigint; accessList?: undefined | undefined; authorizationList?: undefined | undefined; blobVersionedHashes?: undefined | undefined; chainId?: number | undefined; type: "legacy"; gasPrice: bigint; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: undefined | undefined; maxPriorityFeePerGas?: undefined | undefined; blockHash: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : `0x${string}` : never : never; blockNumber: (blockTag extends "pending" ? true : false) extends infer T_1 ? T_1 extends (blockTag extends "pending" ? true : false) ? T_1 extends true ? null : bigint : never : never; transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never; } | { yParity: number; from: import("viem/_types/index.js").Address; gas: bigint; hash: import("viem/_types/index.js").Hash; input: import("viem/_types/index.js").Hex; nonce: number; r: import("viem/_types/index.js").Hex; s: import("viem/_types/index.js").Hex; to: import("viem/_types/index.js").Address | null; typeHex: import("viem/_types/index.js").Hex | null; v: bigint; value: bigint; accessList: import("viem/_types/index.js").AccessList; authorizationList?: undefined | undefined; blobVersionedHashes?: undefined | undefined; chainId: number; type: "eip2930"; gasPrice: bigint; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: undefined | undefined; maxPriorityFeePerGas?: undefined | undefined; blockHash: (blockTag extends "pending" ? true : false) extends infer T_3 ? T_3 extends (blockTag extends "pending" ? true : false) ? T_3 extends true ? null : `0x${string}` : never : never; blockNumber: (blockTag extends "pending" ? true : false) extends infer T_4 ? T_4 extends (blockTag extends "pending" ? true : false) ? T_4 extends true ? null : bigint : never : never; transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_5 ? T_5 extends (blockTag extends "pending" ? true : false) ? T_5 extends true ? null : number : never : never; } | { yParity: number; from: import("viem/_types/index.js").Address; gas: bigint; hash: import("viem/_types/index.js").Hash; input: import("viem/_types/index.js").Hex; nonce: number; r: import("viem/_types/index.js").Hex; s: import("viem/_types/index.js").Hex; to: import("viem/_types/index.js").Address | null; typeHex: import("viem/_types/index.js").Hex | null; v: bigint; value: bigint; accessList: import("viem/_types/index.js").AccessList; authorizationList?: undefined | undefined; blobVersionedHashes?: undefined | undefined; chainId: number; type: "eip1559"; gasPrice?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; blockHash: (blockTag extends "pending" ? true : false) extends infer T_6 ? T_6 extends (blockTag extends "pending" ? true : false) ? T_6 extends true ? null : `0x${string}` : never : never; blockNumber: (blockTag extends "pending" ? true : false) extends infer T_7 ? T_7 extends (blockTag extends "pending" ? true : false) ? T_7 extends true ? null : bigint : never : never; transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_8 ? T_8 extends (blockTag extends "pending" ? true : false) ? T_8 extends true ? null : number : never : never; } | { yParity: number; from: import("viem/_types/index.js").Address; gas: bigint; hash: import("viem/_types/index.js").Hash; input: import("viem/_types/index.js").Hex; nonce: number; r: import("viem/_types/index.js").Hex; s: import("viem/_types/index.js").Hex; to: import("viem/_types/index.js").Address | null; typeHex: import("viem/_types/index.js").Hex | null; v: bigint; value: bigint; accessList: import("viem/_types/index.js").AccessList; authorizationList?: undefined | undefined; blobVersionedHashes: readonly import("viem/_types/index.js").Hex[]; chainId: number; type: "eip4844"; gasPrice?: undefined | undefined; maxFeePerBlobGas: bigint; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; blockHash: (blockTag extends "pending" ? true : false) extends infer T_9 ? T_9 extends (blockTag extends "pending" ? true : false) ? T_9 extends true ? null : `0x${string}` : never : never; blockNumber: (blockTag extends "pending" ? true : false) extends infer T_10 ? T_10 extends (blockTag extends "pending" ? true : false) ? T_10 extends true ? null : bigint : never : never; transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_11 ? T_11 extends (blockTag extends "pending" ? true : false) ? T_11 extends true ? null : number : never : never; } | { yParity: number; from: import("viem/_types/index.js").Address; gas: bigint; hash: import("viem/_types/index.js").Hash; input: import("viem/_types/index.js").Hex; nonce: number; r: import("viem/_types/index.js").Hex; s: import("viem/_types/index.js").Hex; to: import("viem/_types/index.js").Address | null; typeHex: import("viem/_types/index.js").Hex | null; v: bigint; value: bigint; accessList: import("viem/_types/index.js").AccessList; authorizationList: import("viem/_types/index.js").SignedAuthorizationList; blobVersionedHashes?: undefined | undefined; chainId: number; type: "eip7702"; gasPrice?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; blockHash: (blockTag extends "pending" ? true : false) extends infer T_12 ? T_12 extends (blockTag extends "pending" ? true : false) ? T_12 extends true ? null : `0x${string}` : never : never; blockNumber: (blockTag extends "pending" ? true : false) extends infer T_13 ? T_13 extends (blockTag extends "pending" ? true : false) ? T_13 extends true ? null : bigint : never : never; transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_14 ? T_14 extends (blockTag extends "pending" ? true : false) ? T_14 extends true ? null : number : never : never; }>; getTransactionConfirmations: (args: import("viem/_types/index.js").GetTransactionConfirmationsParameters<Chain | undefined>) => Promise<import("viem/_types/index.js").GetTransactionConfirmationsReturnType>; getTransactionCount: (args: import("viem/_types/index.js").GetTransactionCountParameters) => Promise<import("viem/_types/index.js").GetTransactionCountReturnType>; getTransactionReceipt: (args: import("viem/_types/index.js").GetTransactionReceiptParameters) => Promise<import("viem/_types/index.js").TransactionReceipt>; multicall: <const contracts extends readonly unknown[], allowFailure extends boolean = true>(args: import("viem/_types/index.js").MulticallParameters<contracts, allowFailure>) => Promise<import("viem/_types/index.js").MulticallReturnType<contracts, allowFailure>>; prepareTransactionRequest: <const request extends import("viem/_types/index.js").PrepareTransactionRequestRequest<Chain | undefined, chainOverride>, chainOverride extends Chain | undefined = undefined, accountOverride extends import("viem/_types/index.js").Account | import("viem/_types/index.js").Address | undefined = undefined>(args: import("viem/_types/index.js").PrepareTransactionRequestParameters<Chain | undefined, import("viem/_types/index.js").Account | undefined, chainOverride, accountOverride, request>) => Promise<import("viem/_types/index.js").UnionRequiredBy<Extract<import("viem/_types/index.js").UnionOmit<import("viem/_types/index.js").ExtractChainFormatterParameters<import("viem/_types/index.js").DeriveChain<Chain | undefined, chainOverride>, "transactionRequest", import("viem/_types/index.js").TransactionRequest>, "from"> & (import("viem/_types/index.js").DeriveChain<Chain | undefined, chainOverride> extends infer T_14 ? T_14 extends import("viem/_types/index.js").DeriveChain<Chain | undefined, chainOverride> ? T_14 extends Chain ? { chain: T_14; } : { chain?: undefined; } : never : never) & (import("viem/_types/index.js").DeriveAccount<import("viem/_types/index.js").Account | undefined, accountOverride> extends infer T_15 ? T_15 extends import("viem/_types/index.js").DeriveAccount<import("viem/_types/index.js").Account | undefined, accountOverride> ? T_15 extends import("viem/_types/index.js").Account ? { account: T_15; from: import("viem/_types/index.js").Address; } : { account?: undefined; from?: undefined; } : never : never), import("viem/_types/index.js").IsNever<((request["type"] extends string | undefined ? request["type"] : import("viem/_types/index.js").GetTransactionType<request, (request extends { accessList?: undefined | undefined; authorizationList?: undefined | undefined; blobs?: undefined | undefined; blobVersionedHashes?: undefined | undefined; gasPrice?: bigint | undefined; sidecars?: undefined | undefined; } & import("viem/_types/index.js").FeeValuesLegacy ? "legacy" : never) | (request extends { accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: undefined | undefined; blobs?: undefined | undefined; blobVersionedHashes?: undefined | undefined; gasPrice?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: bigint | undefined; maxPriorityFeePerGas?: bigint | undefined; sidecars?: undefined | undefined; } & (import("viem/_types/index.js").OneOf<{ maxFeePerGas: import("viem/_types/index.js").FeeValuesEIP1559["maxFeePerGas"]; } | { maxPriorityFeePerGas: import("viem/_types/index.js").FeeValuesEIP1559["maxPriorityFeePerGas"]; }, import("viem/_types/index.js").FeeValuesEIP1559> & { accessList?: import("viem/_types/index.js").TransactionSerializableEIP2930["accessList"] | undefined; }) ? "eip1559" : never) | (request extends { accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: undefined | undefined; blobs?: undefined | undefined; blobVersionedHashes?: undefined | undefined; gasPrice?: bigint | undefined; sidecars?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: undefined | undefined; maxPriorityFeePerGas?: undefined | undefined; } & { accessList: import("viem/_types/index.js").TransactionSerializableEIP2930["accessList"]; } ? "eip2930" : never) | (request extends ({ accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: undefined | undefined; blobs?: readonly `0x${string}`[] | readonly import("viem/_types/index.js").ByteArray[] | undefined; blobVersionedHashes?: readonly `0x${string}`[] | undefined; maxFeePerBlobGas?: bigint | undefined; maxFeePerGas?: bigint | undefined; maxPriorityFeePerGas?: bigint | undefined; sidecars?: false | readonly import("viem/_types/index.js").BlobSidecar<`0x${string}`>[] | undefined; } | { accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: undefined | undefined; blobs?: readonly `0x${string}`[] | readonly import("viem/_types/index.js").ByteArray[] | undefined; blobVersionedHashes?: readonly `0x${string}`[] | undefined; maxFeePerBlobGas?: bigint | undefined; maxFeePerGas?: bigint | undefined; maxPriorityFeePerGas?: bigint | undefined; sidecars?: false | readonly import("viem/_types/index.js").BlobSidecar<`0x${string}`>[] | undefined; }) & (import("viem/_types/index.js").ExactPartial<import("viem/_types/index.js").FeeValuesEIP4844> & import("viem/_types/index.js").OneOf<{ blobs: import("viem/_types/index.js").TransactionSerializableEIP4844["blobs"]; } | { blobVersionedHashes: import("viem/_types/index.js").TransactionSerializableEIP4844["blobVersionedHashes"]; } | { sidecars: import("viem/_types/index.js").TransactionSerializableEIP4844["sidecars"]; }, import("viem/_types/index.js").TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({ accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: import("viem/_types/index.js").SignedAuthorizationList | undefined; blobs?: undefined | undefined; blobVersionedHashes?: undefined | undefined; gasPrice?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: bigint | undefined; maxPriorityFeePerGas?: bigint | undefined; sidecars?: undefined | undefined; } | { accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: import("viem/_types/index.js").SignedAuthorizationList | undefined; blobs?: undefined | undefined; blobVersionedHashes?: undefined | undefined; gasPrice?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: bigint | undefined; maxPriorityFeePerGas?: bigint | undefined; sidecars?: undefined | undefined; }) & { authorizationList: import("viem/_types/index.js").TransactionSerializableEIP7702["authorizationList"]; } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : import("viem/_types/index.js").GetTransactionType<request, (request extends { accessList?: undefined | undefined; authorizationList?: undefined | undefined; blobs?: undefined | undefined; blobVersionedHashes?: undefined | undefined; gasPrice?: bigint | undefined; sidecars?: undefined | undefined; } & import("viem/_types/index.js").FeeValuesLegacy ? "legacy" : never) | (request extends { accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: undefined | undefined; blobs?: undefined | undefined; blobVersionedHashes?: undefined | undefined; gasPrice?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: bigint | undefined; maxPriorityFeePerGas?: bigint | undefined; sidecars?: undefined | undefined; } & (import("viem/_types/index.js").OneOf<{ maxFeePerGas: import("viem/_types/index.js").FeeValuesEIP1559["maxFeePerGas"]; } | { maxPriorityFeePerGas: import("viem/_types/index.js").FeeValuesEIP1559["maxPriorityFeePerGas"]; }, import("viem/_types/index.js").FeeValuesEIP1559> & { accessList?: import("viem/_types/index.js").TransactionSerializableEIP2930["accessList"] | undefined; }) ? "eip1559" : never) | (request extends { accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: undefined | undefined; blobs?: undefined | undefined; blobVersionedHashes?: undefined | undefined; gasPrice?: bigint | undefined; sidecars?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: undefined | undefined; maxPriorityFeePerGas?: undefined | undefined; } & { accessList: import("viem/_types/index.js").TransactionSerializableEIP2930["accessList"]; } ? "eip2930" : never) | (request extends ({ accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: undefined | undefined; blobs?: readonly `0x${string}`[] | readonly import("viem/_types/index.js").ByteArray[] | undefined; blobVersionedHashes?: readonly `0x${string}`[] | undefined; maxFeePerBlobGas?: bigint | undefined; maxFeePerGas?: bigint | undefined; maxPriorityFeePerGas?: bigint | undefined; sidecars?: false | readonly import("viem/_types/index.js").BlobSidecar<`0x${string}`>[] | undefined; } | { accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: undefined | undefined; blobs?: readonly `0x${string}`[] | readonly import("viem/_types/index.js").ByteArray[] | undefined; blobVersionedHashes?: readonly `0x${string}`[] | undefined; maxFeePerBlobGas?: bigint | undefined; maxFeePerGas?: bigint | undefined; maxPriorityFeePerGas?: bigint | undefined; sidecars?: false | readonly import("viem/_types/index.js").BlobSidecar<`0x${string}`>[] | undefined; }) & (import("viem/_types/index.js").ExactPartial<import("viem/_types/index.js").FeeValuesEIP4844> & import("viem/_types/index.js").OneOf<{ blobs: import("viem/_types/index.js").TransactionSerializableEIP4844["blobs"]; } | { blobVersionedHashes: import("viem/_types/index.js").TransactionSerializableEIP4844["blobVersionedHashes"]; } | { sidecars: import("viem/_types/index.js").TransactionSerializableEIP4844["sidecars"]; }, import("viem/_types/index.js").TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({ accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: import("viem/_types/index.js").SignedAuthorizationList | undefined; blobs?: undefined | undefined; blobVersionedHashes?: undefined | undefined; gasPrice?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: bigint | undefined; maxPriorityFeePerGas?: bigint | undefined; sidecars?: undefined | undefined; } | { accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: import("viem/_types/index.js").SignedAuthorizationList | undefined; blobs?: undefined | undefined; blobVersionedHashes?: undefined | undefined; gasPrice?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: bigint | undefined; maxPriorityFeePerGas?: bigint | undefined; sidecars?: undefined | undefined; }) & { authorizationList: import("viem/_types/index.js").TransactionSerializableEIP7702["authorizationList"]; } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)>) extends infer T_16 ? T_16 extends (request["type"] extends string | undefined ? request["type"] : import("viem/_types/index.js").GetTransactionType<request, (request extends { accessList?: undefined | undefined; authorizationList?: undefined | undefined; blobs?: undefined | undefined; blobVersionedHashes?: undefined | undefined; gasPrice?: bigint | undefined; sidecars?: undefined | undefined; } & import("viem/_types/index.js").FeeValuesLegacy ? "legacy" : never) | (request extends { accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: undefined | undefined; blobs?: undefined | undefined; blobVersionedHashes?: undefined | undefined; gasPrice?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: bigint | undefined; maxPriorityFeePerGas?: bigint | undefined; sidecars?: undefined | undefined; } & (import("viem/_types/index.js").OneOf<{ maxFeePerGas: import("viem/_types/index.js").FeeValuesEIP1559["maxFeePerGas"]; } | { maxPriorityFeePerGas: import("viem/_types/index.js").FeeValuesEIP1559["maxPriorityFeePerGas"]; }, import("viem/_types/index.js").FeeValuesEIP1559> & { accessList?: import("viem/_types/index.js").TransactionSerializableEIP2930["accessList"] | undefined; }) ? "eip1559" : never) | (request extends { accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: undefined | undefined; blobs?: undefined | undefined; blobVersionedHashes?: undefined | undefined; gasPrice?: bigint | undefined; sidecars?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: undefined | undefined; maxPriorityFeePerGas?: undefined | undefined; } & { accessList: import("viem/_types/index.js").TransactionSerializableEIP2930["accessList"]; } ? "eip2930" : never) | (request extends ({ accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: undefined | undefined; blobs?: readonly `0x${string}`[] | readonly import("viem/_types/index.js").ByteArray[] | undefined; blobVersionedHashes?: readonly `0x${string}`[] | undefined; maxFeePerBlobGas?: bigint | undefined; maxFeePerGas?: bigint | undefined; maxPriorityFeePerGas?: bigint | undefined; sidecars?: false | readonly import("viem/_types/index.js").BlobSidecar<`0x${string}`>[] | undefined; } | { accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: undefined | undefined; blobs?: readonly `0x${string}`[] | readonly import("viem/_types/index.js").ByteArray[] | undefined; blobVersionedHashes?: readonly `0x${string}`[] | undefined; maxFeePerBlobGas?: bigint | undefined; maxFeePerGas?: bigint | undefined; maxPriorityFeePerGas?: bigint | undefined; sidecars?: false | readonly import("viem/_types/index.js").BlobSidecar<`0x${string}`>[] | undefined; }) & (import("viem/_types/index.js").ExactPartial<import("viem/_types/index.js").FeeValuesEIP4844> & import("viem/_types/index.js").OneOf<{ blobs: import("viem/_types/index.js").TransactionSerializableEIP4844["blobs"]; } | { blobVersionedHashes: import("viem/_types/index.js").TransactionSerializableEIP4844["blobVersionedHashes"]; } | { sidecars: import("viem/_types/index.js").TransactionSerializableEIP4844["sidecars"]; }, import("viem/_types/index.js").TransactionSerializableEIP4844>) ? "eip4844" : never) | (request extends ({ accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: import("viem/_types/index.js").SignedAuthorizationList | undefined; blobs?: undefined | undefined; blobVersionedHashes?: undefined | undefined; gasPrice?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: bigint | undefined; maxPriorityFeePerGas?: bigint | undefined; sidecars?: undefined | undefined; } | { accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: import("viem/_types/index.js").SignedAuthorizationList | undefined; blobs?: undefined | undefined; blobVersionedHashes?: undefined | undefined; gasPrice?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: bigint | undefined; maxPriorityFeePerGas?: bigint | undefined; sidecars?: undefined | undefined; }) & { authorizationList: import("viem/_types/index.js").TransactionSerializableEIP7702["authorizationList"]; } ? "eip7702" : never) | (request["type"] extends string | undefined ? Extract<request["type"], string> : never)> extends "legacy" ? unknown : import("viem/_types/index.js").GetTransactionType<request, (request extends { accessList?: undefined | undefined; authorizationList?: undefined | undefined; blobs?: undefined | undefined; blobVersionedHashes?: undefined | undefined; gasPrice?: bigint | undefined; sidecars?: undefined | undefined; } & import("viem/_types/index.js").FeeValuesLegacy ? "legacy" : never) | (request extends { accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: undefined | undefined; blobs?: undefined | undefined; blobVersionedHashes?: undefined | undefined; gasPrice?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: bigint | undefined; maxPriorityFeePerGas?: bigint | undefined; sidecars?: undefined | undefined; } & (import("viem/_types/index.js").OneOf<{ maxFeePerGas: import("viem/_types/index.js").FeeValuesEIP1559["maxFeePerGas"]; } | { maxPriorityFeePerGas: import("viem/_types/index.js").FeeValuesEIP1559["maxPriorityFeePerGas"]; }, import("viem/_types/index.js").FeeValuesEIP1559> & { accessList?: import("viem/_types/index.js").TransactionSerializableEIP2930["accessList"] | undefined; }) ? "eip1559" : never) | (request extends { accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: undefined | undefined; blobs?: undefined | undefined; blobVersionedHashes?: undefined | undefined; gasPrice?: bigint | undefined; sidecars?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: undefined | undefined; maxPriorityFeePerGas?: undefined | undefined; } & { accessList: import("viem/_types/index.js").TransactionSerializableEIP2930["accessList"]; } ? "eip2930" : never) | (request extends ({ accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: undefined | undefined; blobs?: readonly `0x${string}`[] | readonly import("viem/_types/index.js").ByteArray[] | undefined; blobVersionedHashes?: readonly `0x${string}`[] | undefined; maxFeePerBlobGas?: bigint | undefined; maxFeePerGas?: bigint | undefined; maxPriorityFeePerGas?: bigint | undefined; sidecars?: false | readonly import("viem/_types/index.js").BlobSidecar<`0x${string}`>[] | undefined; } | { accessList?: import("viem/_types/index.js").AccessList | undefined; authorizationList?: undefined | undefined; blobs?: readonly `0x${string}`[] | readonly import("viem/_types/index.js").ByteArray[] | undefined; blobVersionedHashes?: readonly `0x${string}`[] | undefined; maxFeePerBlobGas?: bigint | undef