> ## 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

**chainId** `string` *required* (default: 1001)

Unique identifier for a blockchain network.

**id** `number` *required* (default: 1)

Request identifier used to match responses.

**jsonrpc** `string` *required* (default: 2.0)

JSON-RPC version.

**method** `string` *required* (default: klay\_decodeAccountKey)

JSON-RPC method name.

**params** `object` *required*

Parameters: \[encodedAccountKey].

Positional parameters for `klay_decodeAccountKey`:

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

### Returns

**result** `object`

Decoded account key structure.

**properties**

**keyType** `string`

Account key type.

**key** `object`

Account key payload.

```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..."
    ]
  }'
```

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.