cURL
curl --request GET \ --url https://api.op.xyz/v1/community/{id}/badge/{badgeId}/reward/{rewardId} \ --header 'X-Api-Key: <api-key>'
{ "id": "<string>", "image": "<string>", "provider": "Vault", "providerImage": "<string>", "name": "<string>", "type": "native", "status": "open", "amount": [ 123 ], "description": "<string>", "endDate": "2023-11-07T05:31:56Z", "maxSpend": 123, "vaultId": "<string>", "contract": "<string>", "chainId": "<string>", "transactionHash": "<string>", "deletedAt": "2023-11-07T05:31:56Z", "sentAt": "2023-11-07T05:31:56Z" }
Community ID
Badge ID
Reward ID
Badge reward retrieved successfully
Vault
native
erc20
erc721
erc1155
points
open
pending
sent