---
title: "TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes."
method: POST
path: "/cosmos/tx/v1beta1/encode/amino"
tags: ["Service"]
---

# TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes.

`POST /cosmos/tx/v1beta1/encode/amino`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/coreumfoundation/apis/title-goes-here/docs/cosmos/tx/v1beta1/encode/amino/post.ts> (a function with typed inputs; its response is checked against the schema)

Since: cosmos-sdk 0.47

## Request body

- CosmosTxV1beta1TxEncodeAminoRequest: TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino RPC method. Since: cosmos-sdk 0.47
  - `amino_json` string

## Response `200`

A successful response.

- CosmosTxV1beta1TxEncodeAminoResponse: TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino RPC method. Since: cosmos-sdk 0.47
  - `amino_binary` string, byte

## Other responses

- `default`: An unexpected error response.

## Changes

- **2023-12-19** `85ba5bb8c629`: 1 info
  - endpoint added
- **2023-09-11** `aaa274f20b71`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/coreumfoundation/apis/title-goes-here/changes/cosmos/tx/v1beta1/encode/amino/post.md)

---

[API](https://skmtc.dev/coreumfoundation/apis/title-goes-here.md) - [All operations](https://skmtc.dev/coreumfoundation/apis/title-goes-here/llms.txt) - [OpenAPI document](https://skmtc.dev/coreumfoundation/apis/title-goes-here/revisions/2a2e5bc4593a?raw)
