/wallet/getnkfromnsk REST API Endpoint
Body Parameters
value
string
REQUIRED
Loading...
Returns
value
Loading...
Request
curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getnkfromnsk \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"value": "da6542f57f6f730cb31b401b9ca8660589d8a765405c6d6f48fd392ac5360b0a"
}
'const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getnkfromnsk';
const data = {
value: "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/getnkfromnsk"
data = {
'value': '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/getnkfromnsk")
data = {
value: "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.bodyDon't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free