NewOrderMsg class
NewOrder transaction will create a new order to buy or sell tokens on Binance DEX.
Read more: Binance Chain Docs / Amino encoding / New Order
(https://docs.binance.org/guides/concepts/encoding/amino-example.html#neworder)
Or Wiki of repo on GitHub
Constructors
- NewOrderMsg({String? symbol, required TimeInForce time_in_force, required OrderType order_type, required OrderSide side, Decimal? price, Decimal? quantity, Wallet? wallet})
Properties
- AMINO_MESSAGE_TYPE → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- INCLUDE_AMINO_LENGTH_PREFIX ↔ bool
-
getter/setter pairinherited
- memo ↔ String?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wallet → Wallet?
-
no setterinherited
-
wallets
→ List<
Wallet?> -
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
to_amino(
[Map< String, dynamic> ? withJsonAndSign, Wallet? wallet]) → Uint8List -
inherited
-
to_hex_data(
) → String -
inherited
-
to_hex_dataV2(
[Map< String, dynamic> ? withJsonAndSign, Wallet? wallet]) → String -
inherited
-
to_map(
) → Map -
override
-
to_protobuf(
) → NewOrder -
override
-
to_protobuf_with_sign(
Map< String, dynamic> withJsonAndSign, Wallet? wallet) → dynamic -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited