/wallet/scanshieldedtrc20notesbyivk 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...
ivk
chaîne de caractères
OBLIGATOIRE
Chargement...
ak
chaîne de caractères
OBLIGATOIRE
Chargement...
nk
chaîne de caractères
OBLIGATOIRE
Chargement...
visible
booléen
Chargement...
Renvoie
is_spent
Chargement...
Requête
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/scanshieldedtrc20notesbyivk \2--header 'accept: application/json' \3--header 'content-type: application/json'4--data '{5"ivk": "INCOMING_VIEWING_KEY",6"shielded_TRC20_contract_address": "CONTRACT_ADDRESS",7"end_block_index": 567,8"start_block_index": 345,9"ak": "ADDRESS_KEY",10"visible": true,11"nk": "NOTE_KEY"12}13'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/scanshieldedtrc20notesbyivk \2--header 'accept: application/json' \3--header 'content-type: application/json'4--data '{5"ivk": "INCOMING_VIEWING_KEY",6"shielded_TRC20_contract_address": "CONTRACT_ADDRESS",7"end_block_index": 567,8"start_block_index": 345,9"ak": "ADDRESS_KEY",10"visible": true,11"nk": "NOTE_KEY"12}13'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/scanshieldedtrc20notesbyivk';23const data = {4ivk: 'INCOMING_VIEWING_KEY',5shielded_TRC20_contract_address: 'CONTRACT_ADDRESS',6end_block_index: 567,7start_block_index: 345,8ak: 'ADDRESS_KEY',9visible: true,10nk: 'NOTE_KEY'11};1213fetch(url, {14method: 'POST',15headers: {16'accept': 'application/json',17'content-type': 'application/json'18},19body: JSON.stringify(data)20})21.then(response => response.json())22.then(data => console.log(data))23.catch(error => console.error(error));24
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/scanshieldedtrc20notesbyivk';23const data = {4ivk: 'INCOMING_VIEWING_KEY',5shielded_TRC20_contract_address: 'CONTRACT_ADDRESS',6end_block_index: 567,7start_block_index: 345,8ak: 'ADDRESS_KEY',9visible: true,10nk: 'NOTE_KEY'11};1213fetch(url, {14method: 'POST',15headers: {16'accept': 'application/json',17'content-type': 'application/json'18},19body: JSON.stringify(data)20})21.then(response => response.json())22.then(data => console.log(data))23.catch(error => console.error(error));24
1import requests23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/scanshieldedtrc20notesbyivk"45data = {6'ivk': 'INCOMING_VIEWING_KEY',7'shielded_TRC20_contract_address': 'CONTRACT_ADDRESS',8'end_block_index': 567,9'start_block_index': 345,10'ak': 'ADDRESS_KEY',11'visible': True,12'nk': 'NOTE_KEY'13}1415headers = {16'accept': 'application/json',17'content-type': 'application/json'18}1920response = requests.post(url, json=data, headers=headers)21print(response.json())22
1import requests23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/scanshieldedtrc20notesbyivk"45data = {6'ivk': 'INCOMING_VIEWING_KEY',7'shielded_TRC20_contract_address': 'CONTRACT_ADDRESS',8'end_block_index': 567,9'start_block_index': 345,10'ak': 'ADDRESS_KEY',11'visible': True,12'nk': 'NOTE_KEY'13}1415headers = {16'accept': 'application/json',17'content-type': 'application/json'18}1920response = requests.post(url, json=data, headers=headers)21print(response.json())22
1require "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/scanshieldedtrc20notesbyivk")67data = {8ivk: 'INCOMING_VIEWING_KEY',9shielded_TRC20_contract_address: 'CONTRACT_ADDRESS',10end_block_index: 567,11start_block_index: 345,12ak: 'ADDRESS_KEY',13visible: true,14nk: 'NOTE_KEY'15}1617headers = {18'accept' => 'application/json',19'content-type' => 'application/json'20}2122http = Net::HTTP.new(url.host, url.port)23http.use_ssl = true2425request = Net::HTTP::Post.new(url.path, headers)26request.body = data.to_json2728response = http.request(request)29puts response.body30
1require "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/scanshieldedtrc20notesbyivk")67data = {8ivk: 'INCOMING_VIEWING_KEY',9shielded_TRC20_contract_address: 'CONTRACT_ADDRESS',10end_block_index: 567,11start_block_index: 345,12ak: 'ADDRESS_KEY',13visible: true,14nk: 'NOTE_KEY'15}1617headers = {18'accept' => 'application/json',19'content-type' => 'application/json'20}2122http = Net::HTTP.new(url.host, url.port)23http.use_ssl = true2425request = Net::HTTP::Post.new(url.path, headers)26request.body = data.to_json2728response = http.request(request)29puts response.body30
Vous n'avez pas encore de compte ?
Créez votre endpoint Quicknode en quelques secondes et commencez à développer
Commencez gratuitement