---
title: "trace"
description: "Get execution trace for a transaction (return data, stdout, stderr, GenVM logs)"
source: https://docs.genlayer.com/api-references/genlayer-cli/transactions/trace
last_updated: 2026-03-27
---

# trace

Get execution trace for a transaction (return data, stdout, stderr, GenVM logs)

### Usage

`$ genlayer trace [options] <txId>`

### Arguments

- `<txId>`

### Options

| Short | Long | Description | Required | Default |
| --- | --- | --- | :---: | --- |
|  | --round &lt;round&gt; | Consensus round number | No | `0) (default: 0` |
|  | --rpc &lt;rpcUrl&gt; | RPC URL for the network | No |  |
| -h | --help | display help for command | No |  |
