/wallet/exchangetransaction REST API Endpoint
身体パラメータ
owner_address
文字列
必須
読み込み中...
exchange_id
文字列
必須
読み込み中...
token_id
整数
必須
読み込み中...
permission_id
整数
読み込み中...
表示されている
ブール値
読み込み中...
quant
整数
必須
読み込み中...
expected
文字列
必須
読み込み中...
返品
表示されている
読み込み中...
txid
読み込み中...
raw_data
読み込み中...
契約
読み込み中...
parameter
読み込み中...
値
読み込み中...
金額
読み込み中...
expected
読み込み中...
exchange_id
読み込み中...
owner_address
読み込み中...
token_id
読み込み中...
type_url
読み込み中...
タイプ
読み込み中...
ref_block_bytes
読み込み中...
ref_block_hash
読み込み中...
expiration
読み込み中...
タイムスタンプ
読み込み中...
raw_data_hex
読み込み中...
署名
読み込み中...
リクエスト
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangetransaction \2--header 'accept: application/json' \3--header '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"expected": 10,11"visible": true12}13'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangetransaction \2--header 'accept: application/json' \3--header '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"expected": 10,11"visible": true12}13'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangetransaction';23const requestOptions = {4メソッド: 'POST',5headers: { 'Content-Type': 'application/json', 'Accept': 'application/json' },6body: JSON.stringify({7owner_address: 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',8exchange_id: 12,9token_id: '31303030343837',10quant: 100,11expected: 10,12visible: true13})14};1516fetch(url, requestOptions)17.その後(レスポンス => レスポンス.json())18.その後(データ => コンソール.log(data))19.catch(error => console.log(error));20
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangetransaction';23const requestOptions = {4メソッド: 'POST',5headers: { 'Content-Type': 'application/json', 'Accept': 'application/json' },6body: JSON.stringify({7owner_address: 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',8exchange_id: 12,9token_id: '31303030343837',10quant: 100,11expected: 10,12visible: true13})14};1516fetch(url, requestOptions)17.その後(レスポンス => レスポンス.json())18.その後(データ => コンソール.log(data))19.catch(error => console.log(error));20
1import リクエスト23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangetransaction"45ペイロード = {6"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",7"exchange_id": 12,8"token_id": "31303030343837",9"quant": 100,10"expected": 10,11"visible": True12}13ヘッダー = {14"Content-Type": "application/json",15"Accept": "application/json"16}1718response = requests.post(url, json=payload, headers=headers)1920print(response.json())
1import リクエスト23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangetransaction"45ペイロード = {6"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",7"exchange_id": 12,8"token_id": "31303030343837",9"quant": 100,10"expected": 10,11"visible": True12}13ヘッダー = {14"Content-Type": "application/json",15"Accept": "application/json"16}1718response = requests.post(url, json=payload, headers=headers)1920print(response.json())
1require "uri"2require "net/http"34url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangetransaction")56payload = JSON.dump({7"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",8"exchange_id": 12,9"token_id": "31303030343837",10"quant": 100,11"expected": 10,12"visible": true13})1415ヘッダー = {16"Accept": "application/json",17"Content-Type": "application/json"18}1920http = ネット::HTTP.new(url.ホスト, url.ポート)21http.use_ssl = true2223request = Net::HTTP::Post.new(url, headers)24request.body = payload2526回答 = http.リクエスト(リクエスト)27レスポンスを格納する.read_body28
1require "uri"2require "net/http"34url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangetransaction")56payload = JSON.dump({7"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",8"exchange_id": 12,9"token_id": "31303030343837",10"quant": 100,11"expected": 10,12"visible": true13})1415ヘッダー = {16"Accept": "application/json",17"Content-Type": "application/json"18}1920http = ネット::HTTP.new(url.ホスト, url.ポート)21http.use_ssl = true2223request = Net::HTTP::Post.new(url, headers)24request.body = payload2526回答 = http.リクエスト(リクエスト)27レスポンスを格納する.read_body28