I’m trying to work with the NCC API to send an XEM transaction using node.js. I’ve followed the documentation found here but when i try to use this call with my updated data, I get:
{ timeStamp: 42053219,
error: 'Bad Request',
message: 'expected value for property version, but none was found',
status: 400 }
So naturally, I assume the documentation is wrong and I simply need to add a ‘version’ field to my data that im posting to this endpoint. I hard code ‘1744830465’ (which i read is for the main network) into a ‘version’ property of my data and post. I get:
{ timeStamp: 42053158,
error: 'Bad Request',
message: 'version cannot overlap with reserved network byte',
status: 400 }
Can someone please help me figure this out? I feel partly like the documentation is wrong, but also I feel like I’m missing something.
Sterling