\CosmosApi

All URIs are relative to https://beta.usemoon.ai

Method
HTTP request
Description

GET /cosmos/{accountName}

POST /cosmos/{accountName}/sign-tx

create_cosmos_account

crate::models::AccountApiResponse create_cosmos_account(authorization, cosmos_input)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

cosmos_input

[required]

Return type

crate::models::AccountApiResponse

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_cosmos_account

crate::models::AccountApiResponse get_cosmos_account(authorization, account_name)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

account_name

String

[required]

Return type

crate::models::AccountApiResponse

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

list_cosmos_accounts

crate::models::AccountApiResponse list_cosmos_accounts(authorization)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

Return type

crate::models::AccountApiResponse

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: Not defined

  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

sign_cosmos_transaction

crate::models::CosmosApiResponse sign_cosmos_transaction(authorization, account_name, cosmos_transaction_input)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

account_name

String

[required]

cosmos_transaction_input

[required]

Return type

crate::models::CosmosApiResponse

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

Last updated