---
title: "Generate Pay-To-Public-Key address from hex-encoded raw pubkey (secp256k1 serialized point)"
method: GET
path: "/utils/rawToAddress/{pubkeyHex}"
tags: ["utils"]
---

# Generate Pay-To-Public-Key address from hex-encoded raw pubkey (secp256k1 serialized point)

`GET /utils/rawToAddress/{pubkeyHex}`

## Path parameters

- `pubkeyHex` string, required

## Response `200`

Pay-to-public-key (P2PK) address

- string — Encoded Ergo Address

## Other responses

- `default` — Error

---

[API](https://skmtc.dev/ergoplatform/apis/ergo-node-api.md) · [All operations](https://skmtc.dev/ergoplatform/apis/ergo-node-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ergoplatform/ergo-node-api/revisions/a731602272c6/schema)
