Fetch a revenue from all follow actions.
Request object for the query
Aggregated revenue
const result = await client.revenue.fromFollow({
for: '0x123',
});
Fetch a profile's revenue from a single publication.
Request object for the query
Publication revenue
const result = await client.revenue.fromPublication({
for: '0x123-0x456',
});
Fetch a profile's revenue for all their publications.
Request object for the query
PublicationRevenueFragment wrapped in PaginatedResult
const result = await client.revenue.fromPublications({
for: '0x123',
});
Fetch a profile or publications revenue.