Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

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 ClientOrderId and ClientOrderIdRef.

See also