Submit a Transaction Asynchronously REST API Endpoint
Parâmetros de consulta
tx
cadeia de caracteres
OBRIGATÓRIO
Carregando...
Devoluções
tx_status
cadeia de caracteres
Carregando...
hash
cadeia de caracteres
Carregando...
error_result_xdr
cadeia de caracteres
Carregando...
Pedido
1curl -L -X POST 'https://docs-demo.stellar-mainnet.quiknode.pro/transactions_async' \2-H 'Accept: application/json' \3-H 'Content-Type: application/x-www-form-urlencoded' \4--data-urlencode 'tx=YOUR_SIGNED_TRANSACTION_HERE'5
1curl -L -X POST 'https://docs-demo.stellar-mainnet.quiknode.pro/transactions_async' \2-H 'Accept: application/json' \3-H 'Content-Type: application/x-www-form-urlencoded' \4--data-urlencode 'tx=YOUR_SIGNED_TRANSACTION_HERE'5
1var myHeaders = new Headers();2myHeaders.append("Accept", "application/json");3myHeaders.append("Content-Type", "application/x-www-form-urlencoded");45var urlencoded = new URLSearchParams();6urlencoded.append("tx", "YOUR_SIGNED_TRANSACTION_HERE");78var requestOptions = {9método: 'POST',10cabeçalhos: myHeaders,11body: urlencoded,12redirect: 'follow'13};1415fetch("https://docs-demo.stellar-mainnet.quiknode.pro/transactions_async", requestOptions)16.then(response => response.text())17.then(result => console.log(result))18.catch(error => console.log('error', error));19
1var myHeaders = new Headers();2myHeaders.append("Accept", "application/json");3myHeaders.append("Content-Type", "application/x-www-form-urlencoded");45var urlencoded = new URLSearchParams();6urlencoded.append("tx", "YOUR_SIGNED_TRANSACTION_HERE");78var requestOptions = {9método: 'POST',10cabeçalhos: myHeaders,11body: urlencoded,12redirect: 'follow'13};1415fetch("https://docs-demo.stellar-mainnet.quiknode.pro/transactions_async", requestOptions)16.then(response => response.text())17.then(result => console.log(result))18.catch(error => console.log('error', error));19
1importar pedidos23url = "https://docs-demo.stellar-mainnet.quiknode.pro/transactions_async"45payload = 'tx=YOUR_SIGNED_TRANSACTION_HERE'6cabeçalhos = {7«Aceitar»: 'application/json',8'Content-Type': 'application/x-www-form-urlencoded'9}1011resposta = pedidos.pedido("POST", url, headers=headers, dados=carga útil)1213imprimir(resposta.texto)14
1importar pedidos23url = "https://docs-demo.stellar-mainnet.quiknode.pro/transactions_async"45payload = 'tx=YOUR_SIGNED_TRANSACTION_HERE'6cabeçalhos = {7«Aceitar»: 'application/json',8'Content-Type': 'application/x-www-form-urlencoded'9}1011resposta = pedidos.pedido("POST", url, headers=headers, dados=carga útil)1213imprimir(resposta.texto)14
1exigir "uri"2necessita de "net/http"34url = URI("https://docs-demo.stellar-mainnet.quiknode.pro/transactions_async")56http = Net::HTTP.new(url.host, url.port);7pedido = Líquido::HTTP::POST.novo(url)8pedido[«Aceitar»] = "application/json"9request["Content-Type"] = "application/x-www-form-urlencoded"10request.body = "tx=YOUR_SIGNED_TRANSACTION_HERE"1112resposta = http.pedido(pedido)13insere a resposta.read_body14
1exigir "uri"2necessita de "net/http"34url = URI("https://docs-demo.stellar-mainnet.quiknode.pro/transactions_async")56http = Net::HTTP.new(url.host, url.port);7pedido = Líquido::HTTP::POST.novo(url)8pedido[«Aceitar»] = "application/json"9request["Content-Type"] = "application/x-www-form-urlencoded"10request.body = "tx=YOUR_SIGNED_TRANSACTION_HERE"1112resposta = http.pedido(pedido)13insere a resposta.read_body14
Ainda não tem uma conta?
Crieendpoint seuendpoint Quicknode endpoint segundos e comece a desenvolver
Comece gratuitamente