Get Yield Reward Claim
Changed onRetrieve a yield reward claim transaction by its ID.
Request
- Base URLhttps://api.privy.io
- URLhttps://api.privy.io/v1/ethereum_yield_claim/{id}
- AuthHTTP basic
Path parameters
The yield claim transaction ID.
Headers
ID of your Privy app.
Response
Yield reward claim retrieved successfully.
Example response
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"caip2": "eip155:8453",
"status": "pending",
"rewards": [
{
"token_address": "0x1234567890abcdef1234567890abcdef12345678",
"token_symbol": "MORPHO",
"amount": "115631364898103632676"
}
],
"created_at": 1631573050000,
"updated_at": 1631573050000
}Changes
- breaking
the
response's property type changed fromstringto no type for status - info
added
subschema #2to theresponse propertyallOflist for the response status - info
removed the
broadcastedenum value from theresponse property for the response status - info
removed the
confirmedenum value from theresponse property for the response status - info
removed the
execution_revertedenum value from theresponse property for the response status - info
removed the
failedenum value from theresponse property for the response status - info
removed the
finalizedenum value from theresponse property for the response status - info
removed the
pendingenum value from theresponse property for the response status - info
removed the
provider_errorenum value from theresponse property for the response status - info
removed the
replacedenum value from theresponse property for the response status
- breaking