/wallet/createspendauthsig REST API Endpoint
Körperparameter
ask
Zeichenkette
ERFORDERLICH
Wird geladen...
tx_hash
Zeichenkette
ERFORDERLICH
Wird geladen...
alpha
Zeichenkette
ERFORDERLICH
Wird geladen...
Rücksendungen
Wert
Wird geladen...
Anfrage
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/createspendauthsig \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--Daten '{5"ask": "0f63eabdfe2bbfe08012f6bb2db024e6809c16e8ed055aa41a6095424f192005",6"tx_hash": "7fb99e66df052f430d50e80a3f197c319a4e35184ed48a433d6219e025741337",7"alpha": "d0f0768664f5c807f9e70d05993f029c71da529afaa5c037b44c63d6e13bc907"8}9'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/createspendauthsig \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--Daten '{5"ask": "0f63eabdfe2bbfe08012f6bb2db024e6809c16e8ed055aa41a6095424f192005",6"tx_hash": "7fb99e66df052f430d50e80a3f197c319a4e35184ed48a433d6219e025741337",7"alpha": "d0f0768664f5c807f9e70d05993f029c71da529afaa5c037b44c63d6e13bc907"8}9'
1fetch("https://docs-demo.tron-mainnet.quiknode.pro/wallet/createspendauthsig", {2Methode: 'POST',3headers: {4'Accept': 'application/json',5'Content-Type': 'application/json'6},7body: JSON.stringify({8"ask": "0f63eabdfe2bbfe08012f6bb2db024e6809c16e8ed055aa41a6095424f192005",9"tx_hash": "7fb99e66df052f430d50e80a3f197c319a4e35184ed48a433d6219e025741337",10"alpha": "d0f0768664f5c807f9e70d05993f029c71da529afaa5c037b44c63d6e13bc907"11})12})13.dann(Antwort => Antwort.json())14.then(data => {15// Handle the response data16console.log(data);17})18.catch(Fehler => {19// Handle any errors20Konsole.Fehler(Fehler);21});22
1fetch("https://docs-demo.tron-mainnet.quiknode.pro/wallet/createspendauthsig", {2Methode: 'POST',3headers: {4'Accept': 'application/json',5'Content-Type': 'application/json'6},7body: JSON.stringify({8"ask": "0f63eabdfe2bbfe08012f6bb2db024e6809c16e8ed055aa41a6095424f192005",9"tx_hash": "7fb99e66df052f430d50e80a3f197c319a4e35184ed48a433d6219e025741337",10"alpha": "d0f0768664f5c807f9e70d05993f029c71da529afaa5c037b44c63d6e13bc907"11})12})13.dann(Antwort => Antwort.json())14.then(data => {15// Handle the response data16console.log(data);17})18.catch(Fehler => {19// Handle any errors20Konsole.Fehler(Fehler);21});22
1import Anfragen2import json34url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/createspendauthsig"5Überschriften = {6'Accept': 'application/json',7'Content-Type': 'application/json'8}9Daten = {10"ask": "0f63eabdfe2bbfe08012f6bb2db024e6809c16e8ed055aa41a6095424f192005",11"tx_hash": "7fb99e66df052f430d50e80a3f197c319a4e35184ed48a433d6219e025741337",12"alpha": "d0f0768664f5c807f9e70d05993f029c71da529afaa5c037b44c63d6e13bc907"13}1415response = requests.post(url, headers=headers, json=data)1617wenn Antwort.status_code == 200:18# Successful request19data = response.json()20# Handle the response data21print(data)22sonst:23# Request encountered an error24print("Error:", response.status_code)25
1import Anfragen2import json34url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/createspendauthsig"5Überschriften = {6'Accept': 'application/json',7'Content-Type': 'application/json'8}9Daten = {10"ask": "0f63eabdfe2bbfe08012f6bb2db024e6809c16e8ed055aa41a6095424f192005",11"tx_hash": "7fb99e66df052f430d50e80a3f197c319a4e35184ed48a433d6219e025741337",12"alpha": "d0f0768664f5c807f9e70d05993f029c71da529afaa5c037b44c63d6e13bc907"13}1415response = requests.post(url, headers=headers, json=data)1617wenn Antwort.status_code == 200:18# Successful request19data = response.json()20# Handle the response data21print(data)22sonst:23# Request encountered an error24print("Error:", response.status_code)25
1require 'net/http'2require 'json'34url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/createspendauthsig")5http = Net::HTTP.new(url.host, URL.Port)6Anfrage = Netto::HTTP::POST.new(URL)7request["Accept"] = 'application/json'8request["Content-Type"] = 'application/json'9request.body = {10"ask": "0f63eabdfe2bbfe08012f6bb2db024e6809c16e8ed055aa41a6095424f192005",11"tx_hash": "7fb99e66df052f430d50e80a3f197c319a4e35184ed48a433d6219e025741337",12"alpha": "d0f0768664f5c807f9e70d05993f029c71da529afaa5c037b44c63d6e13bc907"13}.to_json1415Antwort = http.Anfrage(Anfrage)1617if response.code == "200"18# Successful request19data = JSON.parse(response.body)20# Handle the response data21puts data22sonst23# Request encountered an error24puts "25
1require 'net/http'2require 'json'34url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/createspendauthsig")5http = Net::HTTP.new(url.host, URL.Port)6Anfrage = Netto::HTTP::POST.new(URL)7request["Accept"] = 'application/json'8request["Content-Type"] = 'application/json'9request.body = {10"ask": "0f63eabdfe2bbfe08012f6bb2db024e6809c16e8ed055aa41a6095424f192005",11"tx_hash": "7fb99e66df052f430d50e80a3f197c319a4e35184ed48a433d6219e025741337",12"alpha": "d0f0768664f5c807f9e70d05993f029c71da529afaa5c037b44c63d6e13bc907"13}.to_json1415Antwort = http.Anfrage(Anfrage)1617if response.code == "200"18# Successful request19data = JSON.parse(response.body)20# Handle the response data21puts data22sonst23# Request encountered an error24puts "25
Haben Sie noch kein Konto?
Erstellen Sie Ihren Quicknode-Endpunkt in Sekundenschnelle und legen Sie los
Kostenlos loslegen