apikeys
Get account api key. Set api_key_index to 255 to retrieve all api keys associated with the account.
get/api/v1/apikeys
Query parameters
account_indexinteger · int64Required
Account index to query.
api_key_indexinteger · uint8OptionalDefault:
API-key index for the specified account.
255Responses
200
A successful response.
application/json
codeinteger · int32RequiredExample:
200messagestringOptional
400
Bad request
application/json
get/api/v1/apikeys
GET /api/v1/apikeys?account_index=1 HTTP/1.1
Host: mainnet.zklighter.elliot.ai
Accept: */*
{
"code": 200,
"message": "text",
"api_keys": [
{
"account_index": 3,
"api_key_index": 0,
"nonce": 722,
"public_key": "text",
"transaction_time": 1
}
]
}Last updated
Was this helpful?