rewards.v1.RewardCampaignService
ListMyRewardAwards
List published awards for the authenticated root account, newest first.
Request
curl --request POST \ \
--url 'https://api.testnet.polyester.com/rewards.v1.RewardCampaignService/ListMyRewardAwards' \
--header 'Content-Type: application/json' \
--header 'Connect-Protocol-Version: 1' \
--data '{
"limit": 100,
"pageToken": "eyJvZmZzZXQiOjEwMH0"
}'Responses
{
"awards": [
{
"amountBaseUnits": "123.45",
"assetId": 100,
"awardId": "value",
"campaignId": "value",
"campaignName": "value",
"destinationAddress": "0x3333333333333333333333333333333333333333",
"fulfillmentMethod": "EXTERNAL_TESTNET",
"fulfillmentRevision": "1",
"fulfillmentState": "AWAITING_DESTINATION",
"network": "value",
"publishedAt": "2025-01-01T00:00:00Z",
"transactionId": "value"
}
],
"awardsMayChange": false,
"nextPageToken": "eyJvZmZzZXQiOjIwMH0"
}rewards.v1.ListMyRewardAwardsRequestrewards.v1.ListMyRewardAwardsResponseMaximum awards to return. Zero uses 50; maximum 100.
Opaque exclusive continuation token bound to the authenticated root account.
Stable opaque award identifier.
Stable campaign identifier.
Campaign display name frozen at publication.
Canonical asset identifier.
Exact integer amount in the asset's smallest base unit.
Selected delivery method.
Current delivery state.
Publication time.
Campaign payout network. Interpret destination_address in this network.
Current fulfillment revision for optimistic concurrency.
Recipient payout destination once submitted. Empty until provided.
External transaction identifier once staff records delivery. Empty until delivered.
Opaque continuation token. Empty when no more results exist.
True while a campaign can still publish new awards, or while one of this account's awards is awaiting a destination, ready for payout, or failed and may be retried. When false, repeated polling cannot return new awards or award changes until a new campaign is created; check again on the next page load or focus.
| Key | HTTP status | Connect code | Error | When |
|---|---|---|---|---|
| unauthenticated | 401 | unauthenticated | Unauthenticated | Authentication required. |
| permission-denied | 403 | permission_denied | Permission Denied | Permission denied. |
| invalid-argument | 400 | invalid_argument | Invalid Argument | Invalid argument. |
| not-found | 404 | not_found | Not Found | Not found. |
| unavailable | 503 | unavailable | Unavailable | Service unavailable. |