---
title: "Sign a Tx"
method: POST
path: "/tx/sign"
tags: ["ICS20"]
---

# Sign a Tx

`POST /tx/sign`

Sign a Tx providing locally stored account and according password

## Request body

- object
  - `tx` StdTx
    - `msg` Msg[]
    - `fee` object
      - `gas` string
      - `amount` Coin[]
        - `denom` string
        - `amount` string
    - `memo` string
    - `signature` object
      - `signature` string
      - `pub_key` object
        - `type` string
        - `value` string
      - `account_number` string
      - `sequence` string
  - `name` string
  - `password` string
  - `chain_id` string
  - `account_number` string
  - `sequence` string
  - `append_sig` boolean

## Response `200`

The signed Tx

- StdTx
  - `msg` Msg[]
  - `fee` object
    - `gas` string
    - `amount` Coin[]
      - `denom` string
      - `amount` string
  - `memo` string
  - `signature` object
    - `signature` string
    - `pub_key` object
      - `type` string
      - `value` string
    - `account_number` string
    - `sequence` string

## Other responses

- `400` — The Tx was malformated or key doesn't exist
- `401` — Key password is wrong
- `500` — Server internal error

---

[API](https://skmtc.net/bnb-chain/apis/gaia-lite-for-cosmos.md) · [All operations](https://skmtc.net/bnb-chain/apis/gaia-lite-for-cosmos/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bnb-chain/gaia-lite-for-cosmos/revisions/66846564e1ee/schema)
