/wallet/getnkfromnsk REST API Endpoint
Paramètres du corps
valeur
chaîne de caractères
OBLIGATOIRE
Chargement...
Renvoie
valeur
Chargement...
Requête
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getnkfromnsk \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '{5"value": "da6542f57f6f730cb31b401b9ca8660589d8a765405c6d6f48fd392ac5360b0a"6}7'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getnkfromnsk \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '{5"value": "da6542f57f6f730cb31b401b9ca8660589d8a765405c6d6f48fd392ac5360b0a"6}7'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getnkfromnsk';23const data = {4value: "da6542f57f6f730cb31b401b9ca8660589d8a765405c6d6f48fd392ac5360b0a"5};67fetch(url, {8method: 'POST',9headers: {10'accept': 'application/json',11'content-type': 'application/json'12},13body: JSON.stringify(data)14})15.then(response => response.json())16.then(data => console.log(data))17.catch(error => console.error(error));18
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getnkfromnsk';23const data = {4value: "da6542f57f6f730cb31b401b9ca8660589d8a765405c6d6f48fd392ac5360b0a"5};67fetch(url, {8method: 'POST',9headers: {10'accept': 'application/json',11'content-type': 'application/json'12},13body: JSON.stringify(data)14})15.then(response => response.json())16.then(data => console.log(data))17.catch(error => console.error(error));18
1import requests23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/getnkfromnsk"45data = {6'value': 'da6542f57f6f730cb31b401b9ca8660589d8a765405c6d6f48fd392ac5360b0a'7}89headers = {10'accept': 'application/json',11'content-type': 'application/json'12}1314response = requests.post(url, json=data, headers=headers)15print(response.json())16
1import requests23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/getnkfromnsk"45data = {6'value': 'da6542f57f6f730cb31b401b9ca8660589d8a765405c6d6f48fd392ac5360b0a'7}89headers = {10'accept': 'application/json',11'content-type': 'application/json'12}1314response = requests.post(url, json=data, headers=headers)15print(response.json())16
1require "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/getnkfromnsk")67data = {8value: "da6542f57f6f730cb31b401b9ca8660589d8a765405c6d6f48fd392ac5360b0a"9}1011headers = {12'accept' => 'application/json',13'content-type' => 'application/json'14}1516http = Net::HTTP.new(url.host, url.port)17http.use_ssl = true1819request = Net::HTTP::Post.new(url.path, headers)20request.body = data.to_json2122response = http.request(request)23puts response.body
1require "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/getnkfromnsk")67data = {8value: "da6542f57f6f730cb31b401b9ca8660589d8a765405c6d6f48fd392ac5360b0a"9}1011headers = {12'accept' => 'application/json',13'content-type' => 'application/json'14}1516http = Net::HTTP.new(url.host, url.port)17http.use_ssl = true1819request = Net::HTTP::Post.new(url.path, headers)20request.body = data.to_json2122response = http.request(request)23puts response.body
Vous n'avez pas encore de compte ?
Créez votre endpoint Quicknode en quelques secondes et commencez à développer
Commencez gratuitement