Get current user PnL
curl --request GET \
--url https://api.unitedmarket.ai/pnl/current/{user}const options = {method: 'GET'};
fetch('https://api.unitedmarket.ai/pnl/current/{user}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.unitedmarket.ai/pnl/current/{user}"
response = requests.get(url)
print(response.text){}Social
Get current user PnL
Returns the current PnL snapshot for a user.
GET
https://api.unitedmarket.ai
/
pnl
/
current
/
{user}
Get current user PnL
curl --request GET \
--url https://api.unitedmarket.ai/pnl/current/{user}const options = {method: 'GET'};
fetch('https://api.unitedmarket.ai/pnl/current/{user}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.unitedmarket.ai/pnl/current/{user}"
response = requests.get(url)
print(response.text){}Path Parameters
User wallet address or id.
Response
200 - application/json
Current PnL returned.
The response is of type object.
