EXPERIMENTAL_receipt_to_tx RPC Method
Parameter
receipt_id
Zeichenkette
Wird geladen...
Rücksendungen
transaction_hash
Zeichenkette
Wird geladen...
sender_account_id
Zeichenkette
Wird geladen...
Anfrage
1curl https://docs-demo.near-mainnet.quiknode.pro/ \2--request POST \3--header "Content-Type: application/json" \4--data '{"jsonrpc": "2.0","method": "EXPERIMENTAL_receipt_to_tx", "params": {"receipt_id": "FGaThnAkXaLf2FK7TU46E6exzh9EHypUG6heLMRSP1Jw"},"id": 1}'5
1curl https://docs-demo.near-mainnet.quiknode.pro/ \2--request POST \3--header "Content-Type: application/json" \4--data '{"jsonrpc": "2.0","method": "EXPERIMENTAL_receipt_to_tx", "params": {"receipt_id": "FGaThnAkXaLf2FK7TU46E6exzh9EHypUG6heLMRSP1Jw"},"id": 1}'5
1var myHeaders = new Headers();2myHeaders.anhängen("Content-Type", "application/json");34var raw = JSON.stringify({5„jsonrpc“: "2.0",6"method": "EXPERIMENTAL_receipt_to_tx",7"params": {8"receipt_id": "FGaThnAkXaLf2FK7TU46E6exzh9EHypUG6heLMRSP1Jw"9},10„id“: 111});1213var requestOptions = {14Methode: 'POST',15Überschriften: myHeaders,16Körper: raw,17Weiterleitung: 'follow'18};1920fetch("https://docs-demo.near-mainnet.quiknode.pro/", requestOptions)21.dann(Antwort => Antwort.text())22.dann(Ergebnis => Konsole.log(Ergebnis))23.catch(Fehler => Konsole.log('Fehler', Fehler));24
1var myHeaders = new Headers();2myHeaders.anhängen("Content-Type", "application/json");34var raw = JSON.stringify({5„jsonrpc“: "2.0",6"method": "EXPERIMENTAL_receipt_to_tx",7"params": {8"receipt_id": "FGaThnAkXaLf2FK7TU46E6exzh9EHypUG6heLMRSP1Jw"9},10„id“: 111});1213var requestOptions = {14Methode: 'POST',15Überschriften: myHeaders,16Körper: raw,17Weiterleitung: 'follow'18};1920fetch("https://docs-demo.near-mainnet.quiknode.pro/", requestOptions)21.dann(Antwort => Antwort.text())22.dann(Ergebnis => Konsole.log(Ergebnis))23.catch(Fehler => Konsole.log('Fehler', Fehler));24
1import Anfragen2import json34url = "https://docs-demo.near-mainnet.quiknode.pro/"56Nutzlast = json.dumps({7„jsonrpc“: "2.0",8"method": "EXPERIMENTAL_receipt_to_tx",9"params": {10"receipt_id": "FGaThnAkXaLf2FK7TU46E6exzh9EHypUG6heLMRSP1Jw"11},12„id“: 113})14Überschriften = {15„Content-Type“: 'application/json'16}1718Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)1920Drucken(Antwort.text)21
1import Anfragen2import json34url = "https://docs-demo.near-mainnet.quiknode.pro/"56Nutzlast = json.dumps({7„jsonrpc“: "2.0",8"method": "EXPERIMENTAL_receipt_to_tx",9"params": {10"receipt_id": "FGaThnAkXaLf2FK7TU46E6exzh9EHypUG6heLMRSP1Jw"11},12„id“: 113})14Überschriften = {15„Content-Type“: 'application/json'16}1718Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)1920Drucken(Antwort.text)21
1require "uri"2require "json"3require „net/http“45url = URI("https://docs-demo.near-mainnet.quiknode.pro/")67https = Net::HTTP.new(url.host, url.port);8https.use_ssl = true9Anfrage = Netto::HTTP::POST.new(URL)10Anfrage[„Content-Type“] = „application/json“11Anfrage.Inhalt = JSON.dump({12„jsonrpc“: "2.0",13"method": "EXPERIMENTAL_receipt_to_tx",14"params": {15"receipt_id": "FGaThnAkXaLf2FK7TU46E6exzh9EHypUG6heLMRSP1Jw"16},17„id“: 118})1920Antwort = https.Anfrage(Anfrage)21gibt die Antwort aus.read_body22
1require "uri"2require "json"3require „net/http“45url = URI("https://docs-demo.near-mainnet.quiknode.pro/")67https = Net::HTTP.new(url.host, url.port);8https.use_ssl = true9Anfrage = Netto::HTTP::POST.new(URL)10Anfrage[„Content-Type“] = „application/json“11Anfrage.Inhalt = JSON.dump({12„jsonrpc“: "2.0",13"method": "EXPERIMENTAL_receipt_to_tx",14"params": {15"receipt_id": "FGaThnAkXaLf2FK7TU46E6exzh9EHypUG6heLMRSP1Jw"16},17„id“: 118})1920Antwort = https.Anfrage(Anfrage)21gibt die Antwort aus.read_body22
Haben Sie noch kein Konto?
Erstellen Sie Ihren Quicknode-Endpunkt in Sekundenschnelle und legen Sie los
Kostenlos loslegen