> For the complete documentation index, see [llms.txt](https://bitlong.gitbook.io/api-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bitlong.gitbook.io/api-doc/tapd-api/schnorr.md).

# Schnorr

### 1.SignSchnorr

```go
func SignSchnorr(hexPrivateKey string, message string) (string, error)
```

#### 参数

`hexPrivateKey` <mark style="color:orange;">string</mark> 私钥

`message` <mark style="color:orange;">string</mark> 消息

#### 响应

<mark style="color:orange;">string</mark> 签名

<mark style="color:orange;">error</mark> 错误
