Create a project
This endpoint creates a project and an API key.
POST
/
projects
/
auth
curl --request POST \
--url https://protocol-sandbox.lumx.io/v2/projects/auth \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"blockchainName": "Ethereum"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"blockchain": {
"name": "Ethereum",
"decimalChainId": 123
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"apiKey": "<string>"
}
Body
application/json
Response
201 - application/json
Created
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://protocol-sandbox.lumx.io/v2/projects/auth \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"blockchainName": "Ethereum"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"blockchain": {
"name": "Ethereum",
"decimalChainId": 123
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"apiKey": "<string>"
}