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": [
{
"venue": "<string>",
"address": "<string>",
"venue_wallet": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"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
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}Account
Get my account
The master address, the venue accounts linked to it and its beta 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": [
{
"venue": "<string>",
"address": "<string>",
"venue_wallet": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"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
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}Authorizations
Master session from POST /v1/auth/verify. Revocable; expires after seven days by default. Required for financial operations.
Response
The user.
Responses are lowercase.
Pattern:
^0x[0-9a-fA-F]{40}$RFC 3339 UTC; snapshots and history may keep fractional seconds.
Show child attributes
Show child attributes
Whether the user may make new commitments. required until access is granted from the app.
Available options:
granted, required, suspended The master address is one of the deployment's admins.