We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0696f6a commit c169c35Copy full SHA for c169c35
1 file changed
src/sdk.ts
@@ -718,10 +718,9 @@ export class OpenSeaSDK {
718
719
// If the order is using offer protection, the extraData
720
// must be included with the order to successfully fulfill.
721
- const fulfillmentOrder =
722
- result.fulfillment_data.transaction.input_data.orders[0];
723
- if ("extraData" in fulfillmentOrder) {
724
- extraData = (fulfillmentOrder as AdvancedOrder).extraData;
+ const inputData = result.fulfillment_data.transaction.input_data;
+ if ("orders" in inputData && "extraData" in inputData.orders[0]) {
+ extraData = (inputData.orders[0] as AdvancedOrder).extraData;
725
}
726
727
const signature = result.fulfillment_data.orders[0].signature;
0 commit comments