For the complete documentation index, see llms.txt. This page is also available as Markdown.

Cosmos

get

Lists Cosmos accounts associated with the provided authorization token.

Authorizations
AuthorizationstringRequired
Header parameters
AuthorizationstringRequired
  • The authorization token from the request header.
Responses
200

A promise that resolves to a CosmosAccountListAPIResponse object containing the list of accounts.

application/json

Represents the response from the Cosmos Account List API.

successbooleanRequired

Indicates whether the API request was successful.

messagestringRequired

A message providing additional information about the API response.

get
/cosmos
200

A promise that resolves to a CosmosAccountListAPIResponse object containing the list of accounts.

post

Creates a new Cosmos account.

Authorizations
AuthorizationstringRequired
Header parameters
AuthorizationstringRequired
  • The authorization token from the request header.
Body
  • The request body containing optional network information.
networkstringOptional
Responses
200

A promise that resolves to a CosmosAccountAPIResponse object.

application/json

Represents the response from the Cosmos Account API.

successbooleanRequired

Indicates whether the API request was successful.

messagestringRequired

A message providing additional information about the API response.

post
/cosmos
200

A promise that resolves to a CosmosAccountAPIResponse object.

get

Retrieves account information from the Cosmos SDK.

Authorizations
AuthorizationstringRequired
Path parameters
accountNamestringRequired
  • The name of the account to retrieve.
Header parameters
AuthorizationstringRequired
  • The authorization token provided in the request header.
Responses
200

A promise that resolves to a CosmosAccountAPIResponse object containing the account data.

application/json

Represents the response from the Cosmos Account API.

successbooleanRequired

Indicates whether the API request was successful.

messagestringRequired

A message providing additional information about the API response.

get
/cosmos/{accountName}
200

A promise that resolves to a CosmosAccountAPIResponse object containing the account data.

delete

Deletes an account in the Cosmos SDK.

Authorizations
AuthorizationstringRequired
Path parameters
accountNamestringRequired
  • The name of the account to be deleted.
Header parameters
AuthorizationstringRequired
  • The authorization token provided in the request header.
Responses
200

A promise that resolves to a BaseCosmosAPIResponse indicating the success or failure of the operation.

application/json

Represents the base structure of a response from the Cosmos API.

successbooleanRequired

Indicates whether the API request was successful.

messagestringRequired

A message providing additional information about the API response.

delete
/cosmos/{accountName}
200

A promise that resolves to a BaseCosmosAPIResponse indicating the success or failure of the operation.