---
title: "GET /v1.0/chain/transaction"
method: GET
path: "/v1.0/chain/transaction"
tags: ["single chain swap"]
---

# GET /v1.0/chain/transaction

`GET /v1.0/chain/transaction`

## Query parameters

- `chainId` '1' | '10' | '56' | '137' | '8453' | '42161' | '43114' | '59144' | '7565164' | '100000001' | '100000002' | '100000008' | '100000009' | '100000013' | '100000014' | '100000017' | '100000019' | '100000020' | '100000021' | '100000022' | '100000023' | '100000025' | '100000026' | '100000027' | '100000028' | '100000029' | '100000030' | '100000031', required
- `tokenIn` string, required
- `tokenInAmount` string, required
- `slippage` string
- `tokenOut` string, required
- `tokenOutAmount` string
- `tokenOutRecipient` string, required
- `affiliateFeePercent` number
- `affiliateFeeRecipient` string
- `senderAddress` string
- `srcChainPriorityLevel` 'normal' | 'aggressive'
- `referralCode` number

## Response `200`

- ChainTransactionResponseV10
  - `tokenIn` TokenWithUsdValue, required
    - `address` string, required
    - `name` string, required
    - `symbol` string, required
    - `decimals` integer, required
    - `amount` string, required
    - `approximateUsdValue` number
  - `tokenOut` TokenWithMinAmount, required
    - `address` string, required
    - `name` string, required
    - `symbol` string, required
    - `decimals` integer, required
    - `amount` string, required
    - `minAmount` string, required
    - `approximateUsdValue` number
  - `slippage` number, required
  - `recommendedSlippage` number, required
  - `protocolFee` string
  - `protocolFeeApproximateUsdValue` string
  - `estimatedTransactionFee` FeeInfo
    - `total` string, required
    - `details` FeeDetails, required
      - `giveOrderState` string
      - `giveOrderWallet` string
      - `nonceMaster` string
      - `txFee` string
      - `priorityFee` string
      - `gasLimit` string
      - `gasPrice` string
      - `baseFee` string
      - `maxFeePerGas` string
      - `maxPriorityFeePerGas` string
    - `approximateUsdValue` number — USD approximate value of the transaction fee
  - `costsDetails` CostsDetailsProperty[] — Costs details
    - `chain` string, required
    - `tokenIn` string, required
    - `tokenOut` string, required
    - `amountIn` string, required
    - `amountOut` string, required
    - `type` string, required
    - `payload` Payload
      - `feeAmount` string
      - `feeBps` string
      - `amountOutBeforeCorrection` string
      - `estimatedVolatilityBps` string
      - `actualFeeAmount` string
      - `actualFeeBps` string
      - `subsidyAmount` string
      - `feeApproximateUsdValue` string
      - `additionalMarginAmount` string
      - `additionalMarginBps` string
  - `comparedAggregators` SwapAdapterComparisonDto[], required — Comparison data for all swap aggregators that were compared
    - `name` string, required — Name of the swap aggregator
    - `amount` string, required — Amount out from this aggregator
    - `approximateUsdValue` number, required — Approximate USD value of the amount out from this aggregator
    - `priceDrop` number, required — Price drop compared to the best aggregator in basis points (bps)
    - `imageUrl` string, required — Image URL of the swap aggregator
  - `tx` Tx, required
    - `to` string, required
    - `data` string, required
    - `value` string, required

## Other responses

- `400` — The request is malformed, has missing parameters, or has incorrect or contradicting parameter values. Possible error ids: - INVALID_QUERY_PARAMETERS - AFFILIATE_FEE_PERCENT_NOT_SET - AFFILIATE_FEE_RECIPIENT_NOT_SET - UNSUPPORTED_TOKEN_IN - UNSUPPORTED_TOKEN_OUT
- `500` — The server has encountered a situation it does not know how to handle. Possible error ids: - INTERNAL_SERVER_ERROR - INTERNAL_SDK_ERROR

---

[API](https://skmtc.net/debridge/apis/debridge-liquidity-network-dln-api.md) · [All operations](https://skmtc.net/debridge/apis/debridge-liquidity-network-dln-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/debridge/debridge-liquidity-network-dln-api/revisions/ec461847e46f/schema)
