---
title: "receipt"
description: "Get transaction receipt by hash"
source: https://docs.genlayer.com/api-references/genlayer-cli/transactions/receipt
last_updated: 2026-03-27
---

# receipt

Get transaction receipt by hash

### Usage

`$ genlayer receipt [options] <txId>`

### Arguments

- `<txId>`

### Options

| Short | Long | Description | Required | Default |
| --- | --- | --- | :---: | --- |
|  | --status &lt;status&gt; | Transaction status to wait for (UNINITIALIZED, PENDING, PROPOSING, COMMITTING, REVEALING, ACCEPTED, UNDETERMINED, FINALIZED, CANCELED, APPEAL_REVEALING, APPEAL_COMMITTING, READY_TO_FINALIZE, VALIDATORS_TIMEOUT, LEADER_TIMEOUT) (default: "FINALIZED") | No |  |
|  | --retries &lt;retries&gt; | Number of retries | No | `100` |
|  | --interval &lt;interval&gt; | Interval between retries in milliseconds (default: 5000) | No |  |
|  | --rpc &lt;rpcUrl&gt; | RPC URL for the network | No |  |
|  | --stdout | Print only stdout from the receipt | No |  |
|  | --stderr | Print only stderr from the receipt | No |  |
| -h | --help | display help for command | No |  |
