/wallet/getexchangebyid REST API Endpoint
Parâmetros corporais
id
número inteiro
OBRIGATÓRIO
A carregar...
Devoluções
exchange_id
A carregar...
creator_address
A carregar...
create_time
A carregar...
first_token_id
A carregar...
first_token_balance
A carregar...
second_token_id
A carregar...
second_token_balance
A carregar...
Pedido
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getexchangebyid \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--dados '{5"id":16}7'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getexchangebyid \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--dados '{5"id":16}7'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getexchangebyid';23const data = {4id: 15};67buscar(url, {8método: 'POST',9headers: {10'accept': 'application/json',11'content-type': 'application/json'12},13body: JSON.stringify(data)14})15.então(resposta => resposta.json())16.then(data => console.log(data))17.catch(error => console.error(error));18
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getexchangebyid';23const data = {4id: 15};67buscar(url, {8método: 'POST',9headers: {10'accept': 'application/json',11'content-type': 'application/json'12},13body: JSON.stringify(data)14})15.então(resposta => resposta.json())16.then(data => console.log(data))17.catch(error => console.error(error));18
1importar pedidos23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/getexchangebyid"45dados = {6'id': 17}89cabeçalhos = {10'accept': 'application/json',11'content-type': 'application/json'12}1314response = requests.post(url, json=data, headers=headers)15print(response.json())16
1importar pedidos23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/getexchangebyid"45dados = {6'id': 17}89cabeçalhos = {10'accept': 'application/json',11'content-type': 'application/json'12}1314response = requests.post(url, json=data, headers=headers)15print(response.json())16
1exigir "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/getexchangebyid")67dados = {8'id' => 19}1011cabeçalhos = {12'accept' => 'application/json',13'content-type' => 'application/json'14}1516http = Net::HTTP.new(url.host, url.port)17http.use_ssl = true1819request = Net::HTTP::Post.new(url.path, headers)20pedido.corpo = dados.to_json2122resposta = http.pedido(pedido)23insere a resposta.corpo
1exigir "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/getexchangebyid")67dados = {8'id' => 19}1011cabeçalhos = {12'accept' => 'application/json',13'content-type' => 'application/json'14}1516http = Net::HTTP.new(url.host, url.port)17http.use_ssl = true1819request = Net::HTTP::Post.new(url.path, headers)20pedido.corpo = dados.to_json2122resposta = http.pedido(pedido)23insere a resposta.corpo
Ainda não tem uma conta?
Crie o seu ponto de extremidade Quicknode em segundos e comece a desenvolver
Comece gratuitamente