Submit a Transaction Asynchronously REST API Endpoint
Parâmetros de consulta
tx
cadeia de caracteres
OBRIGATÓRIO
A carregar...
Devoluções
tx_status
cadeia de caracteres
A carregar...
hash
cadeia de caracteres
A carregar...
error_result_xdr
cadeia de caracteres
A carregar...
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,12redirecionar: 'seguir'13};1415fetch("https://docs-demo.stellar-mainnet.quiknode.pro/transactions_async", requestOptions)16.então(resposta => resposta.texto())17.então(resultado => console.log(resultado))18.catch(erro => console.log('erro', erro));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,12redirecionar: 'seguir'13};1415fetch("https://docs-demo.stellar-mainnet.quiknode.pro/transactions_async", requestOptions)16.então(resposta => resposta.texto())17.então(resultado => console.log(resultado))18.catch(erro => console.log('erro', erro));19
1importar pedidos23url = "https://docs-demo.stellar-mainnet.quiknode.pro/transactions_async"45payload = 'tx=YOUR_SIGNED_TRANSACTION_HERE'6cabeçalhos = {7'Accept': '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'Accept': '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"2require "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)8request["Accept"] = "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"2require "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)8request["Accept"] = "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?
Crie o seu ponto de extremidade Quicknode em segundos e comece a desenvolver
Comece gratuitamente