Cosmos
Lists Cosmos accounts associated with the provided authorization token.
- The authorization token from the request header.
A promise that resolves to a CosmosAccountListAPIResponse object containing the list of accounts.
Represents the response from the Cosmos Account List API.
Indicates whether the API request was successful.
A message providing additional information about the API response.
A promise that resolves to a CosmosAccountListAPIResponse object containing the list of accounts.
Creates a new Cosmos account.
- The authorization token from the request header.
- The request body containing optional network information.
A promise that resolves to a CosmosAccountAPIResponse object.
Represents the response from the Cosmos Account API.
Indicates whether the API request was successful.
A message providing additional information about the API response.
A promise that resolves to a CosmosAccountAPIResponse object.
Retrieves account information from the Cosmos SDK.
- The name of the account to retrieve.
- The authorization token provided in the request header.
A promise that resolves to a CosmosAccountAPIResponse object containing the account data.
Represents the response from the Cosmos Account API.
Indicates whether the API request was successful.
A message providing additional information about the API response.
A promise that resolves to a CosmosAccountAPIResponse object containing the account data.
Deletes an account in the Cosmos SDK.
- The name of the account to be deleted.
- The authorization token provided in the request header.
A promise that resolves to a BaseCosmosAPIResponse indicating the success or failure of the operation.
Represents the base structure of a response from the Cosmos API.
Indicates whether the API request was successful.
A message providing additional information about the API response.
A promise that resolves to a BaseCosmosAPIResponse indicating the success or failure of the operation.