DeltaDeFi
  • About
    • 👋Introduction
    • 📖Learn
      • Architecture
        • Account
        • App Vault
        • Hydra
        • Intent and Process
        • Order Book
      • Trade
        • Order Types
      • Whitepaper
  • Start Trading
    • ⚡Getting Started
      • Create Account
      • Deposit
      • Place Order
      • Cancel Order
      • Withdrawal
      • API Key / Dashboard
    • ⚙️Developers
      • Introduction
        • Base Url
        • Auth
        • Assets
      • Getting started
        • Deposit funds
        • Place a new order
        • Cancel an order
        • Withdraw funds
      • API Documentation
        • Account
          • Create new api key
          • Build deposit transaction
          • Submit deposit transaction
          • Deposit records
          • Withdrawal records
          • Order records
          • Build withdrawal transaction
          • Submit withdrawal transaction
          • Balances
        • App
          • Get mock USDX (testnet only)
          • Submit USDX transaction (testnet only)
        • Market
          • Market Price
          • Market Depth
          • Aggregated trades
        • Order
          • Build order transaction
          • Submit order Transaction
          • Build cancel Order Transaction
          • Submit cancel order transaction
      • Websocket Endpoints
        • Account streams
        • Market price streams
        • Market depth streams
      • SDK
        • Typescript
        • Python
  • FAQ
    • General
    • Product
    • Cardano
    • Disclaimer
Powered by GitBook
On this page
  1. Start Trading
  2. Developers
  3. API Documentation
  4. Account

Build deposit transaction

PreviousCreate new api keyNextSubmit deposit transaction

Last updated 2 months ago

⚙️

Build deposit transaction

post

Build deposit transaction

Header parameters
X-API-KEYstringRequired

API Key

Body
Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
422
Unprocessable Entity
application/json
500
Internal Server Error
application/json
post
POST /accounts/deposit/build HTTP/1.1
Host: 
X-API-KEY: text
Content-Type: application/json
Accept: */*
Content-Length: 270

{
  "deposit_amount": [
    {
      "quantity": "text",
      "unit": "text"
    }
  ],
  "input_utxos": [
    {
      "input": {
        "output_index": 1,
        "tx_hash": "text"
      },
      "output": {
        "address": "text",
        "amount": [
          {
            "quantity": "text",
            "unit": "text"
          }
        ],
        "data_hash": "text",
        "plutus_data": "text",
        "script_hash": "text",
        "script_ref": "text"
      }
    }
  ]
}
{
  "tx_hex": "text"
}