Skip to main content
POST
/
ws
/
marginTransfersPerps
Subscribe: Perps Margin Transfers
curl --request POST \
  --url wss://api.ondoperps.xyz/ws/marginTransfersPerps \
  --header 'Content-Type: application/json' \
  --data '
{
  "op": "subscribe",
  "channel": "marginTransfersPerps"
}
'
{
  "data": {
    "id": "<string>",
    "from": {
      "id": "<string>"
    },
    "to": {
      "id": "<string>"
    },
    "amount": "1000.00",
    "symbol": "USDC",
    "time": "2023-11-07T05:31:56Z",
    "type": 123
  }
}

Body

application/json
op
enum<string>
required

Operation type.

Available options:
subscribe,
unsubscribe
Example:

"subscribe"

channel
enum<string>
required

Channel for this subscription.

Available options:
marginTransfersPerps
Example:

"marginTransfersPerps"

Response

200 - application/json

Channel update for marginTransfersPerps

type
enum<string>
Available options:
update
channel
enum<string>
Available options:
marginTransfersPerps
data
object