> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yield.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Enter a yield

> Create an enter action and return the ordered unsigned transactions that open a position.

Returns `201` with an `ActionDto` (`intent: "enter"`). Nothing is signed or broadcast: sign each entry in `transactions[]` in `stepIndex` order, then submit it with [Submit a transaction](https://docs.yield.xyz/api-reference/TransactionsController_submitTransaction.md) or [Submit a transaction hash](https://docs.yield.xyz/api-reference/TransactionsController_submitTransactionHash.md). Use [Simulate an enter](https://docs.yield.xyz/api-reference/ActionsController_simulateEnter.md) to estimate gas first.

| Body field | Notes |
| - | - |
| `yieldId` | Required. Must be enabled for your project |
| `address` | Required. The wallet that will sign |
| `arguments` | Optional in the schema, but most yields require fields. Read the per-yield schema from `mechanics.arguments.enter` on [Get a yield](https://docs.yield.xyz/api-reference/YieldsController_getYield.md) |

`arguments.amount` is a human-readable decimal string (`"1.5"` for 1.5 USDC), not the smallest unit; `amountRaw` is the smallest-unit alternative and is mutually exclusive with `amount`. Validator yields take `validatorAddress` (or `validatorAddresses`); pick one from [List validators](https://docs.yield.xyz/api-reference/YieldsController_getYieldValidators.md).

```json theme={null}
{
  "yieldId": "ethereum-eth-lido-staking",
  "address": "0xYOUR_WALLET_ADDRESS",
  "arguments": { "amount": "0.01" }
}
```

Errors: `400` for invalid arguments or a yield that is unknown or not enabled for your project, `403` for a geo-blocked request, and `412` when the yield is closed for new deposits (`status.enter` is `false`). See [Errors and retries](https://docs.yield.xyz/api-reference/errors-retries.md). On a Solana enter the response can include `entryReserveEstimate`.


## OpenAPI

````yaml openapi.json POST /v1/actions/enter
openapi: 3.0.0
info:
  title: 'Yield API: Earn'
  description: API Documentation
  version: '1.0'
  contact: {}
servers:
  - url: https://api.yield.xyz
    description: Production
security: []
tags:
  - name: Discovery
    description: >-
      Browse and discover yield opportunities, networks, and providers, plus
      yield-level risk, reward rate, and TVL data
  - name: Portfolio
    description: User-specific balances and KYC status
  - name: Actions
    description: Generate transactions to enter, exit, and manage yields
externalDocs:
  description: For more information
  url: https://docs.yield.xyz
paths:
  /v1/actions/enter:
    post:
      tags:
        - Actions
      summary: Enter a yield
      description: >-
        Generate the transactions needed to enter a yield position with the
        provided parameters.
      operationId: ActionsController_enterYield_v1
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateActionDto'
      responses:
        '201':
          description: Returns action with array of transactions to execute
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionDto'
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: >-
                      Exception message: usually the error class name for typed
                      errors, otherwise free text; 'Bad Request Exception' on
                      validation failures (constraints are in
                      validation.message). Not a stable discriminator.
                    example: MissingArgumentsError
                  details:
                    type: object
                    description: >-
                      Allow-listed fields from the error, on any 400 except
                      validation failures.
                    properties:
                      reason:
                        type: string
                        description: Display text; wording may change.
                        example: Confidential vaults take encrypted amounts only.
                      arguments:
                        type: string
                        example: encryptedAmount, encryptedAmountProof
                      retryAfter:
                        type: number
                        description: Seconds to wait before retrying.
                      error:
                        type: string
                        example: Bad Request
                  validation:
                    type: object
                    description: Request validation failures only, instead of details.
                    properties:
                      message:
                        type: array
                        items:
                          type: string
                        example:
                          - >-
                            encryptedAmount must be a 0x-prefixed 32-byte hex
                            handle
                  statusCode:
                    type: number
                    example: 400
                  timestamp:
                    type: string
                    example: '2026-11-02T10:00:00.000Z'
                  path:
                    type: string
                    example: /v1/actions/enter
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Invalid API key
                  error:
                    type: string
                    example: Unauthorized
                  statusCode:
                    type: number
                    example: 401
        '403':
          description: Access denied due to geolocation restrictions
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Access denied from US (US-CA)
                  error:
                    type: string
                    example: Forbidden
                  statusCode:
                    type: number
                    example: 403
        '404':
          description: Yield not found with the specified ID
        '412':
          description: Yield is currently closed for new deposits
        '429':
          description: Rate limit exceeded
          headers:
            x-ratelimit-limit:
              description: Request limit per window
              schema:
                type: string
            x-ratelimit-remaining:
              description: Remaining requests (will be 0)
              schema:
                type: string
            x-ratelimit-reset:
              description: Unix timestamp when window resets
              schema:
                type: string
            retry-after:
              description: Seconds to wait before retrying
              schema:
                type: string
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Rate limit exceeded
                  error:
                    type: string
                    example: Too Many Requests
                  statusCode:
                    type: number
                    example: 429
                  retryAfter:
                    type: number
                    example: 30
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Internal server error
                  error:
                    type: string
                    example: Internal Server Error
                  statusCode:
                    type: number
                    example: 500
      security:
        - ApiKey: []
components:
  schemas:
    CreateActionDto:
      type: object
      properties:
        yieldId:
          type: string
          description: Yield ID to perform the action on
          example: ethereum-eth-lido-staking
        address:
          type: string
          description: User wallet address
          example: 0x1234...
        arguments:
          description: Arguments for the action
          allOf:
            - $ref: '#/components/schemas/ActionArgumentsDto'
      required:
        - yieldId
        - address
    ActionDto:
      type: object
      properties:
        id:
          type: string
          description: Unique action identifier
          example: action_123abc
        intent:
          type: string
          description: High-level action intent
          enum:
            - enter
            - manage
            - exit
          example: manage
        type:
          type: string
          description: Specific action type
          enum:
            - STAKE
            - UNSTAKE
            - WITHDRAW_REQUEST
            - INSTANT_WITHDRAW
            - CLAIM_REWARDS
            - AUTO_SWEEP_UNSTAKE_REWARDS
            - AUTO_SWEEP_WITHDRAW_REWARDS
            - RESTAKE_REWARDS
            - WITHDRAW
            - WITHDRAW_ALL
            - RESTAKE
            - CLAIM_UNSTAKED
            - UNLOCK_LOCKED
            - STAKE_LOCKED
            - VOTE
            - REVOKE
            - VOTE_LOCKED
            - REVOTE
            - REBOND
            - MIGRATE
            - VERIFY_WITHDRAW_CREDENTIALS
            - DELEGATE
            - MERGE
            - CANCEL_PENDING
          example: CLAIM_REWARDS
        yieldId:
          type: string
          description: Yield ID this action belongs to
          example: ethereum-eth-lido-staking
        address:
          type: string
          description: User wallet address
          example: 0x1234...
        amount:
          type: string
          description: >-
            Amount involved in the action, in human-readable token units (not
            the smallest denomination).
          example: '1.0'
          nullable: true
        amountRaw:
          type: string
          description: Raw smallest-denomination amount (full precision)
          example: '1000000000000000000'
          nullable: true
        amountUsd:
          type: string
          description: USD value of the amount
          example: '1500.50'
          nullable: true
        isEncrypted:
          type: boolean
          description: >-
            True when the action amount is encrypted (an encrypted amount or
            batch position handle); use it to identify confidential actions.
            encryptedAmount holds the handle. amount, amountRaw and amountUsd
            are null when the request left amount out, and "0", "0" and "0.00"
            when it sent amount "0" (amountUsd stays null when the token has no
            USD price).
        encryptedAmount:
          type: string
          description: >-
            ERC-7984 handle of this yield's amount. Enter and batched exit: this
            vault's handle from encryptedLegAmounts (bound to the router), not
            the submitted encryptedAmount. Instant exit: the submitted
            encryptedAmount. Cancel: the batch position handle. Set only when
            isEncrypted is true.
          example: '0x5f3a0000000000000000000000000000000000000000000000000000000000c401'
        entryReserveEstimate:
          type: string
          description: >-
            Total SOL side-reserve required for enter validation: account rent
            plus ~0.005 SOL priority-fee buffer. For max native-SOL deposit use
            balance minus this value; do not also subtract amount. Only returned
            on the enter action creation response; omitted for exits, manage
            actions, and action retrieval.
        transactions:
          description: Array of transactions for this action
          type: array
          items:
            $ref: '#/components/schemas/TransactionDto'
        events:
          description: >-
            Protocol-side events associated with this action, such as a
            redemption settlement executed by the protocol after the action
            completed. Omitted when there are none.
          type: array
          items:
            $ref: '#/components/schemas/ActionEventDto'
        executionPattern:
          type: string
          description: >-
            Transaction execution pattern - synchronous (submit one by one, wait
            for each), asynchronous (submit all at once), or batch (single
            transaction with multiple operations)
          enum:
            - synchronous
            - asynchronous
            - batch
          example: synchronous
        rawArguments:
          description: Validated and normalized arguments used to construct this action
          nullable: true
          type: object
          allOf:
            - $ref: '#/components/schemas/ActionArgumentsDto'
        createdAt:
          format: date-time
          type: string
          description: When the action was created
        completedAt:
          format: date-time
          type: string
          description: When the action was completed
          nullable: true
        status:
          type: string
          description: Current status of the action
          enum:
            - CANCELED
            - CREATED
            - WAITING_FOR_NEXT
            - PROCESSING
            - FAILED
            - SUCCESS
            - STALE
      required:
        - id
        - intent
        - type
        - yieldId
        - address
        - amount
        - amountRaw
        - amountUsd
        - transactions
        - executionPattern
        - rawArguments
        - createdAt
        - completedAt
        - status
    ActionArgumentsDto:
      type: object
      properties:
        amount:
          type: string
          description: >-
            Amount in human-readable token units, not the smallest denomination.
            For example, "1.500000" for 1.5 USDC (6 decimals) or "0.01" for 0.01
            ETH (18 decimals). Precision up to the token's decimal places is
            supported. Mutually exclusive with amountRaw.
          example: '1.500000'
        amountRaw:
          type: string
          description: >-
            Amount in the smallest denomination (wei for ETH, satoshi for BTC,
            etc.). For example, "1500000" for 1.5 USDC (6 decimals) or
            "10000000000000000" for 0.01 ETH (18 decimals). Mutually exclusive
            with amount.
          example: '1000000000000000000'
        amounts:
          description: >-
            Amounts in human-readable token units, not the smallest
            denomination. Precision up to the token's decimal places is
            supported.
          example:
            - '1.500000'
            - '2.000000'
          type: array
          items:
            type: string
        shareAmount:
          type: string
          description: Share amount to withdraw
          example: '1.500000'
        shareAmountRaw:
          type: string
          description: Share amount to withdraw in raw decimals
          example: '1500000'
        validatorAddress:
          type: string
          description: Validator address for single validator selection
          example: cosmosvaloper1...
        validatorAddresses:
          description: Multiple validator addresses
          example:
            - cosmosvaloper1...
            - cosmosvaloper2...
          type: array
          items:
            type: string
        providerId:
          type: string
          description: Provider ID for Ethereum native staking
          example: kiln
        duration:
          type: number
          description: Duration for Avalanche native staking (in seconds)
          example: 1209600
        inputToken:
          type: string
          description: >-
            Token for deposits. Use "0x" for native token or provide the token
            address. For cross-chain deposits, also provide inputTokenNetwork.
          example: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48'
        inputTokenNetwork:
          type: string
          description: >-
            Network for the input token. Required for cross-chain deposits when
            the token is on a different network than the vault.
          enum:
            - ethereum
            - ethereum-goerli
            - ethereum-holesky
            - ethereum-sepolia
            - ethereum-hoodi
            - arbitrum
            - base
            - base-sepolia
            - gnosis
            - optimism
            - polygon
            - polygon-amoy
            - starknet
            - zksync
            - linea
            - unichain
            - plume
            - monad-testnet
            - monad
            - robinhood
            - robinhood-testnet
            - arc-testnet
            - arc
            - avalanche-c
            - avalanche-c-atomic
            - avalanche-p
            - binance
            - celo
            - fantom
            - harmony
            - moonriver
            - okc
            - viction
            - core
            - sonic
            - plasma
            - katana
            - hyperevm
            - tempo
            - pharos
            - xlayer
            - agoric
            - akash
            - axelar
            - band-protocol
            - bitsong
            - canto
            - chihuahua
            - comdex
            - coreum
            - cosmos
            - crescent
            - cronos
            - cudos
            - desmos
            - dydx
            - evmos
            - fetch-ai
            - gravity-bridge
            - injective
            - irisnet
            - juno
            - kava
            - ki-network
            - mars-protocol
            - nym
            - okex-chain
            - onomy
            - osmosis
            - persistence
            - quicksilver
            - regen
            - secret
            - sentinel
            - sommelier
            - stafi
            - stargaze
            - stride
            - teritori
            - tgrade
            - umee
            - sei
            - mantra
            - celestia
            - saga
            - zetachain
            - dymension
            - humansai
            - neutron
            - polkadot
            - kusama
            - westend
            - bittensor
            - aptos
            - binancebeacon
            - cardano
            - near
            - solana
            - solana-devnet
            - stellar
            - stellar-testnet
            - sui
            - tezos
            - tron
            - ton
            - ton-testnet
            - hyperliquid
        outputToken:
          type: string
          description: >-
            Token for withdrawals. Use "0x" for native token or provide the
            token address. For cross-chain withdrawals, also provide
            outputTokenNetwork.
          example: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48'
        outputTokenNetwork:
          type: string
          description: >-
            Network for the output token. Required for cross-chain withdrawals
            when the destination is on a different network than the vault.
          enum:
            - ethereum
            - ethereum-goerli
            - ethereum-holesky
            - ethereum-sepolia
            - ethereum-hoodi
            - arbitrum
            - base
            - base-sepolia
            - gnosis
            - optimism
            - polygon
            - polygon-amoy
            - starknet
            - zksync
            - linea
            - unichain
            - plume
            - monad-testnet
            - monad
            - robinhood
            - robinhood-testnet
            - arc-testnet
            - arc
            - avalanche-c
            - avalanche-c-atomic
            - avalanche-p
            - binance
            - celo
            - fantom
            - harmony
            - moonriver
            - okc
            - viction
            - core
            - sonic
            - plasma
            - katana
            - hyperevm
            - tempo
            - pharos
            - xlayer
            - agoric
            - akash
            - axelar
            - band-protocol
            - bitsong
            - canto
            - chihuahua
            - comdex
            - coreum
            - cosmos
            - crescent
            - cronos
            - cudos
            - desmos
            - dydx
            - evmos
            - fetch-ai
            - gravity-bridge
            - injective
            - irisnet
            - juno
            - kava
            - ki-network
            - mars-protocol
            - nym
            - okex-chain
            - onomy
            - osmosis
            - persistence
            - quicksilver
            - regen
            - secret
            - sentinel
            - sommelier
            - stafi
            - stargaze
            - stride
            - teritori
            - tgrade
            - umee
            - sei
            - mantra
            - celestia
            - saga
            - zetachain
            - dymension
            - humansai
            - neutron
            - polkadot
            - kusama
            - westend
            - bittensor
            - aptos
            - binancebeacon
            - cardano
            - near
            - solana
            - solana-devnet
            - stellar
            - stellar-testnet
            - sui
            - tezos
            - tron
            - ton
            - ton-testnet
            - hyperliquid
        subnetId:
          type: number
          description: Subnet ID for Bittensor staking
          example: 1
        tronResource:
          type: string
          description: Tron resource type for Tron staking
          enum:
            - BANDWIDTH
            - ENERGY
        feeConfigurationId:
          type: string
          description: Fee configuration ID for custom fee settings
          example: custom-fee-config-1
        cosmosPubKey:
          type: string
          description: Cosmos public key for Cosmos staking
          example: cosmospub1...
        tezosPubKey:
          type: string
          description: Tezos public key for Tezos staking
          example: edpk...
        cAddressBech:
          type: string
          description: Avalanche C-chain address
          example: 0x123...
        pAddressBech:
          type: string
          description: Avalanche P-chain address
          example: P-avax1...
        executionMode:
          type: string
          description: Transaction execution mode
          enum:
            - individual
            - batched
          example: individual
        ledgerWalletApiCompatible:
          type: boolean
          description: >-
            Transactions should have Ledger wallet API compatibility for
            hardware wallet users
          example: true
        useMaxAmount:
          type: boolean
          description: Use max amount for ERC4626 withdraw
          example: true
        useInstantExecution:
          type: boolean
          description: Use instant execution for exit (faster but may have fees)
          example: true
        useAutoClaim:
          type: boolean
          description: >-
            Authorize the redeem operator to auto-claim settled async
            redemptions (one-time per wallet)
          example: true
        skipPrechecks:
          type: boolean
          description: Skip pre-flight balance and rent checks
          example: false
        slippageBps:
          type: number
          description: Slippage tolerance in basis points (e.g. 50 = 0.50%)
          example: 50
        useMaxAllowance:
          type: boolean
          description: >-
            When true, ERC20 approval transactions use the maximum allowance
            (uint256.max) instead of the exact deposit amount. Useful to avoid
            repeated approval transactions on subsequent deposits.
          example: true
        feePayerAddress:
          type: string
          description: >-
            Fee payer address for gas-sponsored wallets (Solana). When provided,
            this address is used as the payer for account creation instructions
            and as the transaction-level fee payer.
          example: 7Qo3awoTH4y5Vui1FQwsncq2arYDzUuivdeWhwgnAvVo
        encryptedAmount:
          type: string
          description: >-
            ERC-7984 input handle (bytes32) for the transfer amount, encrypted
            with the Zama SDK for the signing wallet and the token contract.
            Used by confidential vaults instead of amount.
          example: '0x5f3a0000000000000000000000000000000000000000000000000000000000c401'
        encryptedAmountProof:
          type: string
          description: Input proof returned by the Zama SDK alongside encryptedAmount.
          example: '0x01'
        encryptedLegAmounts:
          description: >-
            One ERC-7984 input handle per router leg, in the order the argument
            schema lists, encrypted in one bundle for the signing wallet and the
            router. Unused legs carry an encrypted zero.
          example:
            - >-
              0x5f3a0000000000000000000000000000000000000000000000000000000000c401
          type: array
          items:
            type: string
        encryptedLegProof:
          type: string
          description: >-
            Input proof returned by the Zama SDK for the encryptedLegAmounts
            bundle.
          example: '0x01'
        decryptedAmount:
          type: string
          description: >-
            Cleartext of a publicly decrypted ERC-7984 handle, in base units.
            Public on-chain once the handle is marked publicly decryptable.
          example: '5000000'
        decryptionProof:
          type: string
          description: >-
            KMS decryption proof returned by the Zama SDK alongside
            decryptedAmount.
          example: '0x01'
        receiverAddress:
          type: string
          description: >-
            Receiver wallet address: ERC4626 vault flows, or on Solana the
            address for tokens after an optional post-exit swap
        rangeMin:
          type: string
          description: >-
            Minimum price bound for concentrated liquidity pools (as decimal
            string). Must be non-negative (can be 0) and less than rangeMax.
          example: '0.0'
        rangeMax:
          type: string
          description: >-
            Maximum price bound for concentrated liquidity pools (as decimal
            string). Must be positive and greater than rangeMin.
          example: '1.0'
        percentage:
          type: number
          description: >-
            Percentage of liquidity to exit (0-100). Required for partial exits
            from liquidity positions.
          example: 50
          minimum: 0
          maximum: 100
        tokenId:
          type: string
          description: >-
            NFT token ID for concentrated liquidity positions. Required for
            exiting specific positions.
          example: '12345'
    TransactionDto:
      type: object
      properties:
        id:
          type: string
          description: Unique transaction identifier
          example: tx_123abc
        title:
          type: string
          description: Display title for the transaction
          example: Approve USDC
        network:
          type: string
          description: Network this transaction is for
          enum:
            - ethereum
            - ethereum-goerli
            - ethereum-holesky
            - ethereum-sepolia
            - ethereum-hoodi
            - arbitrum
            - base
            - base-sepolia
            - gnosis
            - optimism
            - polygon
            - polygon-amoy
            - starknet
            - zksync
            - linea
            - unichain
            - plume
            - monad-testnet
            - monad
            - robinhood
            - robinhood-testnet
            - arc-testnet
            - arc
            - avalanche-c
            - avalanche-c-atomic
            - avalanche-p
            - binance
            - celo
            - fantom
            - harmony
            - moonriver
            - okc
            - viction
            - core
            - sonic
            - plasma
            - katana
            - hyperevm
            - tempo
            - pharos
            - xlayer
            - agoric
            - akash
            - axelar
            - band-protocol
            - bitsong
            - canto
            - chihuahua
            - comdex
            - coreum
            - cosmos
            - crescent
            - cronos
            - cudos
            - desmos
            - dydx
            - evmos
            - fetch-ai
            - gravity-bridge
            - injective
            - irisnet
            - juno
            - kava
            - ki-network
            - mars-protocol
            - nym
            - okex-chain
            - onomy
            - osmosis
            - persistence
            - quicksilver
            - regen
            - secret
            - sentinel
            - sommelier
            - stafi
            - stargaze
            - stride
            - teritori
            - tgrade
            - umee
            - sei
            - mantra
            - celestia
            - saga
            - zetachain
            - dymension
            - humansai
            - neutron
            - polkadot
            - kusama
            - westend
            - bittensor
            - aptos
            - binancebeacon
            - cardano
            - near
            - solana
            - solana-devnet
            - stellar
            - stellar-testnet
            - sui
            - tezos
            - tron
            - ton
            - ton-testnet
            - hyperliquid
          example: ethereum
        status:
          type: string
          description: Current status of the transaction
          enum:
            - NOT_FOUND
            - CREATED
            - BLOCKED
            - WAITING_FOR_SIGNATURE
            - SIGNED
            - BROADCASTED
            - PENDING
            - CONFIRMED
            - FAILED
            - SKIPPED
          example: PENDING
        type:
          type: string
          description: Type of transaction operation
          enum:
            - SWAP
            - DEPOSIT
            - APPROVAL
            - STAKE
            - SET_OPERATOR
            - CLAIM_UNSTAKED
            - CLAIM_REWARDS
            - RESTAKE_REWARDS
            - UNSTAKE
            - SPLIT
            - MERGE
            - LOCK
            - UNLOCK
            - SUPPLY
            - ADD_LIQUIDITY
            - REMOVE_LIQUIDITY
            - BRIDGE
            - VOTE
            - REVOKE
            - RESTAKE
            - REBOND
            - WITHDRAW
            - WITHDRAW_ALL
            - CREATE_ACCOUNT
            - REVEAL
            - MIGRATE
            - DELEGATE
            - UNDELEGATE
            - UTXO_P_TO_C_IMPORT
            - UTXO_C_TO_P_IMPORT
            - WRAP
            - UNWRAP
            - UNFREEZE_LEGACY
            - UNFREEZE_LEGACY_BANDWIDTH
            - UNFREEZE_LEGACY_ENERGY
            - UNFREEZE_BANDWIDTH
            - UNFREEZE_ENERGY
            - FREEZE_BANDWIDTH
            - FREEZE_ENERGY
            - UNDELEGATE_BANDWIDTH
            - UNDELEGATE_ENERGY
            - P2P_NODE_REQUEST
            - CREATE_EIGENPOD
            - VERIFY_WITHDRAW_CREDENTIALS
            - START_CHECKPOINT
            - VERIFY_CHECKPOINT_PROOFS
            - QUEUE_WITHDRAWALS
            - COMPLETE_QUEUED_WITHDRAWALS
            - LZ_DEPOSIT
            - LZ_WITHDRAW
            - LUGANODES_PROVISION
            - LUGANODES_EXIT_REQUEST
            - INFSTONES_PROVISION
            - INFSTONES_EXIT_REQUEST
            - INFSTONES_CLAIM_REQUEST
            - BATCH
            - REDEEM
            - CANCEL_PENDING
          example: STAKE
        hash:
          type: string
          description: Transaction hash (available after broadcast)
          nullable: true
          example: 0x1234567890abcdef...
        createdAt:
          format: date-time
          type: string
          description: When the transaction was created
        broadcastedAt:
          format: date-time
          type: string
          description: When the transaction was broadcasted to the network
          nullable: true
        signedTransaction:
          type: string
          description: Signed transaction data (ready for broadcast)
          nullable: true
        unsignedTransaction:
          description: The unsigned transaction data to be signed by the wallet
          oneOf:
            - type: string
              description: Serialized transaction data
            - type: object
              description: Transaction object (for non-EVM chains)
          nullable: true
          example: >-
            0x02f87082012a022f2f83018000947a250d5630b4cf539739df2c5dacb4c659f2488d880de0b6b3a764000080c080a0ef0de6c7b46fc75dd6cb86dccc3cfd731c2bdf6f3d736557240c3646c6fe01a6a07cd60b58dfe01847249dfdd7950ba0d045dded5bbe410b07a015a0ed34e5e00d
        annotatedTransaction:
          type: object
          description: Human-readable breakdown of the transaction for display purposes
          nullable: true
          example:
            method: stake
            inputs:
              amount: '1000000000000000000'
        structuredTransaction:
          type: object
          description: Detailed transaction data for client-side validation or simulation
          nullable: true
        stepIndex:
          type: number
          description: Zero-based index of the step in the action flow
          example: 0
        description:
          type: string
          description: User-friendly description of what this transaction does
          example: Approve USDC for staking
        error:
          type: string
          description: Error message if the transaction failed
          nullable: true
        gasEstimate:
          type: string
          description: Estimated gas cost for the transaction
          example: '21000'
        explorerUrl:
          type: string
          description: Link to the blockchain explorer for this transaction
          nullable: true
          example: https://etherscan.io/tx/0x1234...
        isMessage:
          type: boolean
          description: Whether this transaction is a message rather than a value transfer
          example: false
      required:
        - id
        - title
        - network
        - status
        - type
        - hash
        - createdAt
        - broadcastedAt
        - signedTransaction
        - unsignedTransaction
    ActionEventDto:
      type: object
      properties:
        id:
          type: string
          description: Unique event identifier
          example: event_123abc
        type:
          type: string
          description: Type of protocol-side event associated with the action
          enum:
            - REDEMPTION_SETTLED
            - REDEMPTION_CANCELLED
            - DEPOSIT_SETTLED
            - DEPOSIT_CANCELLED
          example: REDEMPTION_SETTLED
        transactionHash:
          type: string
          description: >-
            Hash of the protocol transaction that produced the event (e.g. the
            redemption settlement transaction)
          nullable: true
        occurredAt:
          format: date-time
          type: string
          description: >-
            When the event occurred on-chain, falling back to when it was
            detected if the block is unavailable
      required:
        - id
        - type
        - transactionHash
        - occurredAt
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.