/wallet/exchangeinject REST API Endpoint
신체 측정값
소유자 주소
문자열
필수
로딩 중...
exchange_id
문자열
필수
로딩 중...
token_id
정수
필수
로딩 중...
permission_id
정수
로딩 중...
보이는
부울
로딩 중...
quant
정수
필수
로딩 중...
반품
결과
로딩 중...
메시지
로딩 중...
txID
로딩 중...
요청
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangeinject \2--header 'accept: application/json' \3--헤더 'content-type: application/json' \4--data '5{6"owner_address": "OWNER_ADDRESS",7"exchange_id": 12,8"token_id": "TOKEN_ID",9"quant": 100,10"visible": true11}12'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangeinject \2--header 'accept: application/json' \3--헤더 'content-type: application/json' \4--data '5{6"owner_address": "OWNER_ADDRESS",7"exchange_id": 12,8"token_id": "TOKEN_ID",9"quant": 100,10"visible": true11}12'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangeinject';23const data = {4owner_address: 'OWNER_ADDRESS',5exchange_id: 12,6token_id: 'TOKEN_ID',7quant: 100,8표시됨: true9};1011가져오기fetch (url, {12메서드: 'POST',13headers: {14'accept': 'application/json',15'content-type': 'application/json'16},17본문: JSON.stringify(data)18})19.그런 다음(응답 => 응답.json())20.then(data => console.log(data))21.catch(error => console.error(error));22
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangeinject';23const data = {4owner_address: 'OWNER_ADDRESS',5exchange_id: 12,6token_id: 'TOKEN_ID',7quant: 100,8표시됨: true9};1011가져오기fetch (url, {12메서드: 'POST',13headers: {14'accept': 'application/json',15'content-type': 'application/json'16},17본문: JSON.stringify(data)18})19.그런 다음(응답 => 응답.json())20.then(data => console.log(data))21.catch(error => console.error(error));22
1import 요청23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangeinject"45데이터 = {6'owner_address': 'OWNER_ADDRESS',7'exchange_id': 12,8'token_id': 'TOKEN_ID',9'quant': 100,10'visible': True11}1213헤더 = {14'accept': 'application/json',15'content-type': 'application/json'16}1718답변 = 요청.post(url, json=data, 헤더=헤더)19print(response.json())20
1import 요청23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangeinject"45데이터 = {6'owner_address': 'OWNER_ADDRESS',7'exchange_id': 12,8'token_id': 'TOKEN_ID',9'quant': 100,10'visible': True11}1213헤더 = {14'accept': 'application/json',15'content-type': 'application/json'16}1718답변 = 요청.post(url, json=data, 헤더=헤더)19print(response.json())20
1require "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangeinject")67데이터 = {8"owner_address" => "OWNER_ADDRESS",9"exchange_id" => 12,10"token_id" => "TOKEN_ID",11"quant" => 100,12"visible" => true13}1415헤더 = {16"accept" => "application/json",17"content-type" => "application/json"18}1920http = Net::HTTP.new(url.호스트, url.포트)21http.use_ssl = true2223request = Net::HTTP::Post.new(url, headers)24요청.본문 = data.to_json2526답변 = http.요청(요청)2728응답을 반환합니다.본문29
1require "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangeinject")67데이터 = {8"owner_address" => "OWNER_ADDRESS",9"exchange_id" => 12,10"token_id" => "TOKEN_ID",11"quant" => 100,12"visible" => true13}1415헤더 = {16"accept" => "application/json",17"content-type" => "application/json"18}1920http = Net::HTTP.new(url.호스트, url.포트)21http.use_ssl = true2223request = Net::HTTP::Post.new(url, headers)24요청.본문 = data.to_json2526답변 = http.요청(요청)2728응답을 반환합니다.본문29