Skip to main content
POST
/
v1
/
wallets
/
{wallet_id}
/
ethereum_yield_claim
Claim Yield Rewards
curl --request POST \
  --url https://api.privy.io/v1/wallets/{wallet_id}/ethereum_yield_claim \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --header 'privy-app-id: <privy-app-id>' \
  --data '
{
  "caip2": "eip155:8453"
}
'
{
  "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
}

Documentation Index

Fetch the complete documentation index at: https://docs.privy.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Basic Auth header with your app ID as the username and your app secret as the password.

Headers

privy-app-id
string
required

ID of your Privy app.

privy-authorization-signature
string

Request authorization signature. If multiple signatures are required, they should be comma separated.

privy-request-expiry
string

Request expiry. Value is a Unix timestamp in milliseconds representing the deadline by which the request must be processed.

privy-idempotency-key
string

Idempotency keys ensure API requests are executed only once within a 24-hour window.

Path Parameters

wallet_id
string
required

ID of the wallet.

Body

application/json

Input for claiming incentive rewards from vault participation.

caip2
string
required

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

Pattern: ^eip155:\d+$

Response

200 - application/json

Claim transaction submitted.

Response from a yield reward claim operation.

id
string
required

Privy transaction record ID for the claim operation.

caip2
string
required

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

Pattern: ^eip155:\d+$
status
enum<string>
required

The current status of the claim transaction.

Available options:
broadcasted,
confirmed,
execution_reverted,
failed,
replaced,
finalized,
provider_error,
pending
rewards
EthereumYieldClaimReward · object[]
required

List of reward tokens claimed.

created_at
number
required

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

updated_at
number
required

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