UNPKG

@etherspot/remote-signer

Version:

Etherspot Permissioned Signer SDK - signs the UserOp with SessionKey and sends it to the Bundler

8 lines (5 loc) 543 B
import { PublicClient } from 'viem'; import { SessionKeyOnChainData } from '../types/session-key-types.js'; declare const getOnchainSessionKeyData: (etherspotWalletAddress: string, publicClient: PublicClient, sesssionKeyValidatorAddress: string, sessionKey: string) => Promise<SessionKeyOnChainData>; declare const isSessionKeyLiveOnChain: (etherspotWalletAddress: string, publicClient: PublicClient, sesssionKeyValidatorAddress: string, sessionKey: string) => Promise<boolean>; export { getOnchainSessionKeyData, isSessionKeyLiveOnChain };