OrderId
A chain-assigned order id. NewType("OrderId", str) — at runtime it is a plain str (encoding a Uint64).
Definition
OrderId = NewType("OrderId", str)Construction
from dango.utils.types import OrderId
oid = OrderId("12345")Notes
- The on-chain representation is a 64-bit unsigned integer; the wire form is the integer's base-10 string.
- For client-assigned order ids, see
ClientOrderIdandClientOrderIdRef.
See also
cancel_order— cancel byOrderIdClientOrderIdRef— disambiguates fromOrderIdat runtime