@alchemy/aa-core
Version:
viem based SDK that enables interactions with ERC-4337 Smart Accounts. ABIs are based off the definitions generated in @account-abstraction/contracts
7 lines (6 loc) • 368 B
TypeScript
import type { Chain } from "viem/chains";
import * as chains from "viem/chains";
export declare const ChainsById: Map<number, chains.Chain>;
export declare const convertChainIdToCoinType: (chainId: number) => number;
export declare const convertCoinTypeToChainId: (coinType: number) => number;
export declare const convertCoinTypeToChain: (coinType: number) => Chain;