Yield

Get Yield Reward Claim

Retrieve a yield reward claim transaction by its ID.

get/v1/ethereum_yield_claim/{id}

Path parameters

idstring required

The yield claim transaction ID.

Headers

privy-app-idstring required

ID of your Privy app.

Response

Yield reward claim retrieved successfully.

caip2string required

An EVM CAIP-2 chain identifier (e.g., "eip155:8453" for Base).

created_atnumber required

Unix timestamp of when the claim was created, in milliseconds.

idstring required

Privy transaction record ID for the claim operation.

status'broadcasted' | 'confirmed' | 'execution_reverted' | 'failed' | 'replaced' | 'finalized' | 'provider_error' | 'pending' required

The current status of the claim transaction.

updated_atnumber required

Unix timestamp of when the claim was last updated, in milliseconds.

Example response

{
  "caip2": "eip155:8453",
  "created_at": 1631573050000,
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "rewards": [
    {
      "amount": "115631364898103632676",
      "token_address": "0x1234567890abcdef1234567890abcdef12345678",
      "token_symbol": "MORPHO"
    }
  ],
  "status": "pending",
  "updated_at": 1631573050000
}

Changes

Changed in 1 of the 46 revisions of this API.19

  • c10a42ebeddb19See the full diff
    • the status response's property type/format changed from string/ to / for status 200

      response-property-type-changed

    • added BlockchainTransactionStatus subschema #2 to the status response property allOf list for the response status 200

      response-property-all-of-added

    • removed the broadcasted enum value from the status response property for the response status 200

      response-property-enum-value-removed

    • removed the confirmed enum value from the status response property for the response status 200

      response-property-enum-value-removed

    • removed the execution_reverted enum value from the status response property for the response status 200

      response-property-enum-value-removed

    • removed the failed enum value from the status response property for the response status 200

      response-property-enum-value-removed

    • removed the finalized enum value from the status response property for the response status 200

      response-property-enum-value-removed

    • removed the pending enum value from the status response property for the response status 200

      response-property-enum-value-removed

    • removed the provider_error enum value from the status response property for the response status 200

      response-property-enum-value-removed

    • removed the replaced enum value from the status response property for the response status 200

      response-property-enum-value-removed