## prepareOrderCancellation `prepareOrderCancellation(address: string, orderCancellation: object, instructions: object): Promise` Prepare an order cancellation transaction. The prepared transaction must subsequently be [signed](#sign) and [submitted](#submit). ### Parameters <%- renderSchema("input/prepare-order-cancellation.json") %> ### Return Value This method returns a promise that resolves with an object with the following structure: <%- renderSchema("output/prepare.json") %> ### Example ```javascript const address = 'r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59'; const orderCancellation = {orderSequence: 123}; return api.prepareOrderCancellation(address, orderCancellation) .then(prepared => {/* ... */}); ``` <%- renderFixture("responses/prepare-order-cancellation.json") %>