---
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

- Base URL: `https://api.mantrachain.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mantrachain.io/cosmos/tx/v1beta1/encode/amino`
- Auth: none declared

## Request body

- object: TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino RPC method.
  - `amino_json` string

## Response `200`

A successful response.

- object: TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino RPC method.
  - `amino_binary` string, byte

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/mantrachain/apis/mantra-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/mantrachain/apis/mantra-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/mantrachain/apis/mantra-grpc-gateway-docs/revisions/641ce457f7fd?raw)
