Derivative

Provides functionality to fetch details across derivative protocol.

Following are the common functions implemented for derivative:-

NameTypeDescription

getorders

Read

Users can fetch details for all orders corresponding to the specified address and the specified sub-account number.

getorder

Read

Users can fetch details for a specific order using the specified order id.

getfills

Read

Users will be able to fetch the fill details of the order.

getassets

Read

Users will be able to fetch a list of their assets deposited in dYdX.

gethistoricalpnl

Read

Users will be able to fetch their historical profit and loss.

getperpetualpositions

Read

Users will be able to fetch the position of an user.

getsubaccounts

Read

Users will be able to fetch the details of a subaccount of a user.

gettransfers

Read

User will be able to fetch the details of the transfer transaction.

Last updated