Open rico-bee opened 2 years ago
It seems V4 doesn't support NFT < - > swap, so I have to use SwapSDK V3 if I need to do NFT <->?
which swap do you mean? NFT<>ERC20? or NFT<>Bundle?
NFT <-> NFT. for example: https://docs.swapsdk.xyz/readme-1#example-1-nft-less-than-greater-than-nft-swap
@rico-bee the parameters are here on line 94 - https://github.com/trader-xyz/nft-swap-sdk/blob/8b3c3ebfa868cbbb1beb59f49521b956faed0201/src/sdk/v3/INftSwapV3.ts
Better descriptions of parameters here: https://github.com/0xProject/0x-protocol-specification/blob/master/v3/v3-specification.md#order-message-format
It seems V4 doesn't support NFT < - > NF swap, so I have to use SwapSDK V3 if I need to do NFT <-> NFT?
For V3, it seems the way to specify the fee components will be passing a BuildOrderAdditionalConfig to buildOrder function. However I cannot see any example / doc about how to use this parameter. can anyone share some experiences with the fee configuration ? any help will be much appreciated. thanks