Type Alias CustomSnapsMethods
CustomSnapsMethods: SnapMethods & { eth_accounts: [never, string[]]; eth_chainId: [never, string]; eth_requestAccounts: [never, string[]]; wallet_addEthereumChain: [[AddEthereumChainParameter], null]; wallet_getPermissions: [never, WalletPermission[]]; wallet_getSnaps: [GetSnapsParams, GetSnapsResult]; wallet_requestPermissions: [ [{ eth_accounts: Record<string, any> }], WalletPermission[], ]; wallet_revokePermissions: [ [ | { eth_accounts: Record<string, any> } | { wallet_snap: Record<string, any> }, ], null, ]; wallet_switchEthereumChain: [[{ chainId: string }], null];}
viem types https://github.com/wevm/viem/blob/main/src/types/eip1193.ts#L1519