Skip to main content

Interface: SwapCreateTangleRequest

Tangle request object to create a swap order.

Properties

baseTokenAmount

Optional baseTokenAmount: number

Requested base token amount


nativeTokens

Optional nativeTokens: { amount: number ; id: string }[]

Requested native token(s)


nfts

Optional nfts: string[]

List of requested Build5 NFT ids or NFT tangle ids


recipient

recipient: string

Target member Build5 uid or tangle address


requestType

requestType: "CREATE_SWAP"

Type of the tangle request.


setFunded

Optional setFunded: boolean

If set to true swap order will be set to funded upon creation