---
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.kyve.network` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kyve.network/cosmos/tx/v1beta1/encode/amino`
- Auth: none declared

Since: cosmos-sdk 0.47

## Request body

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

## Response `200`

A successful response.

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/kyve/apis/kyve-chain-rest-api.md) · [All operations](https://skmtc.dev/kyve/apis/kyve-chain-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kyve/apis/kyve-chain-rest-api/revisions/f4c44127d484?raw)
