Order: OrderCore & {
    cancelledAt: string | null;
    cancelledTxHash: NullableTransactionHash;
    createdAt: string;
    erc20TokenAmountFilled: Bignumber;
    erc20TokenAmountRemaining: Bignumber;
    erc20UnitTokenAmount: Bignumber;
    id: string;
    invalidReasons?: TradeReasons[];
    lastFilledAt: string | null;
    lastFilledTxHash: NullableTransactionHash;
    orderStatus: TradeStatus;
    signature: {
        r: string;
        s: string;
        signatureType: number;
        v: number;
    } | null;
    signedTxHash: NullableTransactionHash;
    tokenQuantityFilled: Bignumber;
    tokenQuantityRemaining: Bignumber;
    totalFees: Bignumber;
    totalPrice: Bignumber;
    totalUnitPrice: Bignumber;
    unitFees: Bignumber;
    updatedAt: string;
    updatedAtBlockNumber: number | null;
    updatedAtBlockTimestamp: string | null;
    updatedAtLogIndex: number | null;
}

Type declaration

  • cancelledAt: string | null

    Date the order was cancelled at

  • cancelledTxHash: NullableTransactionHash

    The hash of the transaction that cancelled the order

  • createdAt: string

    Date of the indexing of the order

  • erc20TokenAmountFilled: Bignumber

    The amount of tokens filled.

  • erc20TokenAmountRemaining: Bignumber

    The amount of tokens remaining.

  • erc20UnitTokenAmount: Bignumber

    The amount of erc20 token for one asset.

  • id: string

    Unique identifier of the order, a UUID.

  • OptionalinvalidReasons?: TradeReasons[]
  • lastFilledAt: string | null

    Date of the order completion

  • lastFilledTxHash: NullableTransactionHash

    The hash of the last transaction that filled the order

  • orderStatus: TradeStatus
  • signature: {
        r: string;
        s: string;
        signatureType: number;
        v: number;
    } | null

    Signature of the order.

  • signedTxHash: NullableTransactionHash

    The hash of the transaction that created the order

  • tokenQuantityFilled: Bignumber

    The amount of tokens filled.

  • tokenQuantityRemaining: Bignumber

    The amount of tokens remaining.

  • totalFees: Bignumber

    the total amount of combined fees

  • totalPrice: Bignumber

    The amount of erc20 token all the quantity with fees included.

  • totalUnitPrice: Bignumber

    The amount of erc20 token for one unit.

  • unitFees: Bignumber

    The amount of fees for one asset.

  • updatedAt: string

    Date of indexing of the last update of the order

  • updatedAtBlockNumber: number | null

    Block number of the last update of the order

  • updatedAtBlockTimestamp: string | null

    Block timestamp of the last update of the order

  • updatedAtLogIndex: number | null

    Log index of the last update of the order