CosmosApi
CosmosApi
All URIs are relative to https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app
POST /cosmos
GET /cosmos/{accountName}
GET /cosmos
POST /cosmos/{accountName}/sign-tx
createCosmosAccount
AccountAPIResponse createCosmosAccount(authorization, cosmosInput)
Example
Parameters
authorization
kotlin.String
cosmosInput
Return type
Authorization
Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
HTTP request headers
Content-Type: application/json
Accept: application/json
getCosmosAccount
AccountAPIResponse getCosmosAccount(authorization, accountName)
Example
Parameters
authorization
kotlin.String
accountName
kotlin.String
Return type
Authorization
Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
HTTP request headers
Content-Type: Not defined
Accept: application/json
listCosmosAccounts
AccountAPIResponse listCosmosAccounts(authorization)
Example
Parameters
authorization
kotlin.String
Return type
Authorization
Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
HTTP request headers
Content-Type: Not defined
Accept: application/json
signCosmosTransaction
CosmosAPIResponse signCosmosTransaction(authorization, accountName, cosmosTransactionInput)
Example
Parameters
authorization
kotlin.String
accountName
kotlin.String
cosmosTransactionInput
Return type
Authorization
Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
HTTP request headers
Content-Type: application/json
Accept: application/json
Last updated