OrderStatusResult

Documentation for eth_defi.gmx.order_tracking.OrderStatusResult Python class.

class OrderStatusResult

Bases: object

Result of checking order status in GMX DataStore.

Variables
  • is_pending – Whether the order is still pending (waiting for keeper execution)

  • execution_tx_hash – Transaction hash of the keeper execution (if order is no longer pending)

  • execution_receipt – Full transaction receipt of the keeper execution

  • execution_block – Block number where the order was executed/cancelled

Attributes summary

is_pending

Whether the order is still pending

execution_tx_hash

Transaction hash of keeper execution

execution_receipt

Full transaction receipt from keeper execution

execution_block

Block number of execution

Methods summary

__init__(is_pending[, execution_tx_hash, ...])

is_pending: bool

Whether the order is still pending

execution_tx_hash: Optional[str]

Transaction hash of keeper execution

execution_receipt: Optional[dict]

Full transaction receipt from keeper execution

execution_block: Optional[int]

Block number of execution

__init__(is_pending, execution_tx_hash=None, execution_receipt=None, execution_block=None)
Parameters
Return type

None