function getAlchemyPaymasterAddress(chain, version): `0x${string}`;Defined in: account-kit/infra/src/gas-manager.ts:81
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 |
|---|---|---|
| The chain for which the paymaster address is required | |
| keyof | The version of the entry point |
`0x${string}`
The Alchemy paymaster address corresponding to the specified chain