Get Yield Data For User
API function to get the data for a participant across all cycles he took part of.
Endpoint Requirements
GET
<api>/yield-stats?network=<network>&address=<address>
Parameters
Name
Value
Required
Description
network
Network (devnet/testnet/mainnet
)
true
The network to fetch data for.
address
Stacks Address (ST2TFVBMRPS5SSNP98DQKQ5JNB2B6NZM91C4K3P7B
)
true
The address to fetch data for.
Headers
Name
Value
Content-Type
"application/json"
ngrok-skip-browser-warning
"1"
Example Request
Example Response
Cycle-2 is in progress so its data differs
Last updated