How to use order API

Hey there!

I have written a simple script to sell NFTs. I used Get a signable order request (V3) and Create an order to do this, but I got an error “verification failed with stark key …”.

I tried on buy script and it works normally.

Hi Luckycat,

This usually happens when incorrect payload signatures are supplied, could you please confirm how you are signing the payloads?

As I mentioned, the buy script works normally. So I did the same thing when I signed the payload.

const ethSignature = await ethSigner.signMessage(signableMessage);
const starkSignature = await starkSigner.signMessage(payloadHash);

Could you please provide how you are creating the signers and which SDK versions you are using.