Create Environment
Creates an environment for your team to access and use within seconds.
post
Creates an environment for your team to access and use. Returns the network RPC URL, chainId, name, status, id, delivered synchronously to be used right away. Network values are "ethereum, polygon or moonbeam"
Body
namestringRequired
chainIdnumberRequired
networksstring[]Required
Responses
201
Created
400
Bad Request
401
Unauthorized
500
Internal Server Error
post
POST /v1/environments HTTP/1.1
Host: api.nameless.io
Content-Type: application/json
Accept: */*
Content-Length: 47
{
"name": "text",
"chainId": 1,
"networks": [
"text"
]
}
No content
curl --location --request POST 'https://api.nameless.io/v1/environments' \
--header 'x-api-key: <YOUR API KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Nameless",
"networks": ["ethereum"],
"chainId": 1234
}'
Last updated
Was this helpful?