fillableTakerAssetAmount
).@0x/mesh-browser
or @0x/mesh-browser-lite
packages, you will interact with it using the TypeScript/JavaScript API.@0x/mesh-browser
or @0x/mesh-browser-lite
packages, you use the method by by the same name, onOrderEvents
.ADDED
, FILLABILITY_INCREASED
, or UNEXPIRED
for an order we do not find in our database, we ignore the event and noop.@0x/mesh-browser
or @0x/mesh-browser-lite
packages, you can use the method by the same name, getOrdersAsync
.@0x/mesh-browser
or @0x/mesh-browser-lite
packages, you can use the method by the same name, addOrdersAsync
.fillableTakerAssetAmount
and so these amounts should be updated in the database. Rejected orders are rejected with a specific RejectedOrderStatus, including an identifying code
. The following codes indicate temporary errors and you may try submitting the order again (typically with exponential backoff): INTERNAL_ERROR
, ETH_RPC_REQUEST_FAILED
, or DATABASE_FULL_OF_ORDERS
. For any other code, the order has been rejected by Mesh and should not be retried. If the order exists in your database is should be removed.GQL_CONNECTION_ACK
and GQL_CONNECTION_KEEP_ALIVE
messages as described in https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md. Our Typescript GraphQL client automatically handles these messages, and most other GraphQL clients will too.