Building metic via API
Go to: https://wocfr.vercel.app/community/metric-builder?view=customarrow-up-right
First Dataset — PWR Committers (Find JSON URL)
On the Resources section of https://beta-api.wavesonchain.com/ you can also build custom metrics using your own API
Copy the Get All Committers link
Append it to the base URL: https://beta-api.wavesonchain.com/v1/
Final URL: https://beta-api.wavesonchain.com/v1/on-chain/power/committersarrow-up-right
Add this link into the WOC Customizer by pressing Add URL.
Second Dataset — PWR Stakers (Find JSON URL)
Use the PWR Stakers endpoint on the WOC API: https://beta-api.wavesonchain.com/v1/on-chain/power/stakersarrow-up-right
Add this JSON URL into the Customizer as well. Then click: Fetch JSON from URLs and Analyze JSON
Select Metric Type
Choose Table as the metric type.
Build the Table
Drag the commit list array and the stakers array into the Drop keys area.
Column Settings — Hide Column
For the source with address 3PEwRcYNAUtoFvKpBhKoiwajnZfdoDR6h4h:
Deactivate Show column to hide the column.
After entering the names of all columns:
Click Publish to Community
Enter the metric title and descriptions