Example Call

Here is an example of a curl command for uploading device ownership data. In your API requests, the publisher and owner fields are required.

  • publisher: This should match the device used in the /upload-device-metrics API.

  • owner: This should be the wallet address of the device owner where they receive rewards.

Example request:

curl -X POST 'https://api.depinscan.io/api/project/78a4c60c-**/ownership' \
-H 'Content-Type: application/json' \
-H 'Authorization: mc.' \
-d '{
"publisher": "device_1",
"owner": "0x1234567890abcdef1234567890abcdef12345678"
}'

Last updated