Skip to content

How to cancel and settle funds for a specific order atomically? #234

@Danilo-Araujo-Silva

Description

@Danilo-Araujo-Silva

How can we cancel and settle the funds for just only one specific order at once? Preferably in an atomic method?

For example, we have this documentation here:
https://github.com/project-serum/serum-ts/tree/master/packages/serum

But we only have the option to cancel an order separately and then settle the funds for all of the orders for a market, with two API calls.

How can we do that using just one method that would guarantee to us that the order was canceled and the funds have returned?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions