# transaction · Chromia Docs (concept)

> The transaction command (pmc transaction) consists of sub-commands to interact with transactions.

Source: https://docs.chromia.com/ecosystem/providers/pmc/commands/transaction/

# transaction

On this page

* [transaction send](#transaction-send)
* [transaction sign](#transaction-sign)
* [transaction view](#transaction-view)

Plain text

```
Usage: pmc transaction [OPTIONS] COMMAND [ARGS]...

  Manage transactions

╭─ Options ───────────────────────────────────────────────────────────────────╮
│  -h, --help  Show this message and exit                                     │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────╮
│  view  View a saved transaction                                             │
│  sign  Sign a saved transaction with your key(s)                            │
│  send  Send a transaction                                                   │
╰─────────────────────────────────────────────────────────────────────────────╯
```

The transaction command (`pmc transaction`) consists of sub-commands to interact with transactions. For example, send
transactions, sign transactions, and view transaction details.

## transaction send

Plain text

```
Usage: pmc transaction send [OPTIONS] FILE

  Send a transaction

╭─ Configuration Properties ──────────────────────────────────────────────────╮
│  -cfg, --config=CONFIG    Alternate path for client configuration file      │
│  -s, --settings=SETTINGS  Alternate path for project settings file          │
│  --lookup-brid            Ignore any 'brid' property in configuration file, │
│                           always perform lookup                             │
│  --lookup-nodes / --no-lookup-nodes                                         │
│                           Lookup system cluster signer nodes for sending    │
│                           transactions to (default: yes)                    │
│  --network=TEXT           Target network to make requests to (if chromia.yml│
│                           is configured)                                    │
│  --secret=PATH            Path to secret file (pubkey/privkey)              │
│  --key-id=KEY_ID          Key ID of the keypair to use                      │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│  -sig, --signature=PATH  signature file                                     │
│  -h, --help              Show this message and exit                         │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Arguments ─────────────────────────────────────────────────────────────────╮
│  FILE  transaction file, or - for STDIN                                     │
╰─────────────────────────────────────────────────────────────────────────────╯
```

The send command (`pmc transaction send`) sends a transaction to the network.

## transaction sign

Plain text

```
Usage: pmc transaction sign [OPTIONS] FILE

  Sign a saved transaction with your key(s)

╭─ Configuration Properties ──────────────────────────────────────────────────╮
│  -cfg, --config=CONFIG    Alternate path for client configuration file      │
│  -s, --settings=SETTINGS  Alternate path for project settings file          │
│  --lookup-brid            Ignore any 'brid' property in configuration file, │
│                           always perform lookup                             │
│  --lookup-nodes / --no-lookup-nodes                                         │
│                           Lookup system cluster signer nodes for sending    │
│                           transactions to (default: yes)                    │
│  --network=TEXT           Target network to make requests to (if chromia.yml│
│                           is configured)                                    │
│  --secret=PATH            Path to secret file (pubkey/privkey)              │
│  --key-id=KEY_ID          Key ID of the keypair to use                      │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
│  --target=PATH  Path where transaction file should be saved (default:       │
│                 /opt/chromaway/postchain)                                   │
│  -h, --help     Show this message and exit                                  │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Arguments ─────────────────────────────────────────────────────────────────╮
│  FILE  transaction file, or - for STDIN                                     │
╰─────────────────────────────────────────────────────────────────────────────╯
```

The sign command (`pmc transaction sign`) signs a transaction with your private key.

## transaction view

Plain text

```
Usage: pmc transaction view [OPTIONS] FILE

  View a saved transaction

╭─ Options ───────────────────────────────────────────────────────────────────╮
│  -h, --help  Show this message and exit                                     │
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Arguments ─────────────────────────────────────────────────────────────────╮
│  FILE  transaction file, or - for STDIN                                     │
╰─────────────────────────────────────────────────────────────────────────────╯
```

The view command (`pmc transaction view`) displays details about a specific transaction.

[View this page on docs.chromia.com](https://docs.chromia.com/ecosystem/providers/pmc/commands/transaction/)Content mirrored from the live docs
