Cancel Limit Order Message

Explanation of the CancelLimitOrder transaction

Overview

Standard Taker limit orders (Good-til-cancelled & Good-til-Time) can be canceled at any time if they have not been completely filled. Once a limit order is canceled any remaining “TokenIn” liquidity is returned to the user.

NOTE: Canceling a partially filled limit order does not withdraw the traded portion. A separate call must be made to WithdrawFilledLimitOrder to withdraw any proceeds from the limit order

Cancel Limit Order Message

message MsgCancelLimitOrder {
    string creator = 1;
    string tranche_key = 2;
}

MsgCancelLimitOrder

FieldDescription

Creator string (sdk.AccAddress)

Account which controls the limit order and to which any untraded amount is credited

TrancheKey string

TrancheKey for the target limit order

Last updated