Skip to main content
GET
/
position
Get position
curl --request GET \
  --url https://beta.rocketfi.io/position
{
  "positions": null
}

Path Parameters

account
string<hex>
required

Ethereum-style account address for the sub-account context. An Ethereum-style account address (20 bytes).

instrumentId
null | integer<int64>
required

Target instrument identifier. An instrument identifier (8-byte hash).

Required range: x >= 0

Response

200 - application/json

Positions by account

positions
object