UNPKG

@reown/appkit-pay

Version:
13 lines (12 loc) 783 B
import { type CaipNetwork, type ChainNamespace } from '@reown/appkit-common'; import type { PaymentOptions } from '../types/options.js'; interface EnsureNetworkOptions { paymentAssetNetwork: string; activeCaipNetwork: CaipNetwork; approvedCaipNetworkIds: string[] | undefined; requestedCaipNetworks: CaipNetwork[] | undefined; } export declare function ensureCorrectNetwork(options: EnsureNetworkOptions): Promise<void>; export declare function processEvmNativePayment(paymentAsset: PaymentOptions['paymentAsset'], chainNamespace: ChainNamespace, fromAddress: `0x${string}`): Promise<string | undefined>; export declare function processEvmErc20Payment(paymentAsset: PaymentOptions['paymentAsset'], fromAddress: `0x${string}`): Promise<string | undefined>; export {};