/walletsolidity/scanshieldedtrc20notesbyovk REST API Endpoint
Paramètres du corps
start_block_index
entier
OBLIGATOIRE
Chargement...
end_block_index
entier
OBLIGATOIRE
Chargement...
shielded_TRC20_contract_address
chaîne de caractères
OBLIGATOIRE
Chargement...
ovk
chaîne de caractères
OBLIGATOIRE
Chargement...
visible
booléen
OBLIGATOIRE
Chargement...
Renvoie
is_spent
Chargement...
Requête
1curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/scanshieldedtrc20notesbyovk \2--header 'accept: application/json' \3--header 'content-type: application/json'4--data '{5"start_block_index": 434,6"end_block_index": 567,7"shielded_TRC20_contract_address": "CONTRACT_ADDRESS",8"ovk": "OPTICAL_VIEWING_KEY",9"visible": true10}11'
1curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/scanshieldedtrc20notesbyovk \2--header 'accept: application/json' \3--header 'content-type: application/json'4--data '{5"start_block_index": 434,6"end_block_index": 567,7"shielded_TRC20_contract_address": "CONTRACT_ADDRESS",8"ovk": "OPTICAL_VIEWING_KEY",9"visible": true10}11'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/scanshieldedtrc20notesbyovk';23const data = {4start_block_index: 434,5end_block_index: 567,6shielded_TRC20_contract_address: "CONTRACT_ADDRESS",7ovk: "OPTICAL_VIEWING_KEY",8visible: true9};1011fetch(url, {12method: 'POST',13headers: {14'accept': 'application/json',15'content-type': 'application/json'16},17body: JSON.stringify(data)18})19.then(response => response.json())20.then(data => console.log(data))21.catch(error => console.error(error));22
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/scanshieldedtrc20notesbyovk';23const data = {4start_block_index: 434,5end_block_index: 567,6shielded_TRC20_contract_address: "CONTRACT_ADDRESS",7ovk: "OPTICAL_VIEWING_KEY",8visible: true9};1011fetch(url, {12method: 'POST',13headers: {14'accept': 'application/json',15'content-type': 'application/json'16},17body: JSON.stringify(data)18})19.then(response => response.json())20.then(data => console.log(data))21.catch(error => console.error(error));22
1import requests23url = "https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/scanshieldedtrc20notesbyovk"45data = {6'start_block_index': 434,7'end_block_index': 567,8'shielded_TRC20_contract_address': 'CONTRACT_ADDRESS',9'ovk': 'OPTICAL_VIEWING_KEY',10'visible': True11}1213headers = {14'accept': 'application/json',15'content-type': 'application/json'16}1718response = requests.post(url, json=data, headers=headers)19print(response.json())20
1import requests23url = "https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/scanshieldedtrc20notesbyovk"45data = {6'start_block_index': 434,7'end_block_index': 567,8'shielded_TRC20_contract_address': 'CONTRACT_ADDRESS',9'ovk': 'OPTICAL_VIEWING_KEY',10'visible': True11}1213headers = {14'accept': 'application/json',15'content-type': 'application/json'16}1718response = requests.post(url, json=data, headers=headers)19print(response.json())20
1require "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/scanshieldedtrc20notesbyovk")67data = {8start_block_index: 434,9end_block_index: 567,10shielded_TRC20_contract_address: "CONTRACT_ADDRESS",11ovk: "OPTICAL_VIEWING_KEY",12visible: true13}1415headers = {16'accept' => 'application/json',17'content-type' => 'application/json'18}1920http = Net::HTTP.new(url.host, url.port)21http.use_ssl = true2223request = Net::HTTP::Post.new(url.path, headers)24request.body = data.to_json2526response = http.request(request)27puts response.body2829
1require "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/scanshieldedtrc20notesbyovk")67data = {8start_block_index: 434,9end_block_index: 567,10shielded_TRC20_contract_address: "CONTRACT_ADDRESS",11ovk: "OPTICAL_VIEWING_KEY",12visible: true13}1415headers = {16'accept' => 'application/json',17'content-type' => 'application/json'18}1920http = Net::HTTP.new(url.host, url.port)21http.use_ssl = true2223request = Net::HTTP::Post.new(url.path, headers)24request.body = data.to_json2526response = http.request(request)27puts response.body2829
Vous n'avez pas encore de compte ?
Créez votre endpoint Quicknode en quelques secondes et commencez à développer
Commencez gratuitement