githubEdit

Sign message

post

Signs a message using the Cosmos SDK.

Authorizations
AuthorizationstringRequired
Path parameters
accountNamestringRequired
  • The name of the account to sign the message for.
Header parameters
AuthorizationstringRequired
  • The authorization token from the request header.
Body
  • The input data required to sign the message.
messagestringRequired

The address of the account signing the message.

Responses
chevron-right
200

A promise that resolves to a CosmosSignedMessageAPIResponse object containing the signed message data.

application/json

Represents the response from the Cosmos Signed Message API.

successbooleanRequired

Indicates whether the API request was successful.

messagestringRequired

A message providing additional information about the API response.

post
/cosmos/{accountName}/sign-message
200

A promise that resolves to a CosmosSignedMessageAPIResponse object containing the signed message data.