Type Alias PrepareFillSellResponse

PrepareFillSellResponse: {
    buyOrder: ZeroExERC1155Order | ZeroExERC721Order;
    callData: string;
    signature: Signature;
    tokenId: Bignumber;
    unwrapNativeToken: boolean;
}

Type declaration

  • buyOrder: ZeroExERC1155Order | ZeroExERC721Order

    The order that is being sold to the buyer.

  • callData: string

    The callData to send with the transaction.

  • signature: Signature

    The signature of the buyOrder.

  • tokenId: Bignumber

    The id of the token to buy.

  • unwrapNativeToken: boolean

    Whether erc20 token is wrapped token. If erc20 token is wrapped token, then switch true. If true when not wrapped token, tx will fail.