/wallet/getincomingviewingkey REST API Endpoint
Body Parameters
ak
string
REQUIRED
Loading...
nk
string
REQUIRED
Loading...
Returns
ivk
Loading...
Request
curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getincomingviewingkey \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --data '{ "ak": "72b041a8006a02a995c24f5b8531a62008c8c54a1979622dc4ea6f54a506732d", "nk": "da6542f57f6f730cb31b401b9ca8660589d8a765405c6d6f48fd392ac5360b0a" } '
const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getincomingviewingkey'; const data = { ak: "72b041a8006a02a995c24f5b8531a62008c8c54a1979622dc4ea6f54a506732d", nk: "da6542f57f6f730cb31b401b9ca8660589d8a765405c6d6f48fd392ac5360b0a" }; fetch(url, { method: 'POST', headers: { 'accept': 'application/json', 'content-type': 'application/json' }, body: JSON.stringify(data) }) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error(error));
import requests url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/getincomingviewingkey" data = { 'ak': '72b041a8006a02a995c24f5b8531a62008c8c54a1979622dc4ea6f54a506732d', 'nk': 'da6542f57f6f730cb31b401b9ca8660589d8a765405c6d6f48fd392ac5360b0a' } headers = { 'accept': 'application/json', 'content-type': 'application/json' } response = requests.post(url, json=data, headers=headers) print(response.json())
require "uri" require "net/http" require 'json' url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/getincomingviewingkey") data = { ak: "72b041a8006a02a995c24f5b8531a62008c8c54a1979622dc4ea6f54a506732d", nk: "da6542f57f6f730cb31b401b9ca8660589d8a765405c6d6f48fd392ac5360b0a" } headers = { 'accept' => 'application/json', 'content-type' => 'application/json' } http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Post.new(url.path, headers) request.body = data.to_json response = http.request(request) puts response.body
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free