跳至主要內容

channel_authorize RPC Method

載入中...

更新於
Jun 11, 2026

channel_authorize RPC Method

The channel_authorize method requires the request to include one of the following parameters: 'secret', 'seed', 'seed_hex', or 'passphrase', specifying the necessary authentication information. Please refrain from transmitting secret keys to untrusted servers or via unsecured network connections (This includes the secret, seed, seed_hex, or passphrase fields of this request). You should only use this method on a secure, encrypted network connection to a server you run or fully trust with your funds. Failure to do so may expose your secret key to eavesdroppers, enabling them to sign claims and access all funds within the payment channel and any other systems utilizing the same key pair. For detailed instructions, refer to the Set Up Secure Signing guidelines.

參數

物件
物件
必填
載入中...
channel_id
字串
必填
載入中...
種子
字串
載入中...
key_type
字串
載入中...
金額
字串
必填
載入中...

退貨

結果
物件
載入中...
簽名
字串
載入中...
狀態
字串
載入中...
warnings
陣列
載入中...
id
整數
載入中...
訊息
字串
載入中...
請求
回應
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"result": {
6
"signature": "example_value",
7
"status": "example_value"
8
},
9
"warnings": [
10
{
11
"id": 1,
12
"message": "example_value"
13
}
14
]
15
}
16
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"result": {
6
"signature": "example_value",
7
"status": "example_value"
8
},
9
"warnings": [
10
{
11
"id": 1,
12
"message": "example_value"
13
}
14
]
15
}
16
}
還沒有帳號嗎?
只需幾秒鐘即可建立您的 Quicknode 端點,並開始建置
立即免費開始使用