@reown/appkit-pay
npm package.openPay
.
openPay(amount, addressRecipient, options: PaymentOptions): Promise<void>
getExchanges(page?: number): Promise<{ exchanges: Exchange[], total: number }>
getPayResult(): PayResult | null
Returns the result of the last successful payment.
getPayError(): AppKitPayErrorMessage | null
Returns the error object if the last payment failed.
getIsPaymentInProgress(): boolean