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: str | None

Transaction hash of keeper execution

execution_receipt: dict | None

Full transaction receipt from keeper execution

execution_block: int | None

Block number of execution

__init__(is_pending, execution_tx_hash=None, execution_receipt=None, execution_block=None)
Parameters
  • is_pending (bool) –

  • execution_tx_hash (str | None) –

  • execution_receipt (dict | None) –

  • execution_block (int | None) –

Return type

None