const getAlchemyPaymasterAddress: (chain, version) => Address;Defined in: account-kit/infra/dist/types/gas-manager.d.ts:26
Retrieves the Alchemy paymaster address for the given chain. Returns different addresses based on the chain ID.
import { sepolia, getAlchemyPaymasterAddress } from "@account-kit/infra";
const paymasterAddress = getAlchemyPaymasterAddress(sepolia, "0.6.0");| Parameter | Type | Description |
|---|---|---|
chain | Chain | The chain for which the paymaster address is required |
version | EntryPointVersion | The version of the entry point |
The Alchemy paymaster address corresponding to the specified chain