/walletsolidity/getexchangebyid REST API Endpoint
신체 매개변수
id
문자열
필수
로딩 중...
반품
exchange_id
로딩 중...
creator_address
로딩 중...
create_time
로딩 중...
first_token_id
로딩 중...
first_token_balance
로딩 중...
second_token_id
로딩 중...
second_token_balance
로딩 중...
요청
1curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getexchangebyid \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '{5"id":16}7'
1curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getexchangebyid \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '{5"id":16}7'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getexchangebyid';23const data = {4id: 15};67가져오기(url, {8메서드: 'POST',9headers: {10'accept': 'application/json',11'content-type': 'application/json'12},13body: JSON.stringify(data)14})15.그런 다음(응답 => 응답.json())16.then(data => console.log(data))17.catch(error => console.error(error));18
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getexchangebyid';23const data = {4id: 15};67가져오기(url, {8메서드: 'POST',9headers: {10'accept': 'application/json',11'content-type': 'application/json'12},13body: JSON.stringify(data)14})15.그런 다음(응답 => 응답.json())16.then(data => console.log(data))17.catch(error => console.error(error));18
1import 요청23url = "https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getexchangebyid"45데이터 = {6'id': 17}89헤더 = {10'accept': 'application/json',11'content-type': 'application/json'12}1314response = requests.post(url, json=data, headers=headers)15print(response.json())16
1import 요청23url = "https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getexchangebyid"45데이터 = {6'id': 17}89헤더 = {10'accept': 'application/json',11'content-type': 'application/json'12}1314response = requests.post(url, json=data, headers=headers)15print(response.json())16
1require "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getexchangebyid")67데이터 = {8'id' => 19}1011헤더 = {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)20요청.본문 = data.to_json2122답변 = http.요청(요청)23응답을 넣습니다.본문
1require "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getexchangebyid")67데이터 = {8'id' => 19}1011헤더 = {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)20요청.본문 = data.to_json2122답변 = http.요청(요청)23응답을 넣습니다.본문