Doc reference
Class: WSClient
Hierarchy
Index
Constructors
Methods
Constructors
constructor
Methods
addOrdersAsync
destroy
getOrdersAsync
getOrdersForPageAsync
getStatsAsync
onClose
onReconnected
subscribeToOrdersAsync
unsubscribeAsync
Enumeration: ContractEventKind
Index
Enumeration members
Enumeration members
ERC1155ApprovalForAllEvent
ERC1155TransferBatchEvent
ERC1155TransferSingleEvent
ERC20ApprovalEvent
ERC20TransferEvent
ERC721ApprovalEvent
ERC721ApprovalForAllEvent
ERC721TransferEvent
ExchangeCancelEvent
ExchangeCancelUpToEvent
ExchangeFillEvent
WethDepositEvent
WethWithdrawalEvent
Enumeration: OrderEventEndState
Index
Enumeration members
Enumeration members
Added
Cancelled
Expired
FillabilityIncreased
Filled
FullyFilled
Invalid
StoppedWatching
Unexpired
Unfunded
Enumeration: RejectedCode
Index
Enumeration members
Enumeration members
InternalError
MaxOrderSizeExceeded
NetworkRequestFailed
OrderAlreadyStored
OrderCancelled
OrderExpired
OrderForIncorrectChain
OrderFullyFilled
OrderHasInvalidMakerAssetAmount
OrderHasInvalidMakerAssetData
OrderHasInvalidSignature
OrderHasInvalidTakerAssetAmount
OrderHasInvalidTakerAssetData
OrderUnfunded
Enumeration: RejectedKind
Index
Enumeration members
Enumeration members
MeshError
MeshValidation
ZeroexValidation
Interface: AcceptedOrderInfo
Hierarchy
Index
Properties
Properties
fillableTakerAssetAmount
isNew
orderHash
signedOrder
Interface: ClientConfig
Hierarchy
Index
Properties
Properties
Optional assembleFragments
Optional assembleFragmentsOptional closeTimeout
Optional closeTimeoutOptional fragmentOutgoingMessages
Optional fragmentOutgoingMessagesOptional fragmentationThreshold
Optional fragmentationThresholdOptional maxReceivedFrameSize
Optional maxReceivedFrameSizeOptional maxReceivedMessageSize
Optional maxReceivedMessageSizeOptional tlsOptions
Optional tlsOptionsOptional webSocketVersion
Optional webSocketVersionInterface: ContractEvent
Hierarchy
Index
Properties
Properties
address
blockHash
isRemoved
kind
logIndex
parameters
txHash
txIndex
Interface: ERC1155ApprovalForAllEvent
Hierarchy
Index
Properties
Properties
approved
operator
owner
Interface: ERC1155TransferBatchEvent
Hierarchy
Index
Properties
Properties
from
ids
operator
to
values
Interface: ERC1155TransferSingleEvent
Hierarchy
Index
Properties
Properties
from
id
operator
to
value
Interface: ERC20ApprovalEvent
Hierarchy
Index
Properties
Properties
owner
spender
value
Interface: ERC20TransferEvent
Hierarchy
Index
Properties
Properties
from
to
value
Interface: ERC721ApprovalEvent
Hierarchy
Index
Properties
Properties
approved
owner
tokenId
Interface: ERC721ApprovalForAllEvent
Hierarchy
Index
Properties
Properties
approved
operator
owner
Interface: ERC721TransferEvent
Hierarchy
Index
Properties
Properties
from
to
tokenId
Interface: ExchangeCancelEvent
Hierarchy
Index
Properties
Properties
feeRecipientAddress
makerAddress
makerAssetData
orderHash
senderAddress
takerAssetData
Interface: ExchangeCancelUpToEvent
Hierarchy
Index
Properties
Properties
makerAddress
orderEpoch
senderAddress
Interface: ExchangeFillEvent
Hierarchy
Index
Properties
Properties
feeRecipientAddress
makerAddress
makerAssetData
makerAssetFilledAmount
makerFeePaid
orderHash
senderAddress
takerAddress
takerAssetData
takerAssetFilledAmount
takerFeePaid
Interface: GetOrdersResponse
Hierarchy
Index
Properties
Properties
ordersInfos
snapshotID
snapshotTimestamp
Interface: GetStatsResponse
Hierarchy
Index
Properties
Properties
ethRPCRateLimitExpiredRequests
ethRPCRequestsSentInCurrentUTCDay
ethereumChainID
latestBlock
maxExpirationTime
numOrders
numOrdersIncludingRemoved
numPeers
numPinnedOrders
peerID
pubSubTopic
rendezvous
startOfCurrentUTCDay
version
Interface: HeartbeatEventPayload
Hierarchy
Index
Properties
Properties
result
subscription
Interface: LatestBlock
Hierarchy
Index
Properties
Properties
hash
number
Interface: OrderEvent
Hierarchy
Index
Properties
Properties
contractEvents
endState
fillableTakerAssetAmount
orderHash
signedOrder
timestampMs
Interface: OrderEventPayload
Hierarchy
Index
Properties
Properties
result
subscription
Interface: OrderInfo
Hierarchy
Index
Properties
Properties
fillableTakerAssetAmount
orderHash
signedOrder
Interface: RawAcceptedOrderInfo
Hierarchy
Index
Properties
Properties
fillableTakerAssetAmount
isNew
orderHash
signedOrder
Interface: RawGetOrdersResponse
Hierarchy
Index
Properties
Properties
ordersInfos
snapshotID
snapshotTimestamp
Interface: RawOrderEvent
Hierarchy
Index
Properties
Properties
contractEvents
endState
fillableTakerAssetAmount
orderHash
signedOrder
timestamp
Interface: RawOrderInfo
Hierarchy
Index
Properties
Properties
fillableTakerAssetAmount
orderHash
signedOrder
Interface: RawRejectedOrderInfo
Hierarchy
Index
Properties
Properties
kind
orderHash
signedOrder
status
Interface: RawValidationResults
Hierarchy
Index
Properties
Properties
accepted
rejected
Interface: RejectedOrderInfo
Hierarchy
Index
Properties
Properties
kind
orderHash
signedOrder
status
Interface: RejectedStatus
Hierarchy
Index
Properties
Properties
code
message
Interface: StringifiedContractEvent
Hierarchy
Index
Properties
Properties
address
blockHash
isRemoved
kind
logIndex
parameters
txHash
txIndex
Interface: StringifiedERC1155TransferBatchEvent
Hierarchy
Index
Properties
Properties
from
ids
operator
to
values
Interface: StringifiedERC1155TransferSingleEvent
Hierarchy
Index
Properties
Properties
from
id
operator
to
value
Interface: StringifiedERC20ApprovalEvent
Hierarchy
Index
Properties
Properties
owner
spender
value
Interface: StringifiedERC20TransferEvent
Hierarchy
Index
Properties
Properties
from
to
value
Interface: StringifiedERC721ApprovalEvent
Hierarchy
Index
Properties
Properties
approved
owner
tokenId
Interface: StringifiedERC721TransferEvent
Hierarchy
Index
Properties
Properties
from
to
tokenId
Interface: StringifiedExchangeCancelUpToEvent
Hierarchy
Index
Properties
Properties
makerAddress
orderEpoch
senderAddress
Interface: StringifiedExchangeFillEvent
Hierarchy
Index
Properties
Properties
feeRecipientAddress
makerAddress
makerAssetData
makerAssetFilledAmount
makerFeePaid
orderHash
senderAddress
takerAddress
takerAssetData
takerAssetFilledAmount
takerFeePaid
Interface: StringifiedSignedOrder
Hierarchy
Index
Properties
Properties
exchangeAddress
expirationTimeSeconds
feeRecipientAddress
makerAddress
makerAssetAmount
makerAssetData
makerFee
salt
senderAddress
signature
takerAddress
takerAssetAmount
takerAssetData
takerFee
Interface: StringifiedWethDepositEvent
Hierarchy
Index
Properties
Properties
owner
value
Interface: StringifiedWethWithdrawalEvent
Hierarchy
Index
Properties
Properties
owner
value
Interface: ValidationResults
Hierarchy
Index
Properties
Properties
accepted
rejected
Interface: WethDepositEvent
Hierarchy
Index
Properties
Properties
owner
value
Interface: WethWithdrawalEvent
Hierarchy
Index
Properties
Properties
owner
value
Interface: WSMessage
Hierarchy
Index
Properties
Properties
type
utf8Data
Interface: WSOpts
Hierarchy
Index
Properties
Properties
Optional clientConfig
Optional clientConfigOptional headers
Optional headersOptional protocol
Optional protocolOptional reconnectDelay
Optional reconnectDelayOptional timeout
Optional timeoutLast updated
Was this helpful?