Skip to main content
Home
This release is 4 versions behind 2.42.1 — the latest version of @wevm/viem. Jump to latest

@wevm/viem@2.40.4
Built and signed on GitHub Actions

TypeScript Interface for Ethereum

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
41%
Published
2 weeks ago (2.40.4)
type alias BundlerClientConfig

Type Parameters

transport extends Transport = Transport
chain extends Chain | undefined = Chain | undefined
account extends SmartAccount | undefined = SmartAccount | undefined
client extends Client | undefined = Client | undefined
rpcSchema extends RpcSchema | undefined = undefined

Definition

Prettify<Pick<ClientConfig<transport, chain, account, rpcSchema>,
"account"
| "cacheTime"
| "chain"
| "key"
| "name"
| "pollingInterval"
| "rpcSchema"
| "transport"
>> & { client?:
client
| Client
| undefined
; paymaster?:
true
| { getPaymasterData?: PaymasterActions["getPaymasterData"] | undefined; getPaymasterStubData?: PaymasterActions["getPaymasterStubData"] | undefined; }
| undefined
; paymasterContext?: unknown; userOperation?: { estimateFeesPerGas?: ((parameters: { account: account | SmartAccount; bundlerClient: Client; userOperation: UserOperationRequest; }) => Promise<EstimateFeesPerGasReturnType<"eip1559">>) | undefined; } | undefined; }

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@wevm/viem

Import symbol

import { type BundlerClientConfig } from "@wevm/viem/accounts-abstraction";
or

Import directly with a jsr specifier

import { type BundlerClientConfig } from "jsr:@wevm/viem/accounts-abstraction";

Add Package

pnpm i jsr:@wevm/viem
or (using pnpm 10.8 or older)
pnpm dlx jsr add @wevm/viem

Import symbol

import { type BundlerClientConfig } from "@wevm/viem/accounts-abstraction";

Add Package

yarn add jsr:@wevm/viem
or (using Yarn 4.8 or older)
yarn dlx jsr add @wevm/viem

Import symbol

import { type BundlerClientConfig } from "@wevm/viem/accounts-abstraction";

Add Package

vlt install jsr:@wevm/viem

Import symbol

import { type BundlerClientConfig } from "@wevm/viem/accounts-abstraction";

Add Package

npx jsr add @wevm/viem

Import symbol

import { type BundlerClientConfig } from "@wevm/viem/accounts-abstraction";

Add Package

bunx jsr add @wevm/viem

Import symbol

import { type BundlerClientConfig } from "@wevm/viem/accounts-abstraction";