Get my account
curl --request GET \
--url https://api.lamarge.trade/v1/me \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lamarge.trade/v1/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lamarge.trade/v1/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"master_address": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"accounts": [
{
"setup": [
{
"step": "permit",
"status": "done",
"reason": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"needed_for": [
"make"
]
}
],
"venue": "<string>",
"address": "<string>",
"venue_wallet": "<string>",
"linked_at": "2023-11-07T05:31:56Z"
}
],
"quote_identity_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"access": "granted",
"admin": true
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true,
"reason": "<string>",
"venue": "<string>",
"step": "permit"
}
}Account
Get my account
The master address, its linked venue accounts and its access.
GET
/
v1
/
me
Get my account
curl --request GET \
--url https://api.lamarge.trade/v1/me \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lamarge.trade/v1/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lamarge.trade/v1/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"master_address": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"accounts": [
{
"setup": [
{
"step": "permit",
"status": "done",
"reason": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"needed_for": [
"make"
]
}
],
"venue": "<string>",
"address": "<string>",
"venue_wallet": "<string>",
"linked_at": "2023-11-07T05:31:56Z"
}
],
"quote_identity_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"access": "granted",
"admin": true
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true,
"reason": "<string>",
"venue": "<string>",
"step": "permit"
}
}Authorizations
Response
The user.