/wallet/getakfromask REST API Endpoint
Body Parameters
value
string
REQUIRED
Loading...
Returns
success
Loading...
addressKey
Loading...
Request
curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getakfromask \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"value": "23d11537676610c287ffcd1bc33d650df37fc90d13bb65356fbc9045cfb91705"
}
'const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getakfromask';
const data = {
value: "23d11537676610c287ffcd1bc33d650df37fc90d13bb65356fbc9045cfb91705"
};
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/getakfromask"
data = {
'value': '23d11537676610c287ffcd1bc33d650df37fc90d13bb65356fbc9045cfb91705'
}
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/getakfromask")
data = {
value: "23d11537676610c287ffcd1bc33d650df37fc90d13bb65356fbc9045cfb91705"
}
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