Documentation
SubscriptionList
Display and manage subscriptions
SubscriptionList
Display and manage subscriptions
Props
vendorAddressstringVendor wallet address
onPaymentExecuted(subscriptionId: string, txHash: string) => voidCallback when payment is executed
Example
1import { SubscriptionList } from 'pyhard-vendor-sdk';
2
3function VendorDashboard() {
4 return (
5 <SubscriptionList
6 vendorAddress="0x..."
7 onPaymentExecuted={(id, hash) => {
8 console.log('Payment executed:', id, hash);
9 }}
10 />
11 );
12}