SubscriptionList

Display and manage subscriptions

SubscriptionList

Display and manage subscriptions

Props

vendorAddressstring

Vendor wallet address

onPaymentExecuted(subscriptionId: string, txHash: string) => void

Callback 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}