Skip to main content

Interface: CreateMakerInput

types.CreateMakerInput

Input of the createMakerAsk function

Properties

additionalParameters

Optional additionalParameters: any[]

Additional parameters for complex orders

Default Value

[]


amounts

Optional amounts: BigNumberish[]

Amount for each item ids (needs to have the same length as itemIds array)


collection

collection: string

Collection address


collectionType

collectionType: CollectionType

Asset type, 0: ERC-721, 1:ERC-1155, etc


currency

Optional currency: string

Currency address

Default Value

ETH


endTime

endTime: BigNumberish

Timestamp in seconds when the order becomes invalid


itemIds

itemIds: BigNumberish[]

List of items ids to be sold

Default Value

[1]


orderNonce

orderNonce: BigNumberish

Order nonce, get it from the HypercertExchange api


price

price: BigNumberish

Asset price in wei


startTime

Optional startTime: BigNumberish

Order validity start time

Default Value

now


strategyId

strategyId: StrategyType

Strategy ID, 0: Standard, 1: Collection, etc


subsetNonce

subsetNonce: BigNumberish

Subset nonce used to group an arbitrary number of orders under the same nonce