@lunch-money/ethereum-to-lunch-money
Version:
A wrapper around Ethereum APIs for enabling Lunch Money to gather information about a user's wallet.
13 lines (12 loc) • 780 B
TypeScript
import type { LunchMoneyCryptoConnection, LunchMoneyCryptoConnectionContext, LunchMoneyCryptoConnectionConfig } from './types.js';
import { EthereumWalletClient } from './client.js';
export { createEthereumWalletClient } from './client.js';
interface LunchMoneyEthereumWalletConnectionConfig extends LunchMoneyCryptoConnectionConfig {
/** The unique ID of the user's wallet address on the blockchain. */
walletAddress: string;
negligibleBalanceThreshold?: number;
}
interface LunchMoneyEthereumWalletConnectionContext extends LunchMoneyCryptoConnectionContext {
client: EthereumWalletClient;
}
export declare const LunchMoneyEthereumWalletConnection: LunchMoneyCryptoConnection<LunchMoneyEthereumWalletConnectionConfig, LunchMoneyEthereumWalletConnectionContext>;