/wallet/exchangewithdraw REST API Endpoint
Parâmetros corporais
morada_do_proprietário
cadeia de caracteres
OBRIGATÓRIO
A carregar...
exchange_id
cadeia de caracteres
OBRIGATÓRIO
A carregar...
token_id
número inteiro
OBRIGATÓRIO
A carregar...
permission_id
número inteiro
A carregar...
visible
booleano
A carregar...
quant
número inteiro
OBRIGATÓRIO
A carregar...
Devoluções
resultado
A carregar...
mensagem
A carregar...
txID
A carregar...
Pedido
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangewithdraw \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"visible": true11}12'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangewithdraw \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"visible": true11}12'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangewithdraw';23const data = {4"owner_address": "OWNER_ADDRESS",5"exchange_id": 12,6"token_id": "TOKEN_ID",7"quant": 100,8"visible": true9};1011const options = {12method: "POST",13headers: {14"accept": "application/json",15"content-type": "application/json"16},17body: JSON.stringify(data)18};1920fetch(url, options)21.then(response => response.json())22.then(data => console.log(data))23.catch(error => console.error(error));24
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangewithdraw';23const data = {4"owner_address": "OWNER_ADDRESS",5"exchange_id": 12,6"token_id": "TOKEN_ID",7"quant": 100,8"visible": true9};1011const options = {12method: "POST",13headers: {14"accept": "application/json",15"content-type": "application/json"16},17body: JSON.stringify(data)18};1920fetch(url, options)21.then(response => response.json())22.then(data => console.log(data))23.catch(error => console.error(error));24
1importar pedidos23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangewithdraw"45carga útil = {6"owner_address": "OWNER_ADDRESS",7"exchange_id": 12,8"token_id": "TOKEN_ID",9"quant": 100,10"visible": True11}1213cabeçalhos = {14"accept": "application/json",15"content-type": "application/json"16}1718response = requests.post(url, json=payload, headers=headers)1920print(response.json())21
1importar pedidos23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangewithdraw"45carga útil = {6"owner_address": "OWNER_ADDRESS",7"exchange_id": 12,8"token_id": "TOKEN_ID",9"quant": 100,10"visible": True11}1213cabeçalhos = {14"accept": "application/json",15"content-type": "application/json"16}1718response = requests.post(url, json=payload, headers=headers)1920print(response.json())21
1exigir "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangewithdraw")67dados = {8"owner_address" => "OWNER_ADDRESS",9"exchange_id" => 12,10"token_id" => "TOKEN_ID",11"quant" => 100,12"visible" => true13}1415cabeçalhos = {16"accept" => "application/json",17"content-type" => "application/json"18}1920http = Net::HTTP.new(url.host, url.port)21http.use_ssl = true2223request = Net::HTTP::Post.new(url, headers)24pedido.corpo = dados.to_json2526resposta = http.pedido(pedido)2728insere a resposta.corpo29
1exigir "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangewithdraw")67dados = {8"owner_address" => "OWNER_ADDRESS",9"exchange_id" => 12,10"token_id" => "TOKEN_ID",11"quant" => 100,12"visible" => true13}1415cabeçalhos = {16"accept" => "application/json",17"content-type" => "application/json"18}1920http = Net::HTTP.new(url.host, url.port)21http.use_ssl = true2223request = Net::HTTP::Post.new(url, headers)24pedido.corpo = dados.to_json2526resposta = http.pedido(pedido)2728insere a resposta.corpo29
Ainda não tem uma conta?
Crie o seu ponto de extremidade Quicknode em segundos e comece a desenvolver
Comece gratuitamente