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.
Paramètres
objet
objet
OBLIGATOIRE
Chargement...
channel_id
chaîne de caractères
OBLIGATOIRE
Chargement...
graine
chaîne de caractères
Chargement...
type_de_clé
chaîne de caractères
Chargement...
montant
chaîne de caractères
OBLIGATOIRE
Chargement...
Renvoie
résultat
objet
Chargement...
signature
chaîne de caractères
Chargement...
statut
chaîne de caractères
Chargement...
warnings
tableau
Chargement...
ID
entier
Chargement...
Message
chaîne de caractères
Chargement...
Requête
Réponse
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}
Vous n'avez pas encore de compte ?
Créez votre endpoint Quicknode en quelques secondes et commencez à développer
Commencez gratuitement