/wallet/scanshieldedtrc20notesbyivk REST API Endpoint
身體參數
start_block_index
整數
必填
載入中...
end_block_index
整數
必填
載入中...
shielded_TRC20_contract_address
字串
必填
載入中...
ivk
字串
必填
載入中...
ak
字串
必填
載入中...
nk
字串
必填
載入中...
visible
布林值
載入中...
退貨
is_spent
載入中...
請求
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};1213取得(url, {14方法: 'POST',15headers: {16'accept': 'application/json',17'content-type': 'application/json'18},19body: JSON.stringify(data)20})21.接著(回應 => 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};1213取得(url, {14方法: 'POST',15headers: {16'accept': 'application/json',17'content-type': 'application/json'18},19body: JSON.stringify(data)20})21.接著(回應 => response.json())22.then(data => console.log(data))23.catch(error => console.error(error));24
1匯入 請求23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/scanshieldedtrc20notesbyivk"45資料 = {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}1415標題 = {16'accept': 'application/json',17'content-type': 'application/json'18}1920response = requests.post(url, json=data, headers=headers)21print(response.json())22
1匯入 請求23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/scanshieldedtrc20notesbyivk"45資料 = {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}1415標題 = {16'accept': 'application/json',17'content-type': 'application/json'18}1920response = requests.post(url, json=data, headers=headers)21print(response.json())22
1需要 "uri"2需要 "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/scanshieldedtrc20notesbyivk")67資料 = {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}1617標題 = {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)26請求。正文 = data.to_json2728回應 = http.請求(請求)29將回應。正文30
1需要 "uri"2需要 "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/scanshieldedtrc20notesbyivk")67資料 = {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}1617標題 = {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)26請求。正文 = data.to_json2728回應 = http.請求(請求)29將回應。正文30