accountMetadata
Get account metadata
get/api/v1/accountMetadata
Query parameters
bystring · enumRequiredPossible values:
Field used to identify the requested record.
valuestringRequired
Identifier corresponding to the selected by field.
cursorstringOptional
Opaque pagination cursor returned by the previous response; pass it unchanged.
Header parameters
authorizationstringRequired
Auth token in the Authorization header.
Responses
200
A successful response.
application/json
Fields with zero or empty values may be omitted; handle optional properties when decoding responses.
codeinteger · int32RequiredExample:
200messagestringOptional
next_cursorstringOptional
400
Bad request
application/json
get/api/v1/accountMetadata
GET /api/v1/accountMetadata?by=index&value=text HTTP/1.1
Host: mainnet.zklighter.elliot.ai
authorization: text
Accept: */*
{
"code": 200,
"message": "text",
"account_metadatas": [
{
"account_index": 1,
"name": "text",
"description": "text",
"can_invite": true,
"referral_points_percentage": "text",
"created_at": 1,
"can_rfq": true,
"can_rfq_market_ids": [
"text"
],
"metadata": {
"color": "text"
},
"agent_enabled": true,
"instance": "text"
}
],
"next_cursor": "text"
}Last updated
Was this helpful?