Ga naar de hoofdinhoud

channel_authorize RPC Method

Bezig met laden...

Bijgewerkt op
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.

Parameters

object
object
VERPLICHT
Bezig met laden...
channel_id
tekenreeks
VERPLICHT
Bezig met laden...
seed
tekenreeks
Bezig met laden...
key_type
tekenreeks
Bezig met laden...
amount
tekenreeks
VERPLICHT
Bezig met laden...

Retourzendingen

resultaat
object
Bezig met laden...
signature
tekenreeks
Bezig met laden...
status
tekenreeks
Bezig met laden...
warnings
array
Bezig met laden...
id
geheel getal
Bezig met laden...
bericht
tekenreeks
Bezig met laden...
Verzoek
Antwoord
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
}
Heb je nog geen account?
Maak binnen enkele seconden je Quicknode-eindpunt aan en ga aan de slag
Ga gratis aan de slag