Skip to main content
GET
Retrieves the SameChainSwapDTO object for a given transaction hash.

Path Parameters

chainId
integer<int32>
required

Chain or IAAS subscription id

transactionHash
string
required

The hash of the transaction the swap was executed in.

Response

OK

Represents a Data Transfer Object (DTO) used to encapsulate the details of a swap operation on one blockchain (NOT cross-chain).

swapId
object

Id of the swap

chainId
object
sender
object
recipient
object
tokenIn
object

Info about a token

tokenOut
object

Info about a token

transactionHash
object

Transaction Hash property

blockTimeStamp
integer<int64>

Timestamp of the block in which the event was recorded, represented as a Unix time in seconds.

affiliateFee
object

Represents details regarding the affiliate fee for same chain swap.

swapFee
object

Info about a token

referralCode
integer<int32> | null

Referral program code

swapRouterInfo
object

Information about the router used for executing the token swap