> ## Documentation Index
> Fetch the complete documentation index at: https://solana.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> This page is part of the Solana developer documentation at https://solana.com/developers/docs. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get the page as Markdown.
> Index of all pages: https://solana.com/llms.txt. Per-section indexes such as https://solana.com/developers/docs/payments/llms.txt are smaller; prefer them when working on one task.
> Coding agents: install the official Solana skill for current APIs and conventions with `npx skills add https://github.com/solana-foundation/solana-dev-skill` (also served at https://solana.com/SKILL.md).
> Code in the cookbook and task pages comes from tested example files. Prefer it over writing API calls from memory.

# getTransaction

> Returns a confirmed transaction by signature, or null if it is not found at the requested commitment.

<Info>
  **Source**

  [`get_transaction`](https://github.com/anza-xyz/agave/blob/v4.3.2/rpc/src/rpc.rs#L1775)
</Info>

<RequestExample>
  ```bash cURL
  curl https://api.devnet.solana.com -s -X POST \
    -H "Content-Type: application/json" \
    -d '
    {
      "jsonrpc": "2.0",
      "id": 1,
      "method": "getTransaction",
      "params": [
        "4ReKprwf3WdLHRrzp4ctPWNBsQDPL3VZz3zMmoZfcGJMJCHh5Vq937mPdyxhCbw54wNnA6hZ7KfNpQdpt13yY7A9",
        {
          "commitment": "confirmed",
          "maxSupportedTransactionVersion": 0,
          "encoding": "json"
        }
      ]
    }
  '
  ```

  ```ts Kit
  import { createSolanaRpc, type Signature } from "@solana/kit";

  const rpc_url = "https://api.devnet.solana.com";
  const rpc = createSolanaRpc(rpc_url);

  let signature =
    "5zSQuTcWsPy2cVAshBXWuJJXLwMD1GbgMpz3iq4xgwiV1s6mxYRbYb7qBiRGZd1xvDcYhQQRBKoNcnW8eKtcyZWg";

  let transaction = await rpc.getTransaction(signature as Signature).send();

  console.log(transaction);
  ```

  ```ts web3.js
  import {
    Connection,
    PublicKey,
    clusterApiUrl,
    type GetVersionedTransactionConfig
  } from "@solana/web3.js";

  const connection = new Connection(clusterApiUrl("devnet"), "confirmed");

  let signature =
    "5zSQuTcWsPy2cVAshBXWuJJXLwMD1GbgMpz3iq4xgwiV1s6mxYRbYb7qBiRGZd1xvDcYhQQRBKoNcnW8eKtcyZWg";

  let config: GetVersionedTransactionConfig = {
    commitment: "finalized",
    maxSupportedTransactionVersion: 0
  };

  let transaction = await connection.getTransaction(signature, config);

  console.log(transaction);
  ```

  ```rs Rust
  use anyhow::Result;
  use solana_client::{nonblocking::rpc_client::RpcClient, rpc_config::RpcTransactionConfig};
  use solana_commitment_config::CommitmentConfig;
  use solana_sdk::signature::Signature;
  use solana_transaction_status_client_types::UiTransactionEncoding;
  use std::str::FromStr;

  #[tokio::main]
  async fn main() -> Result<()> {
      let client = RpcClient::new_with_commitment(
          String::from("https://api.devnet.solana.com"),
          CommitmentConfig::confirmed(),
      );

      let tx_sig = Signature::from_str(
          "5zSQuTcWsPy2cVAshBXWuJJXLwMD1GbgMpz3iq4xgwiV1s6mxYRbYb7qBiRGZd1xvDcYhQQRBKoNcnW8eKtcyZWg",
      )?;

      let config = RpcTransactionConfig {
          commitment: CommitmentConfig::finalized().into(),
          encoding: UiTransactionEncoding::Json.into(),
          max_supported_transaction_version: Some(0),
          ..Default::default()
      };

      let transaction = client.get_transaction_with_config(&tx_sig, config).await?;

      println!("{:#?}", transaction);

      Ok(())
  }
  ```
</RequestExample>

<ResponseExample>
  ```json Response expandable
  {
    "jsonrpc": "2.0",
    "result": {
      "blockTime": 1763747336,
      "meta": {
        "computeUnitsConsumed": 150,
        "costUnits": 1481,
        "err": null,
        "fee": 5000,
        "innerInstructions": [],
        "loadedAddresses": {
          "readonly": [],
          "writable": []
        },
        "logMessages": [
          "Program 11111111111111111111111111111111 invoke [1]",
          "Program 11111111111111111111111111111111 success"
        ],
        "postBalances": [13086425097431981, 1000000000, 1],
        "postTokenBalances": [],
        "preBalances": [13086426097436981, 0, 1],
        "preTokenBalances": [],
        "rewards": [],
        "status": {
          "Ok": null
        }
      },
      "slot": 423108383,
      "transaction": {
        "message": {
          "accountKeys": [
            "9B5XszUGdMaxCZ7uSQhPzdks5ZQSmWxrmzCSvtJ6Ns6g",
            "D1UPrG5kHPhEvwAoYpFymQkHsNNzx8jWooeAvKiPfgFQ",
            "11111111111111111111111111111111"
          ],
          "header": {
            "numReadonlySignedAccounts": 0,
            "numReadonlyUnsignedAccounts": 1,
            "numRequiredSignatures": 1
          },
          "instructions": [
            {
              "accounts": [0, 1],
              "data": "3Bxs3zzLZLuLQEYX",
              "programIdIndex": 2,
              "stackHeight": 1
            }
          ],
          "recentBlockhash": "TT2s5saKFUnuF8HkdtG6qdkgSSGcFZsuoq8XeuG7iPV"
        },
        "signatures": [
          "4ReKprwf3WdLHRrzp4ctPWNBsQDPL3VZz3zMmoZfcGJMJCHh5Vq937mPdyxhCbw54wNnA6hZ7KfNpQdpt13yY7A9"
        ]
      },
      "transactionIndex": 19,
      "version": "legacy"
    },
    "id": 1
  }
  ```
</ResponseExample>

## Parameters

<ParamField body="signature" type="string" required>
  Transaction signature, as base-58 encoded string
</ParamField>

<ParamField body="config" type="string | object">
  Either a configuration object or, for backwards compatibility, a bare encoding
  string. Prefer the object form.

  <Warning>
    Passing a bare encoding string as the second positional parameter is
    deprecated. Use the configuration object instead.
  </Warning>

  When this parameter is an object, it may contain the following fields:

  <Expandable title="properties" defaultOpen>
    <ParamField body="commitment" type="string" default="finalized">
      Values: `confirmed`, `finalized`

      Solana RPC uses the following commitment levels:

      | Value       | Description                                                                                                                                                                               |
      | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
      | `processed` | Return data from the highest slot this node has processed. This is the newest view, but the block can still be skipped.                                                                   |
      | `confirmed` | Return data from the same slot as `finalized`. Kept for compatibility and planned for removal in a later release.                                                                         |
      | `finalized` | Return data from the highest slot with a finalization certificate, from votes by 80% of stake in one round or 60% of stake in each of two rounds. This is the strongest commitment level. |

      This method does not accept `processed`.
    </ParamField>

    <ParamField body="maxSupportedTransactionVersion" type="number">
      Values: `0`, `1`

      The highest transaction version to return. Set it to `0` to fetch legacy and v0
      transactions. Set it to `1` to also fetch
      [v1 transactions](/developers/docs/core/transactions/versioned-transactions#v1-format) —
      the value must be the JSON integer `1`, not the string `"1"`.

      This parameter determines the maximum transaction version that will be returned
      in the response. If you request a transaction with a higher version than this
      value, an error will be returned. If you omit this parameter, only legacy
      transactions will be returned—any versioned transaction will result in an error.
    </ParamField>

    <ParamField body="encoding" type="string" default="json">
      Values: `binary`, `base58`, `base64`, `json`, `jsonParsed`

      Encoding for the returned transaction.

      | Encoding     | Transaction format | Notes                                                                                                                                                              |
      | ------------ | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
      | `json`       | JSON object        | Default. Returns parsed transaction with `message` and `signatures`                                                                                                |
      | `jsonParsed` | JSON object        | Uses program-specific parsers for `transaction.message.instructions`. Falls back to standard JSON fields (`accounts`, `data`, `programIdIndex`) if no parser found |
      | `base64`     | `[data, "base64"]` | Base64 encoded binary transaction                                                                                                                                  |
      | `base58`     | `[data, "base58"]` | Slow                                                                                                                                                               |
      | `binary`     | `[data, "base58"]` | ⚠️ Deprecated. Legacy alias for `base58`, retained for backwards compatibility                                                                                     |

      For `jsonParsed`, this page documents the stable outer shapes returned for
      parsed account keys and for parsed or partially decoded instructions. The nested
      `parsed` payload remains program-specific.

      If you use the deprecated shorthand form for `config`, pass one of these
      encoding strings directly.

      For the shared JSON structures used by `json` and `jsonParsed` responses, see
      [Transactions](/developers/docs/rpc/json-structures#transactions),
      [Parsed Accounts](/developers/docs/rpc/json-structures#parsed-accounts),
      [Inner Instructions](/developers/docs/rpc/json-structures#inner-instructions), and
      [Address Table Lookups](/developers/docs/rpc/json-structures#address-table-lookups).
    </ParamField>

    <ParamField body="minContextSlot" type="number">
      The minimum slot that the request can be evaluated at. If the node has not
      reached it, the request fails with error `-32016` ("Minimum context slot has
      not been reached").

      <Warning>
        Available from Agave v4.4. Nodes running an earlier version ignore this
        field.
      </Warning>

      ```json Example
      { "minContextSlot": 341197000 }
      ```
    </ParamField>
  </Expandable>
</ParamField>

## Result

<ResponseField name="result" type="object | null">
  Returns `null` if transaction is not found or not confirmed, otherwise returns
  an object containing:

  This top-level response uses the shared
  [Confirmed Transaction Responses](/developers/docs/rpc/json-structures#confirmed-transaction-responses)
  structure.

  <Expandable title="properties" defaultOpen>
    <ResponseField name="blockTime" type="i64 | null">
      Estimated production time, as Unix timestamp (seconds since the Unix epoch) of
      when the transaction was processed. `null` if not available.
    </ResponseField>

    <ResponseField name="meta" type="object | null">
      Transaction status metadata object, or `null` if the transaction metadata is not
      available.

      For the shared field reference, see
      [Transaction Status Metadata](/developers/docs/rpc/json-structures#transaction-status-metadata).

      Source Type Definition:
      [UiTransactionStatusMeta](https://github.com/anza-xyz/agave/blob/v4.3.2/transaction-status-client-types/src/lib.rs#L351)

      When present, this object may contain:

      | Field                  | Type                       | Description                                                                                                  |
      | ---------------------- | -------------------------- | ------------------------------------------------------------------------------------------------------------ |
      | `err`                  | `object \| string \| null` | Transaction error. `null` indicates success.                                                                 |
      | `status`               | `object`                   | Deprecated status object that mirrors `err`. It is `"Ok": <null>` for success or `"Err": <ERR>` for failure. |
      | `fee`                  | `u64`                      | Fee charged for the transaction, in lamports.                                                                |
      | `preBalances`          | `array`                    | Lamport balances before execution, indexed to `transaction.message.accountKeys`.                             |
      | `postBalances`         | `array`                    | Lamport balances after execution, indexed to `transaction.message.accountKeys`.                              |
      | `innerInstructions`    | `array \| null`            | CPI instructions recorded during execution. This field may be `null` or omitted when unavailable.            |
      | `logMessages`          | `array \| null`            | Program log output captured during execution. This field may be `null` or omitted when unavailable.          |
      | `preTokenBalances`     | `array \| null`            | Token balances before execution. Each element uses the token-balance schema documented below.                |
      | `postTokenBalances`    | `array \| null`            | Token balances after execution. Each element uses the token-balance schema documented below.                 |
      | `rewards`              | `array \| null`            | Rewards applied while processing the transaction. Each element uses the reward schema documented below.      |
      | `loadedAddresses`      | `object`                   | Addresses loaded from address lookup tables, when present.                                                   |
      | `returnData`           | `object`                   | Most recent program return data, when present.                                                               |
      | `computeUnitsConsumed` | `u64`                      | Total compute units consumed, when reported by the validator.                                                |
      | `costUnits`            | `u64`                      | Total cost-model units charged, when reported by the validator.                                              |

      **`err` object form**

      | Field           | Type                                | Description                                                                                                                                     |
      | --------------- | ----------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
      | `<variantName>` | `array \| object \| string \| null` | Transaction error variant payload. Most variants serialize as strings. `InstructionError` serializes as `[instructionIndex, instructionError]`. |

      **`status` fields**

      | Field | Type               | Description                                                       |
      | ----- | ------------------ | ----------------------------------------------------------------- |
      | `Ok`  | `null`             | Deprecated success marker.                                        |
      | `Err` | `object \| string` | Deprecated failure payload. Uses the same serialization as `err`. |

      **`loadedAddresses` fields**

      | Field      | Type    | Description                                                            |
      | ---------- | ------- | ---------------------------------------------------------------------- |
      | `writable` | `array` | Ordered list of writable loaded addresses, as base-58 encoded strings. |
      | `readonly` | `array` | Ordered list of readonly loaded addresses, as base-58 encoded strings. |

      **`returnData` fields**

      | Field       | Type                 | Description                                                                              |
      | ----------- | -------------------- | ---------------------------------------------------------------------------------------- |
      | `programId` | `string`             | Program that generated the return data, as a base-58 encoded Pubkey.                     |
      | `data`      | `[string, encoding]` | Return data payload and encoding. This field uses base-64 data with `"base64"` encoding. |

      **`token balance` fields**

      | Field           | Type     | Description                                                                                           |
      | --------------- | -------- | ----------------------------------------------------------------------------------------------------- |
      | `accountIndex`  | `u8`     | Index into `transaction.message.accountKeys` for the token account whose balance is reported.         |
      | `mint`          | `string` | Token mint pubkey, as a base-58 encoded string.                                                       |
      | `uiTokenAmount` | `object` | Token amount object with raw and decimal-scaled representations.                                      |
      | `owner`         | `string` | Token account owner pubkey, when the validator recorded it. This field may be omitted.                |
      | `programId`     | `string` | SPL Token program pubkey for this account, when the validator recorded it. This field may be omitted. |

      **`token balance.uiTokenAmount` fields**

      | Field            | Type             | Description                                                                                |
      | ---------------- | ---------------- | ------------------------------------------------------------------------------------------ |
      | `uiAmount`       | `number \| null` | Decimal-scaled amount as a floating-point number. Deprecated in favor of `uiAmountString`. |
      | `decimals`       | `u8`             | Number of decimal places configured on the mint.                                           |
      | `amount`         | `string`         | Raw token amount, as a base-10 integer string.                                             |
      | `uiAmountString` | `string`         | Decimal-scaled amount as a string.                                                         |

      **`reward` fields**

      | Field         | Type             | Description                                                                                     |
      | ------------- | ---------------- | ----------------------------------------------------------------------------------------------- |
      | `pubkey`      | `string`         | Rewarded account pubkey, as a base-58 encoded string.                                           |
      | `lamports`    | `i64`            | Lamports credited or debited by this reward entry.                                              |
      | `postBalance` | `u64`            | Account balance after the reward was applied.                                                   |
      | `rewardType`  | `string \| null` | Reward category. When present, the value is `Fee`, `Rent`, `Voting`, or `Staking`.              |
      | `commission`  | `u8 \| null`     | Vote-account commission at the time of the reward. Present only for voting and staking rewards. |
    </ResponseField>

    <ResponseField name="slot" type="u64">
      The slot this transaction was processed in
    </ResponseField>

    <ResponseField name="transaction" type="object | string | [string,encoding]">
      Transaction payload. The shape depends on the `encoding` parameter:

      For the shared transaction object variants, see
      [Transactions](/developers/docs/rpc/json-structures#transactions).

      | Encoding                     | Returned Structure                                   |
      | ---------------------------- | ---------------------------------------------------- |
      | `json`                       | Object with `signatures` and raw `message` fields    |
      | `jsonParsed`                 | Object with `signatures` and parsed `message` fields |
      | `base64`, `base58`, `binary` | Encoded transaction data                             |

      When `encoding` is `json`, the top-level transaction object may contain:

      | Field        | Type     | Description                           |
      | ------------ | -------- | ------------------------------------- |
      | `signatures` | `array`  | Transaction signatures in wire order. |
      | `message`    | `object` | Serialized message content.           |

      **`message` fields**

      | Field                 | Type            | Description                                                                              |
      | --------------------- | --------------- | ---------------------------------------------------------------------------------------- |
      | `header`              | `object`        | Message header object.                                                                   |
      | `accountKeys`         | `array`         | Ordered list of account addresses referenced by the message, as base-58 encoded strings. |
      | `recentBlockhash`     | `string`        | Recent blockhash referenced by the message.                                              |
      | `instructions`        | `array`         | Compiled instructions in the message.                                                    |
      | `addressTableLookups` | `array \| null` | Address lookup table references for versioned transactions, when present.                |
      | `transactionConfig`   | `object`        | Inline compute budget declared by a v1 message. Present only for v1 transactions.        |

      **`message.transactionConfig` fields**

      Present only when the transaction is v1, and absent entirely — never `null` —
      for legacy and v0. Each field is an explicit `null` when the transaction did not
      request that limit.

      | Field                         | Type          | Description                                                                                                           |
      | ----------------------------- | ------------- | --------------------------------------------------------------------------------------------------------------------- |
      | `computeUnitLimit`            | `u32 \| null` | Maximum compute units the transaction may consume. A v1 transaction that requests no limit is budgeted zero.          |
      | `heapSize`                    | `u32 \| null` | Heap frame size in bytes requested for execution. When `null`, the runtime allocated the default 32,768 bytes.        |
      | `loadedAccountsDataSizeLimit` | `u32 \| null` | Maximum size in bytes of account data the transaction may load. When `null`, the transaction was budgeted zero bytes. |
      | `priorityFee`                 | `u64 \| null` | Total priority fee in lamports for the whole transaction, not a price per compute unit.                               |

      **`message.accountKeys[]` fields when `encoding` is `jsonParsed`**

      | Field      | Type             | Description                                                                           |
      | ---------- | ---------------- | ------------------------------------------------------------------------------------- |
      | `pubkey`   | `string`         | Account address, as a base-58 encoded string.                                         |
      | `signer`   | `bool`           | Whether this account signed the transaction.                                          |
      | `writable` | `bool`           | Whether the message marks this account writable.                                      |
      | `source`   | `string \| null` | Source of the account key. When present, the value is `transaction` or `lookupTable`. |

      **`message.header` fields**

      | Field                         | Type | Description                           |
      | ----------------------------- | ---- | ------------------------------------- |
      | `numRequiredSignatures`       | `u8` | Number of required signatures.        |
      | `numReadonlySignedAccounts`   | `u8` | Number of readonly signer accounts.   |
      | `numReadonlyUnsignedAccounts` | `u8` | Number of readonly unsigned accounts. |

      **`message.instructions[]` fields**

      | Field            | Type          | Description                                       |
      | ---------------- | ------------- | ------------------------------------------------- |
      | `programIdIndex` | `u8`          | Index into `accountKeys` for the invoked program. |
      | `accounts`       | `array`       | Account indexes referenced by the instruction.    |
      | `data`           | `string`      | Instruction data, base-58 encoded.                |
      | `stackHeight`    | `u32 \| null` | Invocation stack height, when reported.           |

      **`message.instructions[]` parsed form fields**

      | Field         | Type          | Description                                                                           |
      | ------------- | ------------- | ------------------------------------------------------------------------------------- |
      | `program`     | `string`      | Parser name that decoded the instruction.                                             |
      | `programId`   | `string`      | Invoked program pubkey, as a base-58 encoded string.                                  |
      | `parsed`      | `object`      | Program-specific parsed instruction payload. The exact schema depends on the program. |
      | `stackHeight` | `u32 \| null` | Invocation stack height, when reported.                                               |

      **`message.instructions[]` partially decoded form fields**

      | Field         | Type          | Description                                                |
      | ------------- | ------------- | ---------------------------------------------------------- |
      | `programId`   | `string`      | Invoked program pubkey, as a base-58 encoded string.       |
      | `accounts`    | `array`       | Account addresses referenced by the instruction, in order. |
      | `data`        | `string`      | Instruction data, base-58 encoded.                         |
      | `stackHeight` | `u32 \| null` | Invocation stack height, when reported.                    |

      **`message.addressTableLookups[]` fields**

      | Field             | Type     | Description                                                       |
      | ----------------- | -------- | ----------------------------------------------------------------- |
      | `accountKey`      | `string` | Address lookup table account pubkey, as a base-58 encoded string. |
      | `writableIndexes` | `array`  | Lookup-table indexes loaded as writable accounts.                 |
      | `readonlyIndexes` | `array`  | Lookup-table indexes loaded as readonly accounts.                 |

      When `message` is returned as the parsed form (`encoding: "jsonParsed"`),
      `accountKeys` is an array of objects containing the listed metadata and
      `instructions` is an array of parsed or partially decoded instruction objects.
      The nested `parsed` payload within those instruction objects remains
      program-specific.
    </ResponseField>

    <ResponseField name="transactionIndex" type="u32">
      Position of the transaction in its block, starting at `0`: the index of its
      signature in the block's `signatures` list. Nodes running Agave before v4.0
      omit this field.
    </ResponseField>

    <ResponseField name="version" type="&#x22;legacy&#x22; | number">
      Transaction version. This field is omitted if `maxSupportedTransactionVersion`
      is not set in the request params.
    </ResponseField>
  </Expandable>
</ResponseField>

## Example Results

The following examples show the responses for a transaction that creates an
[associated token account](/developers/docs/tokens/basics/create-token-account#how-to-create-an-associated-token-account),
presented for each supported `encoding` parameter.

<CodeGroup>

```json Json
{
  "jsonrpc": "2.0",
  "result": {
    "blockTime": 1763751415,
    "meta": {
      "computeUnitsConsumed": 21889,
      "costUnits": 23273,
      "err": null,
      "fee": 5000,
      "innerInstructions": [
        {
          "index": 0,
          "instructions": [
            {
              "accounts": [3],
              "data": "84eT",
              "programIdIndex": 5,
              "stackHeight": 2
            },
            {
              "accounts": [0, 1],
              "data": "11119os1e9qSs2u7TsThXqkBSRVFxhmYaFKFZ1waB2X7armDmvK3p5GmLdUxYdg3h7QSrL",
              "programIdIndex": 2,
              "stackHeight": 2
            },
            {
              "accounts": [1],
              "data": "P",
              "programIdIndex": 5,
              "stackHeight": 2
            },
            {
              "accounts": [1, 3],
              "data": "6QFLvqUwxAjuz2HvEPJqmSbNyCeouS45dJEowLgrYTXLr",
              "programIdIndex": 5,
              "stackHeight": 2
            }
          ]
        }
      ],
      "loadedAddresses": {
        "readonly": [],
        "writable": []
      },
      "logMessages": [
        "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL invoke [1]",
        "Program log: Create",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]",
        "Program log: Instruction: GetAccountDataSize",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1595 of 193103 compute units",
        "Program return: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA pQAAAAAAAAA=",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",
        "Program 11111111111111111111111111111111 invoke [2]",
        "Program 11111111111111111111111111111111 success",
        "Program log: Initialize the associated token account",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]",
        "Program log: Instruction: InitializeImmutableOwner",
        "Program log: Please upgrade to SPL Token 2022 for immutable owner support",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1405 of 186490 compute units",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]",
        "Program log: Instruction: InitializeAccount3",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4214 of 182608 compute units",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",
        "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL consumed 21889 of 200000 compute units",
        "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL success"
      ],
      "postBalances": [996484120, 2039280, 1, 1461600, 933913600, 8468187701],
      "postTokenBalances": [
        {
          "accountIndex": 1,
          "mint": "5kR7n7QJv85NrwwXdYWZ52qkRcyvXqKWDPNooYcfDV6e",
          "owner": "47eFuHR9ste9kopiJ9eRxcwahmE62JovbKe5r7AjANut",
          "programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
          "uiTokenAmount": {
            "amount": "0",
            "decimals": 2,
            "uiAmount": null,
            "uiAmountString": "0"
          }
        }
      ],
      "preBalances": [998528400, 0, 1, 1461600, 933913600, 8468187701],
      "preTokenBalances": [],
      "rewards": [],
      "status": {
        "Ok": null
      }
    },
    "slot": 423118809,
    "transaction": {
      "message": {
        "accountKeys": [
          "47eFuHR9ste9kopiJ9eRxcwahmE62JovbKe5r7AjANut",
          "9vLSZ1gujMzisVrK5r3ZBXLVJMrF3fp6BtAUDyD94nW2",
          "11111111111111111111111111111111",
          "5kR7n7QJv85NrwwXdYWZ52qkRcyvXqKWDPNooYcfDV6e",
          "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",
          "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        ],
        "addressTableLookups": [],
        "header": {
          "numReadonlySignedAccounts": 0,
          "numReadonlyUnsignedAccounts": 4,
          "numRequiredSignatures": 1
        },
        "instructions": [
          {
            "accounts": [0, 1, 0, 3, 2, 5],
            "data": "1",
            "programIdIndex": 4,
            "stackHeight": 1
          }
        ],
        "recentBlockhash": "sammEBUaf2T7Tnr41i5YwWXXrMsTiP3NM6vbAc5tZGU"
      },
      "signatures": [
        "56rgv1Fqg7MHLoct3ESNx8DHeC2c5TFYyK1As35paWn2KYuRuXPFZK3XDEwkkZemVfmnKrkj17mMzz4N1d8kMYC4"
      ]
    },
    "transactionIndex": 4,
    "version": 0
  },
  "id": 1
}
```

```json JsonParsed
{
  "jsonrpc": "2.0",
  "result": {
    "blockTime": 1763751415,
    "meta": {
      "computeUnitsConsumed": 21889,
      "costUnits": 23273,
      "err": null,
      "fee": 5000,
      "innerInstructions": [
        {
          "index": 0,
          "instructions": [
            {
              "parsed": {
                "info": {
                  "extensionTypes": ["immutableOwner"],
                  "mint": "5kR7n7QJv85NrwwXdYWZ52qkRcyvXqKWDPNooYcfDV6e"
                },
                "type": "getAccountDataSize"
              },
              "program": "spl-token",
              "programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
              "stackHeight": 2
            },
            {
              "parsed": {
                "info": {
                  "lamports": 2039280,
                  "newAccount": "9vLSZ1gujMzisVrK5r3ZBXLVJMrF3fp6BtAUDyD94nW2",
                  "owner": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
                  "source": "47eFuHR9ste9kopiJ9eRxcwahmE62JovbKe5r7AjANut",
                  "space": 165
                },
                "type": "createAccount"
              },
              "program": "system",
              "programId": "11111111111111111111111111111111",
              "stackHeight": 2
            },
            {
              "parsed": {
                "info": {
                  "account": "9vLSZ1gujMzisVrK5r3ZBXLVJMrF3fp6BtAUDyD94nW2"
                },
                "type": "initializeImmutableOwner"
              },
              "program": "spl-token",
              "programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
              "stackHeight": 2
            },
            {
              "parsed": {
                "info": {
                  "account": "9vLSZ1gujMzisVrK5r3ZBXLVJMrF3fp6BtAUDyD94nW2",
                  "mint": "5kR7n7QJv85NrwwXdYWZ52qkRcyvXqKWDPNooYcfDV6e",
                  "owner": "47eFuHR9ste9kopiJ9eRxcwahmE62JovbKe5r7AjANut"
                },
                "type": "initializeAccount3"
              },
              "program": "spl-token",
              "programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
              "stackHeight": 2
            }
          ]
        }
      ],
      "logMessages": [
        "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL invoke [1]",
        "Program log: Create",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]",
        "Program log: Instruction: GetAccountDataSize",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1595 of 193103 compute units",
        "Program return: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA pQAAAAAAAAA=",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",
        "Program 11111111111111111111111111111111 invoke [2]",
        "Program 11111111111111111111111111111111 success",
        "Program log: Initialize the associated token account",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]",
        "Program log: Instruction: InitializeImmutableOwner",
        "Program log: Please upgrade to SPL Token 2022 for immutable owner support",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1405 of 186490 compute units",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]",
        "Program log: Instruction: InitializeAccount3",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4214 of 182608 compute units",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",
        "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL consumed 21889 of 200000 compute units",
        "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL success"
      ],
      "postBalances": [996484120, 2039280, 1, 1461600, 933913600, 8468187701],
      "postTokenBalances": [
        {
          "accountIndex": 1,
          "mint": "5kR7n7QJv85NrwwXdYWZ52qkRcyvXqKWDPNooYcfDV6e",
          "owner": "47eFuHR9ste9kopiJ9eRxcwahmE62JovbKe5r7AjANut",
          "programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
          "uiTokenAmount": {
            "amount": "0",
            "decimals": 2,
            "uiAmount": null,
            "uiAmountString": "0"
          }
        }
      ],
      "preBalances": [998528400, 0, 1, 1461600, 933913600, 8468187701],
      "preTokenBalances": [],
      "rewards": [],
      "status": {
        "Ok": null
      }
    },
    "slot": 423118809,
    "transaction": {
      "message": {
        "accountKeys": [
          {
            "pubkey": "47eFuHR9ste9kopiJ9eRxcwahmE62JovbKe5r7AjANut",
            "signer": true,
            "source": "transaction",
            "writable": true
          },
          {
            "pubkey": "9vLSZ1gujMzisVrK5r3ZBXLVJMrF3fp6BtAUDyD94nW2",
            "signer": false,
            "source": "transaction",
            "writable": true
          },
          {
            "pubkey": "11111111111111111111111111111111",
            "signer": false,
            "source": "transaction",
            "writable": false
          },
          {
            "pubkey": "5kR7n7QJv85NrwwXdYWZ52qkRcyvXqKWDPNooYcfDV6e",
            "signer": false,
            "source": "transaction",
            "writable": false
          },
          {
            "pubkey": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",
            "signer": false,
            "source": "transaction",
            "writable": false
          },
          {
            "pubkey": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
            "signer": false,
            "source": "transaction",
            "writable": false
          }
        ],
        "addressTableLookups": [],
        "instructions": [
          {
            "parsed": {
              "info": {
                "account": "9vLSZ1gujMzisVrK5r3ZBXLVJMrF3fp6BtAUDyD94nW2",
                "mint": "5kR7n7QJv85NrwwXdYWZ52qkRcyvXqKWDPNooYcfDV6e",
                "source": "47eFuHR9ste9kopiJ9eRxcwahmE62JovbKe5r7AjANut",
                "systemProgram": "11111111111111111111111111111111",
                "tokenProgram": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
                "wallet": "47eFuHR9ste9kopiJ9eRxcwahmE62JovbKe5r7AjANut"
              },
              "type": "create"
            },
            "program": "spl-associated-token-account",
            "programId": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",
            "stackHeight": 1
          }
        ],
        "recentBlockhash": "sammEBUaf2T7Tnr41i5YwWXXrMsTiP3NM6vbAc5tZGU"
      },
      "signatures": [
        "56rgv1Fqg7MHLoct3ESNx8DHeC2c5TFYyK1As35paWn2KYuRuXPFZK3XDEwkkZemVfmnKrkj17mMzz4N1d8kMYC4"
      ]
    },
    "transactionIndex": 4,
    "version": 0
  },
  "id": 1
}
```

```json Base64
{
  "jsonrpc": "2.0",
  "result": {
    "blockTime": 1763751415,
    "meta": {
      "computeUnitsConsumed": 21889,
      "costUnits": 23273,
      "err": null,
      "fee": 5000,
      "innerInstructions": [
        {
          "index": 0,
          "instructions": [
            {
              "accounts": [3],
              "data": "84eT",
              "programIdIndex": 5,
              "stackHeight": 2
            },
            {
              "accounts": [0, 1],
              "data": "11119os1e9qSs2u7TsThXqkBSRVFxhmYaFKFZ1waB2X7armDmvK3p5GmLdUxYdg3h7QSrL",
              "programIdIndex": 2,
              "stackHeight": 2
            },
            {
              "accounts": [1],
              "data": "P",
              "programIdIndex": 5,
              "stackHeight": 2
            },
            {
              "accounts": [1, 3],
              "data": "6QFLvqUwxAjuz2HvEPJqmSbNyCeouS45dJEowLgrYTXLr",
              "programIdIndex": 5,
              "stackHeight": 2
            }
          ]
        }
      ],
      "loadedAddresses": {
        "readonly": [],
        "writable": []
      },
      "logMessages": [
        "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL invoke [1]",
        "Program log: Create",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]",
        "Program log: Instruction: GetAccountDataSize",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1595 of 193103 compute units",
        "Program return: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA pQAAAAAAAAA=",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",
        "Program 11111111111111111111111111111111 invoke [2]",
        "Program 11111111111111111111111111111111 success",
        "Program log: Initialize the associated token account",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]",
        "Program log: Instruction: InitializeImmutableOwner",
        "Program log: Please upgrade to SPL Token 2022 for immutable owner support",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1405 of 186490 compute units",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]",
        "Program log: Instruction: InitializeAccount3",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4214 of 182608 compute units",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",
        "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL consumed 21889 of 200000 compute units",
        "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL success"
      ],
      "postBalances": [996484120, 2039280, 1, 1461600, 933913600, 8468187701],
      "postTokenBalances": [
        {
          "accountIndex": 1,
          "mint": "5kR7n7QJv85NrwwXdYWZ52qkRcyvXqKWDPNooYcfDV6e",
          "owner": "47eFuHR9ste9kopiJ9eRxcwahmE62JovbKe5r7AjANut",
          "programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
          "uiTokenAmount": {
            "amount": "0",
            "decimals": 2,
            "uiAmount": null,
            "uiAmountString": "0"
          }
        }
      ],
      "preBalances": [998528400, 0, 1, 1461600, 933913600, 8468187701],
      "preTokenBalances": [],
      "rewards": [],
      "status": {
        "Ok": null
      }
    },
    "slot": 423118809,
    "transaction": [
      "Ac0eW3MXnK9n4dJBgIiH5W9t8nS4/FZbkli1bmz5aesWHXxI3bu5Zoxz5B6dXSUW1vR9/x3XMxO+/JF970vMXg2AAQAEBi5GrBM+qSeo3fyYXgLWbzsMer1vu0TJ3Sf43DYtsIiXhIdCgb/XxQIG3CZuALxz+9mWYsjCntSnsr1UDhVCPV8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEaN/dPbb1bTXSmTSGmbBtN8gi+Yb7reB5C1gsGk920XjJclj04kifG7PRApFI4NgwtaE5na/xCEBI572Nvp+FkG3fbh12Whk9nL4UbO63msHLSF7V9bN5E6jPWFfv8AqQz1Oe+t7LiYbNpMM924jv8cp+XOburi2kkygfFDAHNZAQQGAAEAAwIFAQAA",
      "base64"
    ],
    "transactionIndex": 4,
    "version": 0
  },
  "id": 1
}
```

```json Base58
{
  "jsonrpc": "2.0",
  "result": {
    "blockTime": 1763751415,
    "meta": {
      "computeUnitsConsumed": 21889,
      "costUnits": 23273,
      "err": null,
      "fee": 5000,
      "innerInstructions": [
        {
          "index": 0,
          "instructions": [
            {
              "accounts": [3],
              "data": "84eT",
              "programIdIndex": 5,
              "stackHeight": 2
            },
            {
              "accounts": [0, 1],
              "data": "11119os1e9qSs2u7TsThXqkBSRVFxhmYaFKFZ1waB2X7armDmvK3p5GmLdUxYdg3h7QSrL",
              "programIdIndex": 2,
              "stackHeight": 2
            },
            {
              "accounts": [1],
              "data": "P",
              "programIdIndex": 5,
              "stackHeight": 2
            },
            {
              "accounts": [1, 3],
              "data": "6QFLvqUwxAjuz2HvEPJqmSbNyCeouS45dJEowLgrYTXLr",
              "programIdIndex": 5,
              "stackHeight": 2
            }
          ]
        }
      ],
      "loadedAddresses": {
        "readonly": [],
        "writable": []
      },
      "logMessages": [
        "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL invoke [1]",
        "Program log: Create",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]",
        "Program log: Instruction: GetAccountDataSize",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1595 of 193103 compute units",
        "Program return: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA pQAAAAAAAAA=",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",
        "Program 11111111111111111111111111111111 invoke [2]",
        "Program 11111111111111111111111111111111 success",
        "Program log: Initialize the associated token account",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]",
        "Program log: Instruction: InitializeImmutableOwner",
        "Program log: Please upgrade to SPL Token 2022 for immutable owner support",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1405 of 186490 compute units",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]",
        "Program log: Instruction: InitializeAccount3",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4214 of 182608 compute units",
        "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",
        "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL consumed 21889 of 200000 compute units",
        "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL success"
      ],
      "postBalances": [996484120, 2039280, 1, 1461600, 933913600, 8468187701],
      "postTokenBalances": [
        {
          "accountIndex": 1,
          "mint": "5kR7n7QJv85NrwwXdYWZ52qkRcyvXqKWDPNooYcfDV6e",
          "owner": "47eFuHR9ste9kopiJ9eRxcwahmE62JovbKe5r7AjANut",
          "programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
          "uiTokenAmount": {
            "amount": "0",
            "decimals": 2,
            "uiAmount": null,
            "uiAmountString": "0"
          }
        }
      ],
      "preBalances": [998528400, 0, 1, 1461600, 933913600, 8468187701],
      "preTokenBalances": [],
      "rewards": [],
      "status": {
        "Ok": null
      }
    },
    "slot": 423118809,
    "transaction": [
      "GENi5ePDyCEf3ah4nPP8CstvkUxuemBPZWNpdNaWdyiGy3KUXWuQFXcN9PVhGSSVDBKD2Q6EnVXM6QBMGamR8ePYdownHxkRB8jsGkni6Eqc5FNZU88F3PFGjX9Dzhz1CBhpJy2hbZyG9TtmLdj4g2tTZoYn1FTdkpcyUXudHHHBgYMSsAXtitfXJotfo4pE1XSFmGnanu4zvCZELYwfJH32Kwh2GQz6ANhrcSe2SHZa8XRQ4mu6r5efTB6cdoUcvH9YW34dtxYZ24iE8v8XYuPUqr6wWqs4uzpQDyAJqyLoNnXRjXqhV5ibN7G7Z3hYk7CAL3JXDgVL9zKWhYsfCxK6XQCoqnKb6CZ249t8ibGmbkXd83hmHFPFZrzgdX4sRpfYNaLve3j6BQiLCsCzHyCTgse83t9KM",
      "base58"
    ],
    "transactionIndex": 4,
    "version": 0
  },
  "id": 1
}
```

</CodeGroup>
