/api/v3/message RPC Method
Körperparameter
Objekt
Objekt
ERFORDERLICH
Wird geladen...
boc
Zeichenkette
Wird geladen...
Rücksendungen
V2SendMessageResult
Objekt
Wird geladen...
message_hash
Zeichenkette
Wird geladen...
message_hash_norm
Zeichenkette
Wird geladen...
Anfrage
1curl --location 'https://docs-demo.ton-mainnet.quiknode.pro/api/v3/message' \2--header 'accept: application/json' \3--header 'Content-Type: application/json' \4--Daten '{5"boc": "YOUR_BOC_VALUE"6}'
1curl --location 'https://docs-demo.ton-mainnet.quiknode.pro/api/v3/message' \2--header 'accept: application/json' \3--header 'Content-Type: application/json' \4--Daten '{5"boc": "YOUR_BOC_VALUE"6}'
1const myHeaders = new Headers();2myHeaders.anhängen("accept", "application/json");3myHeaders.anhängen("Content-Type", "application/json");45const raw = JSON.stringify({6"boc": "YOUR_BOC_VALUE"7});89const requestOptions = {10Methode: „POST“,11Überschriften: myHeaders,12Körper: raw,13Weiterleitung: „follow“14};1516fetch("https://docs-demo.ton-mainnet.quiknode.pro/api/v3/message", requestOptions)17.dann((Antwort) => Antwort.text())18.dann((Ergebnis) => Konsole.log(Ergebnis))19.catch((Fehler) => Konsole.Fehler(Fehler));
1const myHeaders = new Headers();2myHeaders.anhängen("accept", "application/json");3myHeaders.anhängen("Content-Type", "application/json");45const raw = JSON.stringify({6"boc": "YOUR_BOC_VALUE"7});89const requestOptions = {10Methode: „POST“,11Überschriften: myHeaders,12Körper: raw,13Weiterleitung: „follow“14};1516fetch("https://docs-demo.ton-mainnet.quiknode.pro/api/v3/message", requestOptions)17.dann((Antwort) => Antwort.text())18.dann((Ergebnis) => Konsole.log(Ergebnis))19.catch((Fehler) => Konsole.Fehler(Fehler));
1import Anfragen23url = "https://docs-demo.ton-mainnet.quiknode.pro/api/v3/message"45Nutzlast = json.dumps({6"boc": "YOUR_BOC_VALUE"7})8Überschriften = {9„akzeptieren“: 'application/json',10'Content-Type': 'application/json'11}1213response = requests.request("POST", url, headers=headers, json=payload)
1import Anfragen23url = "https://docs-demo.ton-mainnet.quiknode.pro/api/v3/message"45Nutzlast = json.dumps({6"boc": "YOUR_BOC_VALUE"7})8Überschriften = {9„akzeptieren“: 'application/json',10'Content-Type': 'application/json'11}1213response = requests.request("POST", url, headers=headers, json=payload)
1require "uri"2require „net/http“34url = URI("https://docs-demo.ton-mainnet.quiknode.pro/api/v3/message")56http = Net::HTTP.new(url.host, url.port);7Anfrage = Netto::HTTP::POST.new(URL)8Anfrage[„akzeptieren“] = „application/json“9Anfrage[„Content-Type“] = „application/json“10Anfrage.Inhalt = JSON.dump({11"boc": "YOUR_BOC_VALUE"12})13response = http.request(request)
1require "uri"2require „net/http“34url = URI("https://docs-demo.ton-mainnet.quiknode.pro/api/v3/message")56http = Net::HTTP.new(url.host, url.port);7Anfrage = Netto::HTTP::POST.new(URL)8Anfrage[„akzeptieren“] = „application/json“9Anfrage[„Content-Type“] = „application/json“10Anfrage.Inhalt = JSON.dump({11"boc": "YOUR_BOC_VALUE"12})13response = http.request(request)
Haben Sie noch kein Konto?
Erstellen Sie Ihren Quicknode-Endpunkt in Sekundenschnelle und legen Sie los
Kostenlos loslegen