Skip to main content
POST
Enter a yield

Authorizations

x-api-key
string
header
required

Body

application/json
yieldId
string
required

Yield ID to perform the action on

Example:

"ethereum-eth-lido-staking"

address
string
required

User wallet address

Example:

"0x1234..."

arguments
object

Arguments for the action

Response

Returns action with array of transactions to execute

id
string
required

Unique action identifier

Example:

"action_123abc"

intent
enum<string>
required

High-level action intent

Available options:
enter,
manage,
exit
Example:

"manage"

type
enum<string>
required

Specific action type

Available options:
STAKE,
UNSTAKE,
CLAIM_REWARDS,
RESTAKE_REWARDS,
WITHDRAW,
WITHDRAW_ALL,
RESTAKE,
CLAIM_UNSTAKED,
UNLOCK_LOCKED,
STAKE_LOCKED,
VOTE,
REVOKE,
VOTE_LOCKED,
REVOTE,
REBOND,
MIGRATE,
VERIFY_WITHDRAW_CREDENTIALS,
DELEGATE
Example:

"CLAIM_REWARDS"

yieldId
string
required

Yield ID this action belongs to

Example:

"ethereum-eth-lido-staking"

address
string
required

User wallet address

Example:

"0x1234..."

amount
string | null
required

Amount involved in the action

Example:

"1000000000000000000"

amountRaw
string | null
required

Raw wei amount (full precision)

Example:

"1000000000000000000"

amountUsd
string | null
required

USD value of the amount

Example:

"1500.50"

transactions
object[]
required

Array of transactions for this action

executionPattern
enum<string>
required

Transaction execution pattern - synchronous (submit one by one, wait for each), asynchronous (submit all at once), or batch (single transaction with multiple operations)

Available options:
synchronous,
asynchronous,
batch
Example:

"synchronous"

rawArguments
object | null
required

Raw arguments exactly as submitted by the user for this action

createdAt
string<date-time>
required

When the action was created

completedAt
string<date-time> | null
required

When the action was completed

status
enum<string>
required

Current status of the action

Available options:
CANCELED,
CREATED,
WAITING_FOR_NEXT,
PROCESSING,
FAILED,
SUCCESS,
STALE