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

# klay_decodeAccountKey

> Decodes an RLP-encoded Klaytn account key.

### Parameters

<ParamField query="chainId" type="string" default="1001" required>
  Unique identifier for a blockchain network.
</ParamField>

<ParamField body="id" type="number" default={1} required>
  Request identifier used to match responses.
</ParamField>

<ParamField body="jsonrpc" type="string" default="2.0" required>
  JSON-RPC version.
</ParamField>

<ParamField body="method" type="string" default="klay_decodeAccountKey" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={["0x02f8..."]} placeholder="[&#x22;0x02f8...&#x22;]" required>
  Parameters: \[encodedAccountKey].

  Positional parameters for <code>klay\_decodeAccountKey</code>:

  <ul>
    <li><code>params\[]</code>: RLP-encoded account key string.</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="object">
  Decoded account key structure.

  <Expandable title="properties">
    <ResponseField name="keyType" type="string">
      Account key type.
    </ResponseField>

    <ResponseField name="key" type="object">
      Account key payload.
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash Curl theme={null}
  curl --request POST \
    --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=1001 \
    --header 'content-type: application/json' \
    --data '{
      "id": 1,
      "jsonrpc": "2.0",
      "method": "klay_decodeAccountKey",
      "params": [
        "0x02f8..."
      ]
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": {}
  }
  ```
</ResponseExample>
