@reservoir0x/relay-kit-ui
Version:
Relay is the Fastest and Cheapest Way to Bridge and Transact Across Chains.
8 lines • 949 B
TypeScript
import { type ChainVM, type RelayChain } from '@reservoir0x/relay-sdk';
import type { LinkedWallet } from '../types/index.js';
import type { RelayKitProviderProps } from '../providers/RelayKitProvider.js';
export declare const isValidAddress: (vmType?: ChainVM, address?: string, chainId?: number, connector?: string, connectorKeyOverrides?: RelayKitProviderProps['options']['vmConnectorKeyOverrides']) => boolean;
export declare const addressWithFallback: (vmType?: ChainVM, address?: string, chainId?: number, connector?: string, connectorKeyOverrides?: Parameters<typeof isValidAddress>['4']) => string;
export declare function findSupportedWallet(chain: RelayChain, currentAddress: string | undefined, linkedWallets: LinkedWallet[], connectorKeyOverrides?: Parameters<typeof isValidAddress>['4']): string | undefined;
export declare function addressesEqual(vmType: ChainVM, a?: string, b?: string): boolean;
//# sourceMappingURL=address.d.ts.map