Follow revenue
This query returns the amounts earned on the requested profile for all follows. It will group them up by currency.
Request
Invocation
const result = await client.revenue.fromFollow({
for: "PROFILE_ID",
});
query FollowRevenues($request: FollowRevenueRequest!) {
result: followRevenues(request: $request) {
revenues {
...RevenueAggregate
}
}
}
Response
Full GraphQL API Example
Updated 2 days ago