Terp Network Docs
APIsOpenapiService
POST
/cosmos/tx/v1beta1/encode

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "http://localhost:1317/cosmos/tx/v1beta1/encode" \  -H "Content-Type: application/json" \  -d '{}'
{
  "tx_bytes": "string"
}
{
  "error": "string",
  "code": 0,
  "message": "string",
  "details": [
    {
      "type_url": "string",
      "value": "string"
    }
  ]
}