/wallet/scanshieldedtrc20notesbyivk REST API Endpoint
身体パラメータ
start_block_index
整数
必須
読み込み中...
end_block_index
整数
必須
読み込み中...
shielded_TRC20_contract_address
文字列
必須
読み込み中...
ivk
文字列
必須
読み込み中...
ak
文字列
必須
読み込み中...
nk
文字列
必須
読み込み中...
表示されている
ブール値
読み込み中...
返品
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};1213fetch(url, {14メソッド: 'POST',15headers: {16'accept': 'application/json',17'content-type': 'application/json'18},19body: JSON.stringify(data)20})21.その後(レスポンス => レスポンス.json())22.その後(データ => コンソール.log(data))23.catchcatch(エラー => console.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, {14メソッド: 'POST',15headers: {16'accept': 'application/json',17'content-type': 'application/json'18},19body: JSON.stringify(data)20})21.その後(レスポンス => レスポンス.json())22.その後(データ => コンソール.log(data))23.catchcatch(エラー => console.error(エラー));24
1import リクエスト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)21印刷(レスポンス.json())22
1import リクエスト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)21印刷(レスポンス.json())22
1require "uri"2require "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 = ネット::HTTP.new(url.ホスト, url.ポート)23http.use_ssl = true2425request = Net::HTTP::Post.new(url.path, headers)26リクエスト.本文 = data.to_json2728回答 = http.リクエスト(リクエスト)29レスポンスを格納する。body30
1require "uri"2require "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 = ネット::HTTP.new(url.ホスト, url.ポート)23http.use_ssl = true2425request = Net::HTTP::Post.new(url.path, headers)26リクエスト.本文 = data.to_json2728回答 = http.リクエスト(リクエスト)29レスポンスを格納する。body30