Account
Get position funding
Changed onGet funding accrued by the position currently open in a market, measured from when that position was opened (from flat, or from a long/short flip). Unlike unsettled funding, this value survives partial closes.
get/v1/account/position/funding
Request
- Base URLhttps://api.testnet.rise.trade
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
market_idstring uint64
Market ID to query
accountstring
Account address to query (hex format)
Response
A successful response.
Changes
- info
endpoint added
- info