Take Order Parameter
Example JS Code
Parameter Details
addrs
address[16]
// buy order addrs[0]: exchange addrs[1]: maker addrs[2]: taker addrs[3]: makerRelayerFeeRecipient addrs[4]: takerRelayerFeeRecipient addrs[5]: nftAddress addrs[6]: staticTarget addrs[7]: paymentToken // sell order addrs[8]: exchange addrs[9]: maker addrs[10]: taker addrs[11]: makerRelayerFeeRecipient addrs[12]: takerRelayerFeeRecipient addrs[13]: nftAddress addrs[14]: staticTarget addrs[15]: paymentToken
uints
uint[12]
// buy order uints[0]: basePrice uints[1]: extra, endPrice in Dutch auction uints[2]: listing iime uints[3]: expirationTime uints[4]: salt uints[5]: tokenId //sell order uints[6]: basePrice uints[7]: extra, endPrice in Dutch auction uints[8]: listing iime uints[9]: expirationTime uints[10]: salt uints[11]: tokenId
sidesKinds
uint8[4]
// buy order sidesKinds[0]: side sidesKinds[1]: saleKind // sell order sidesKinds[2]: side sidesKinds[3]: saleKind
buyCalldata
bytes
buy order calldata
sellCalldata
bytes
sell order calldata
buyReplacementPattern
bytes
buy order replacementPattern
sellReplacementPattern
bytes
sell order replacementPattern
staticExtradataBuy
bytes
calldata of static target contract in buy order
staticExtradataSell
bytes
calldata of static target contract in sell order
rssMetadata
bytes32
metadata, suggested value is hex encoding IPFS hash
Last updated