/walletsolidity/isshieldedtrc20contractnotespent REST API Endpoint
Paramètres corporels
ak
chaîne de caractères
OBLIGATOIRE
Chargement en cours...
nk
chaîne de caractères
OBLIGATOIRE
Chargement en cours...
poste
chaîne de caractères
OBLIGATOIRE
Chargement en cours...
shielded_TRC20_contract_address
chaîne de caractères
OBLIGATOIRE
Chargement en cours...
Retours
is_spent
Chargement en cours...
Demande
1curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/isshieldedtrc20contractnotespent \2--header 'accept: application/json' \3--header 'content-type: application/json'4--data '{5"ak": "ADDRESS_KEY",6"nk": "NOTE_KEY",7"position": "POSITION",8"shielded_TRC20_contract_address": "CONTRACT_ADDRESS"9}10'
1curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/isshieldedtrc20contractnotespent \2--header 'accept: application/json' \3--header 'content-type: application/json'4--data '{5"ak": "ADDRESS_KEY",6"nk": "NOTE_KEY",7"position": "POSITION",8"shielded_TRC20_contract_address": "CONTRACT_ADDRESS"9}10'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/isshieldedtrc20contractnotespent';23const données = {4ak: "ADDRESS_KEY",5nk: "NOTE_KEY",6position: "POSITION",7shielded_TRC20_contract_address: "CONTRACT_ADDRESS"8};910fetch(url, {11méthode: « POST »,12headers: {13'accept': 'application/json',14'content-type': 'application/json'15},16body: JSON.stringify(data)17})18.then(response => response.json())19.then(data => console.log(data))20.catch(error => console.error(error));21
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/isshieldedtrc20contractnotespent';23const données = {4ak: "ADDRESS_KEY",5nk: "NOTE_KEY",6position: "POSITION",7shielded_TRC20_contract_address: "CONTRACT_ADDRESS"8};910fetch(url, {11méthode: « POST »,12headers: {13'accept': 'application/json',14'content-type': 'application/json'15},16body: JSON.stringify(data)17})18.then(response => response.json())19.then(data => console.log(data))20.catch(error => console.error(error));21
1import demandes23url = "https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/isshieldedtrc20contractnotespent"45data = {6'ak': 'ADDRESS_KEY',7'nk': 'NOTE_KEY',8'position': 'POSITION',9'shielded_TRC20_contract_address': 'CONTRACT_ADDRESS'10}1112en-têtes = {13'accept': 'application/json',14'content-type': 'application/json'15}1617response = requests.post(url, json=data, headers=headers)18print(response.json())19
1import demandes23url = "https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/isshieldedtrc20contractnotespent"45data = {6'ak': 'ADDRESS_KEY',7'nk': 'NOTE_KEY',8'position': 'POSITION',9'shielded_TRC20_contract_address': 'CONTRACT_ADDRESS'10}1112en-têtes = {13'accept': 'application/json',14'content-type': 'application/json'15}1617response = requests.post(url, json=data, headers=headers)18print(response.json())19
1nécessite « uri »2nécessite « net/http »3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/isshieldedtrc20contractnotespent")67data = {8'ak' => 'ADDRESS_KEY',9'nk' => 'NOTE_KEY',10'position' => 'POSITION',11'shielded_TRC20_contract_address' => 'CONTRACT_ADDRESS'12}1314en-têtes = {15'accept' => 'application/json',16'content-type' => 'application/json'17}1819http = Net::HTTP.new(url.serveur, url.port)20http.use_ssl = true2122request = Net::HTTP::Post.new(url.path, headers)23request.body = data.to_json2425réponse = http.requête(requête)26affiche la réponse.corps27
1nécessite « uri »2nécessite « net/http »3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/isshieldedtrc20contractnotespent")67data = {8'ak' => 'ADDRESS_KEY',9'nk' => 'NOTE_KEY',10'position' => 'POSITION',11'shielded_TRC20_contract_address' => 'CONTRACT_ADDRESS'12}1314en-têtes = {15'accept' => 'application/json',16'content-type' => 'application/json'17}1819http = Net::HTTP.new(url.serveur, url.port)20http.use_ssl = true2122request = Net::HTTP::Post.new(url.path, headers)23request.body = data.to_json2425réponse = http.requête(requête)26affiche la réponse.corps27
Vous n'avez pas encore de compte ?
Créez votreendpoint Quicknode endpoint quelques secondes et commencez à développer
Commencez gratuitement