Ledger Settlements API

The Settlements API from Ledger — 4 operation(s) for settlements.

Operations 5

GET /settlements
POST /settlements Create Settlement
GET /settlements/{settlement_id}
POST /settlements/{settlement_id}/cancel
POST /settlements/{settlement_id}/recover

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ledger-settlements-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ledger-settlements-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Vault Settlements API
  version: 1.35.0
  x-logo:
    url: https://www.ledger.com/wp-content/themes/ledger-v2/public/images/ledger-logo-long.svg
  description: '

    # Authentication


    The Ledger Vault API offers several methods of authentication.

    Depending on your LAM configuration you''ll require several of the following headers

    to process API calls. Please refer to the

    [help center](https://help.vault.ledger.com/Content/api/api_overview.html) for more details.


    The `X-Ledger-API-User` header is required for all API calls to LAM

    (except when you register

    [API users on LAM](https://help.vault.ledger.com/Content/api/api_apiusers.html)).


    Note that the `X-Ledger-API-Key` authorization header can be used alongside the

    `X-Ledger-Store-Auth-Token` if both a LAM API key and HashiCorp Vault have

    been set up on your LAM.

    In this case, for every call made to LAM,

    you''ll need to pass all three headers

    `X-Ledger-API-User`, `X-Ledger-API-Key`, and `X-Ledger-Store-Auth-Token`.

    '
security:
- Ledger_API_User: []
- Ledger_API_User: []
  Ledger_API_Key: []
- Ledger_API_User: []
  Ledger_Store_Auth_Token: []
- Ledger_API_User: []
  Ledger_API_Key: []
  Ledger_Store_Auth_Token: []
tags:
- name: Settlements
paths:
  /settlements:
    get:
      tags:
      - Settlements
      description: Search settlement
      parameters:
      - name: page
        in: query
        description: Defines the page number to be fetched.
        required: false
        schema:
          default: 1
          example: 3
          minimum: 1
          type:
          - integer
          - 'null'
      - name: page_size
        in: query
        description: Defines the number of elements displayed on a page. Must be a positive number with 0 and -1 being special values to return a maximum defined in the gate
        required: false
        schema:
          default: 20
          example: 40
          minimum: -1
          type:
          - integer
          - 'null'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/_APISearchPledgeResults'
          description: settlement search results
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: invalid search parameters
    post:
      summary: Create Settlement
      tags:
      - Settlements
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateSettlement'
        description: Settlement creation payload
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Settlement'
          description: Settlement result
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Invalid request data
  /settlements/{settlement_id}:
    get:
      tags:
      - Settlements
      description: Get a settlement by id
      parameters:
      - name: settlement_id
        in: path
        description: settlement's id
        required: true
        schema:
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Settlement'
          description: settlement object
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Settlement not found
  /settlements/{settlement_id}/cancel:
    post:
      tags:
      - Settlements
      description: 'Cancel a settlement by id.

        Only Settlement with an outbound transaction in status `FAILED_TO_BROADCAST`

        can be canceled.

        Only Exchange (Liquidity Provider) user can cancel a settlement.

        '
      parameters:
      - name: settlement_id
        in: path
        description: settlement's id
        required: true
        schema:
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Settlement'
          description: settlement object
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Settlement cannot be canceled
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Settlement not found
  /settlements/{settlement_id}/recover:
    post:
      tags:
      - Settlements
      description: 'Used to accelerate on-chain confirmation of an Outbound Settlement transaction stuck pending in a mempool. This is only applicable to a settlement with an outbound transaction in status `SUBMITTED`. Only Exchange (Liquidity Provider) operators can recover a settlement and is only applicable to currencies supporting Replace by Fees (RBF) or Replace by Nonce (RBN).

        '
      parameters:
      - name: settlement_id
        in: path
        description: settlement's id
        required: true
        schema:
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SettlementRecoveryData'
        description: Settlement recovery payload
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Settlement'
          description: settlement object
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Settlement cannot be recovered
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Settlement not found
components:
  schemas:
    SolanaCreateAssociatedTokenAccountTransactionData:
      properties:
        account_name:
          description: Sender account name for Solana transaction.
          example: Solana Wallet 1
          type: string
        currency:
          description: Account currency for Solana transactions.
          enum:
          - solana
          - solana_devnet
          - solana_testnet
          example: solana
        max_priority_fee:
          default: null
          description: Max priority fee to use for the transaction. Please refer to the `recommended_max_priority_fees` field from fee estimation or choose your own value. Once the feature is enabled, this field will become mandatory.
          example: '5000'
          type:
          - string
          - 'null'
        token_mint:
          description: The token mint address of the token to create an account for
          example: Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB
          type: string
      required:
      - account_name
      - currency
      - token_mint
      type: object
    EthereumFeesStrategy:
      properties:
        data:
          description: Data specific to the Ethereum fee strategy.
          oneOf:
          - $ref: '#/components/schemas/EthereumFeesStrategyData'
          - $ref: '#/components/schemas/EthereumEIP1559FeesStrategyData'
        type:
          description: Indicates a custom fee strategy for Ethereum transactions.
          enum:
          - CUSTOM
          example: CUSTOM
      required:
      - data
      - type
      type: object
    EthereumSendTransactionData:
      properties:
        account_name:
          description: The name of the account initiating the transaction.
          example: ETH Wallet 1
          type: string
        amount:
          description: The amount to be transferred, in the smallest currency unit.
          example: '1267887898998'
          type: string
        contract_address:
          default: null
          description: The contract address of the ERC20 token, in case of a ERC20 send transaction.
          example: 0x1234...abcd
          type:
          - string
          - 'null'
        currency:
          description: Specific currency for Ethereum transactions.
          enum:
          - arbitrum
          - arbitrum_goerli
          - arbitrum_sepolia
          - avalanche_c_chain
          - avalanche_c_chain_fuji
          - base
          - base_goerli
          - base_sepolia
          - blast
          - blast_sepolia
          - bsc
          - celo
          - celo_alfajores
          - cronos
          - cronos_testnet
          - ethereum
          - ethereum_classic
          - ethereum_goerli
          - ethereum_holesky
          - ethereum_hoodi
          - ethereum_pow
          - ethereum_ropsten
          - ethereum_sepolia
          - etherlink
          - fantom
          - fantom_testnet
          - filecoin
          - filecoin_calibration
          - flare
          - flare_coston
          - kava_evm
          - kava_evm_testnet
          - klaytn
          - klaytn_baobab
          - komodo
          - linea
          - mantle
          - mantle_sepolia
          - neon_evm
          - optimism
          - optimism_goerli
          - optimism_sepolia
          - polygon
          - polygon_amoy
          - polygon_mumbai
          - polygon_zk_evm
          - polygon_zk_evm_testnet
          - pulsechain
          - pulsechain_testnet
          - scroll
          - scroll_sepolia
          - sonic
          - tomo
          - tomo_testnet
          - tron
          - viction
          - viction_testnet
          example: ethereum
          type: string
        max_fees:
          description: The maximum fees the user is willing to pay for the transaction, in the smallest currency unit. Set to '0' when estimating transaction fees.
          example: '123908790'
          type: string
        recipient:
          description: The recipient's address for the transaction.
          example: 0x1234...abcd
          type: string
      required:
      - account_name
      - amount
      - currency
      - max_fees
      - recipient
      type: object
    BitcoinSendTransactionData:
      properties:
        account_name:
          description: The name of the account initiating the transaction.
          example: ETH Wallet 1
          type: string
        amount:
          description: The amount to be transferred, in the smallest currency unit.
          example: '1267887898998'
          type: string
        currency:
          description: Specific currency for Bitcoin transactions.
          enum:
          - bitcoin
          - bitcoin_testnet
          example: bitcoin
        max_fees:
          description: The maximum fees the user is willing to pay for the transaction, in the smallest currency unit. Set to '0' when estimating transaction fees.
          example: '123908790'
          type: string
        recipient:
          description: The recipient's address for the transaction.
          example: 0x1234...abcd
          type: string
      required:
      - account_name
      - amount
      - currency
      - max_fees
      - recipient
      type: object
    CardanoSendTransactionData:
      properties:
        account_name:
          description: The name of the account initiating the transaction.
          example: ETH Wallet 1
          type: string
        amount:
          description: The amount to be transferred, in the smallest currency unit.
          example: '1267887898998'
          type: string
        currency:
          description: Specific currency for Cardano transactions.
          enum:
          - cardano
          example: cardano
        max_fees:
          description: The maximum fees the user is willing to pay for the transaction, in the smallest currency unit. Set to '0' when estimating transaction fees.
          example: '123908790'
          type: string
        recipient:
          description: The recipient's address for the transaction.
          example: 0x1234...abcd
          type: string
      required:
      - account_name
      - amount
      - currency
      - max_fees
      - recipient
      type: object
    PolkadotSendTransactionCreationData:
      properties:
        account_id:
          description: Unique identifier of the sender's account.
          example: '101'
          type: integer
        transaction_data:
          allOf:
          - $ref: '#/components/schemas/PolkadotSendTransactionData'
          description: Data specific to a Polkadot send transaction.
        transaction_type:
          description: Type indicator for Polkadot-like send transactions.
          enum:
          - POLKADOT_LIKE_SEND
          example: POLKADOT_LIKE_SEND
      required:
      - account_id
      - transaction_data
      - transaction_type
      type: object
    RippleSendTransactionData:
      properties:
        account_name:
          description: The name of the account initiating the transaction.
          example: ETH Wallet 1
          type: string
        amount:
          description: The amount to be transferred, in the smallest currency unit.
          example: '1267887898998'
          type: string
        currency:
          description: Specific currency for Ripple transactions.
          enum:
          - ripple
          example: ripple
        max_fees:
          description: The maximum fees the user is willing to pay for the transaction, in the smallest currency unit. Set to '0' when estimating transaction fees.
          example: '123908790'
          type: string
        recipient:
          description: The recipient's address for the transaction.
          example: 0x1234...abcd
          type: string
        tag:
          default: null
          description: Destination tag for identifying Ripple transactions.
          example: 12345
          type:
          - integer
          - 'null'
      required:
      - account_name
      - amount
      - currency
      - max_fees
      - recipient
      type: object
    TezosSendTransactionCreationData:
      properties:
        account_id:
          description: Unique identifier of the sender's account.
          example: '101'
          type: integer
        fees_strategy:
          allOf:
          - $ref: '#/components/schemas/GenericFeesStrategy'
          description: Strategy for calculating transaction fees.
        transaction_data:
          allOf:
          - $ref: '#/components/schemas/TezosSendTransactionData'
          description: Data specific to a Tezos send transaction.
        transaction_type:
          description: Type indicator for Tezos-like send transactions.
          enum:
          - TEZOS_LIKE_SEND
          example: TEZOS_LIKE_SEND
      required:
      - account_id
      - fees_strategy
      - transaction_data
      - transaction_type
      type: object
    BitcoinSendTransactionCreationData:
      properties:
        account_id:
          description: Unique identifier of the sender's account.
          example: '101'
          type: integer
        fees_strategy:
          description: The fee strategy for a Bitcoin send transaction.
          oneOf:
          - $ref: '#/components/schemas/BitcoinFeesStrategy'
          - $ref: '#/components/schemas/GenericFeesStrategy'
        transaction_data:
          allOf:
          - $ref: '#/components/schemas/BitcoinSendTransactionData'
          description: Data specific to a Bitcoin send transaction.
        transaction_type:
          description: Type indicator for Bitcoin-like send transactions.
          enum:
          - BITCOIN_LIKE_SEND
          example: BITCOIN_LIKE_SEND
      required:
      - account_id
      - fees_strategy
      - transaction_data
      - transaction_type
      type: object
    TronSendTransactionCreationData:
      properties:
        account_id:
          description: Unique identifier of the sender's account.
          example: '101'
          type: integer
        fees_strategy:
          allOf:
          - $ref: '#/components/schemas/GenericFeesStrategy'
          description: Strategy for calculating transaction fees.
        transaction_data:
          allOf:
          - $ref: '#/components/schemas/TronSendTransactionData'
          description: Data specific to a Tron send transaction.
        transaction_type:
          description: Type indicator for Tron-like send transactions.
          enum:
          - TRON_LIKE_SEND
          example: TRON_LIKE_SEND
      required:
      - account_id
      - fees_strategy
      - transaction_data
      - transaction_type
      type: object
    EthereumFeesStrategyData:
      properties:
        gas_limit:
          description: The gas limit for the Ethereum transaction, in the smallest currency unit.
          example: '21000'
          type: string
        gas_price:
          description: The gas price for the Ethereum transaction, in the smallest currency unit.
          example: '2000'
          type: string
      required:
      - gas_limit
      - gas_price
      type: object
    PolkadotUnbondStakingTransactionData:
      properties:
        account_name:
          description: Account name to execute transaction.
          example: Polkadot Wallet 1
          type: string
        amount:
          description: Amount for Polkadot unbond transaction, in the smallest currency unit.
          example: '100000'
          type: string
        currency:
          description: Account currency for Polkadot transactions.
          enum:
          - polkadot
          - westend
          example: polkadot
      required:
      - account_name
      - amount
      - currency
      type: object
    CardanoSendTransactionCreationData:
      properties:
        account_id:
          description: Unique identifier of the sender's account.
          example: '101'
          type: integer
        fees_strategy:
          allOf:
          - $ref: '#/components/schemas/GenericFeesStrategy'
          description: Strategy for calculating transaction fees.
        transaction_data:
          allOf:
          - $ref: '#/components/schemas/CardanoSendTransactionData'
          description: Data specific to a Cardano send transaction.
        transaction_type:
          description: Type indicator for Cardano-like send transactions.
          enum:
          - CARDANO_LIKE_SEND
          example: CARDANO_LIKE_SEND
      required:
      - account_id
      - fees_strategy
      - transaction_data
      - transaction_type
      type: object
    StellarMemoText1:
      properties:
        MEMO_TEXT:
          description: Text Memo (at most a 28 bytes string)
          maxLength: 28
          minLength: 0
          type: string
      required:
      - MEMO_TEXT
      type: object
    SolanaSendTransactionCreationData:
      properties:
        account_id:
          description: Unique identifier of the sender's account.
          example: '101'
          type: integer
        transaction_data:
          allOf:
          - $ref: '#/components/schemas/SolanaSendTransactionData'
          description: Data specific to a Solana send transaction.
        transaction_type:
          description: Type indicator for Solana-like send transactions.
          enum:
          - SOLANA_LIKE_SEND
          example: SOLANA_LIKE_SEND
      required:
      - account_id
      - transaction_data
      - transaction_type
      type: object
    BitcoinFeesStrategy:
      properties:
        data:
          allOf:
          - $ref: '#/components/schemas/BitcoinFeesStrategyData'
          description: Data specific to the Bitcoin fee strategy.
        type:
          description: Indicates a custom fee strategy for Bitcoin transactions.
          enum:
          - CUSTOM
          example: CUSTOM
      required:
      - data
      - type
      type: object
    PolkadotBondExtraStakingTransactionData:
      properties:
        account_name:
          description: Account name to execute transaction.
          example: Polkadot Wallet 1
          type: string
        amount:
          description: Amount for Polkadot bond extra transaction, in the smallest currency unit.
          example: '100000'
          type: string
        currency:
          description: Account currency for Polkadot transactions.
          enum:
          - polkadot
          - westend
          example: polkadot
      required:
      - account_name
      - amount
      - currency
      type: object
    APISearchPageInfo:
      properties:
        count:
          example: 1
          type: integer
        has_next_page:
          example: false
          type: boolean
      required:
      - count
      - has_next_page
      type: object
    RepledgeIntent:
      properties:
        account_name:
          type: string
        amount:
          type: string
        contract_address:
          default: null
          type:
          - string
          - 'null'
        currency:
          type: string
        exchange_name:
          type: string
        pledge_subaccount_id:
          type: integer
        to_address:
          default: null
          type:
          - string
          - 'null'
        transaction_hash:
          default: null
          type:
          - string
          - 'null'
      required:
      - account_name
      - amount
      - currency
      - exchange_name
      - pledge_subaccount_id
      type: object
    EthereumSCITransactionData:
      properties:
        account_name:
          description: The name of the account initiating the transaction.
          example: ETH Wallet 1
          type: string
        amount:
          description: The amount to be transferred, in the smallest currency unit.
          example: '1267887898998'
          type: string
        contract_data:
          default: null
          oneOf:
          - $ref: '#/components/schemas/SCIData'
          - type: string
        currency:
          description: Specific currency for Ethereum Smart Contract transactions.
          enum:
          - arbitrum
          - arbitrum_goerli
          - arbitrum_sepolia
          - avalanche_c_chain
          - avalanche_c_chain_fuji
          - base
          - base_goerli
          - base_sepolia
          - blast
          - blast_sepolia
          - bsc
          - celo
          - celo_alfajores
          - cronos
          - cronos_testnet
          - ethereum
          - ethereum_classic
          - ethereum_goerli
          - ethereum_holesky
          - ethereum_hoodi
          - ethereum_pow
          - ethereum_ropsten
          - ethereum_sepolia
          - etherlink
          - fantom
          - fantom_testnet
          - filecoin
          - filecoin_calibration
          - flare
          - flare_coston
          - kava_evm
          - kava_evm_testnet
          - klaytn
          - klaytn_baobab
          - komodo
          - linea
          - mantle
          - mantle_sepolia
          - neon_evm
          - optimism
          - optimism_goerli
          - optimism_sepolia
          - polygon
          - polygon_amoy
          - polygon_mumbai
          - polygon_zk_evm
          - polygon_zk_evm_testnet
          - pulsechain
          - pulsechain_testnet
          - scroll
          - scroll_sepolia
          - sonic
          - tomo
          - tomo_testnet
          - tron
          - viction
          - viction_testnet
          example: ethereum
          type: string
        encoded_contract_data:
          default: null
          description: (DEPRECATED) Encoded data for the smart contract interaction. This field is deprecated and will be removed in the future. Use contract_data instead.
          example: 0x123abc...
          type:
          - string
          - 'null'
        max_fees:
          description: The maximum fees the user is willing to pay for the transaction, in the smallest currency unit. Set to '0' when estimating transaction fees.
          example: '123908790'
          type: string
        recipient:
          description: The recipient's address for the transaction.
          example: 0x1234...abcd
          type: string
      required:
      - account_name
      - amount
      - currency
      - max_fees
      - recipient
      type: object
    PolkadotWithdrawTransactionCreationData:
      properties:
        account_id:
          description: Unique identifier of the sender's account.
          example: '101'
          type: integer
        transaction_data:
          allOf:
          - $ref: '#/components/schemas/PolkadotWithdrawStakingTransactionData'
          description: Data specific to a Polkadot withdraw transaction.
        transaction_type:
          description: Type indicator for Polkadot-like withdraw staking transactions.
          enum:
          - POLKADOT_LIKE_WITHDRAWUNBONDED
          example: POLKADOT_LIKE_WITHDRAWUNBONDED
      required:
      - account_id
      - transaction_data
      - transaction_type
      type: object
    SolanaSendSplTokenTransactionData:
      properties:
        account_name:
          description: Sender account name for Solana transaction.
          example: Solana Wallet 1
          type: string
        amount:
          description: Transaction amount for Solana, in the smallest currency unit.
          example: '100000'
          type: string
        currency:
          description: Account currency for Solana transactions.
          enum:
          - solana
          - solana_devnet
          - solana_testnet
          example: solana
        max_priority_fee:
          default: null
          description: Max priority fee to use for the transaction. Please refer to the `recommended_max_priority_fees` field from fee estimation or choose your own value. Once the feature is enabled, this field will become mandatory.
          example: '5000'
          type:
          - string
          - 'null'
        recipient:
          description: Transaction recipient address for Solana.
          example: 4Pf...Nmo
          type: string
        token_mint:
          description: The token mint address of the token to interact with
          example: Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB
          type: string
      required:
      - account_name
      - amount
      - currency
      - recipient
      - token_mint
      type: object
    PolkadotWithdrawStakingTransactionData:
      properties:
        account_name:
          description: Account name to execute transaction.
          example: Polkadot Wallet 1
          type: string
        currency:
          description: Account currency for Polkadot transactions.
          enum:
          - polkadot
          - westend
          example: polkadot
      required:
      - account_name
      - currency
      type: object
    TronSendTransactionData:
      properties:
        account_name:
          description: The name of the account initiating the transaction.
          example: ETH Wallet 1
          type: string
        amount:
          description: The amount to be transferred, in the smallest currency unit.
          example: '1267887898998'
          type: string
        currency:
          description: Specific currency for Tron transactions.
          enum:
          - tron
          example: tron
        max_fees:
          description: The maximum fees the user is willing to pay for the transaction, in the smallest currency unit. Set to '0' when estimating transaction fees.
          example: '123908790'
          type: string
        recipient:
          description: The recipient's address for the transaction.
          example: 0x1234...abcd
          type: string
      required:
      - account_name
      - amount
      - currency
      - max_fees
      - recipient
      type: object
    TezosSendTransactionData:
      properties:
        account_name:
          description: The name of the account initiating the transaction.
          example: ETH Wallet 1
          type: string
        amount:
          description: The amount to be transferred, in the smallest currency unit.
          example: '1267887898998'
          type: string
        currency:
          description: Specific currency for Tezos transactions.
          enum:
          - tezos
          example: tezos
        max_fees:
          description: The maximum fees the user is willing to pay for the transaction, in the smallest currency unit. Set to '0' when estimating transaction fees.
          example: '123908790'
          type: string
        recipient:
          description: The recipient's address for the transaction.
          example: 0x1234...abcd
          type: string
      required:
      - account_name
      - amount
      - currency
      - max_fees
      - recipient
      type: object
    StellarSendTransactionData:
      properties:
        account_name:
          description: The name of the account initiating the transaction.
          example: ETH Wallet 1
          type: string
        amount:
          description: The amount to be transferred, in the smallest currency unit.
          example: '1267887898998'
          type: string
        currency:
          description: Specific currency for Stellar transactions.
          enum:
          - stellar
          example: stellar
        max_fees:
          description: The maximum fees the user is willing to pay for the transaction, in the smallest currency unit. Set to '0' when estimating transaction fees.
          example: '123908790'
          type: string
        memo:
          default: null
          description: A valid memo for the Stellar transaction. See https://developers.stellar.org/docs/glossary/transactions/#memo.
          oneOf:
          - $ref: '#/components/schemas/StellarMemoHash1'
          - $ref: '#/components/schemas/StellarMemoId1'
          - $ref: '#/components/schemas/StellarMemoReturn1'
          - $ref: '#/components/schemas/StellarMemoText1'
        recipient:
          description: The recipient's address for the transaction.
          example: 0x1234...abcd
          type: string
      required:
      - account_name
      - amount
      - currency
      - max_fees
      - recipient
      type: object
    PolkadotRebondStakingTransactionData:
      properties:
        account_name:
          description: Account name to execute transaction.
          example: Polkadot Wallet 1
          type: string
        amount:
          description: Amount for Polkadot rebond transaction, in the smallest currency unit.
          example: '100000'
          type: string
        currency:
          description: Account currency for Polkadot transactions.
          enum:
          - polkadot
          - westend
          example: polkadot
      required:
      - account_name
      - amount
      - currency
      type: object
    TradelinkCustodian:
      properties:
        code:
          type: string
        id:
          type: string
        name:
          type: string
        role:
          type: string
      required:
      - code
      - id
      - name
      - role
      type: object
    RippleSendTransactionCreationData:
      properties:
        account_id:
          description: Unique identifier of the sender's account.
          example: '101'
          type: integer
        fees_strategy:
          allOf:
          - $ref: '#/components/schemas/GenericFeesStrategy'
          description: Strategy for calculating transaction fees.
        transaction_data:
          allOf:
          - $ref: '#/components/schemas/RippleSendTransactionData'
          description: Data specific to a Ripple send transaction.
        transaction_type:
          description: Type indicator for Ripple-like send transactions.
          enum:
          - RIPPLE_LIKE_SEND
          example: RIPPLE_LIKE_SEND
      required:
      - account_id
      - fees_strategy
      - transaction_data
      - transaction_type
      type: object
    StellarMemoReturn1:
      properties:
        MEMO_RETURN:
          description: A 64 bytes hexadecimal string intended to be interpreted as the hash of the transaction the sender is refunding.
          maxLength: 64
          minLength: 64
          type: string
      required:
      - MEMO_RETURN
      type: object
    GenericFeesStrategyData:
      properties:
        speed:
     

# --- truncated at 32 KB (56 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/ledger/refs/heads/main/openapi/ledger-settlements-api-openapi.yml