/api/v3/message RPC Method
身體參數
物件
物件
必填
載入中...
boc
字串
載入中...
退貨
V2SendMessageResult
物件
載入中...
message_hash
字串
載入中...
message_hash_norm
字串
載入中...
請求
1curl --location 'https://docs-demo.ton-mainnet.quiknode.pro/api/v3/message' \2--header 'accept: application/json' \3--標頭 'Content-Type: application/json' \4--data '{5"boc": "YOUR_BOC_VALUE"6}'
1curl --location 'https://docs-demo.ton-mainnet.quiknode.pro/api/v3/message' \2--header 'accept: application/json' \3--標頭 'Content-Type: application/json' \4--data '{5"boc": "YOUR_BOC_VALUE"6}'
1const myHeaders = new Headers();2myHeaders.追加("accept", "application/json");3myHeaders.追加("Content-Type", "application/json");45const raw = JSON.stringify({6"boc": "YOUR_BOC_VALUE"7});89const requestOptions = {10方法: 「POST」,11標題: myHeaders,12正文: 原始,13重定向: 「追蹤」14};1516fetch("https://docs-demo.ton-mainnet.quiknode.pro/api/v3/message", requestOptions)17.接著((回應) => 回應.文字())18.接著((結果) => 控制台.log(結果))19.catch((錯誤) => 控制台.錯誤(錯誤));
1const myHeaders = new Headers();2myHeaders.追加("accept", "application/json");3myHeaders.追加("Content-Type", "application/json");45const raw = JSON.stringify({6"boc": "YOUR_BOC_VALUE"7});89const requestOptions = {10方法: 「POST」,11標題: myHeaders,12正文: 原始,13重定向: 「追蹤」14};1516fetch("https://docs-demo.ton-mainnet.quiknode.pro/api/v3/message", requestOptions)17.接著((回應) => 回應.文字())18.接著((結果) => 控制台.log(結果))19.catch((錯誤) => 控制台.錯誤(錯誤));
1匯入 請求23url = "https://docs-demo.ton-mainnet.quiknode.pro/api/v3/message"45有效載荷 = json.dumps({6"boc": "YOUR_BOC_VALUE"7})8標題 = {9'accept': 'application/json',10「Content-Type」: 'application/json'11}1213response = requests.request("POST", url, headers=headers, json=payload)
1匯入 請求23url = "https://docs-demo.ton-mainnet.quiknode.pro/api/v3/message"45有效載荷 = json.dumps({6"boc": "YOUR_BOC_VALUE"7})8標題 = {9'accept': 'application/json',10「Content-Type」: 'application/json'11}1213response = requests.request("POST", url, headers=headers, json=payload)
1需要 "uri"2需要 "net/http"34url = URI("https://docs-demo.ton-mainnet.quiknode.pro/api/v3/message")56http = Net::HTTP.new(url.host, url.port);7請求 = 淨::HTTP::POST.new(網址)8請求["接受"] = "application/json"9請求["Content-Type"] = "application/json"10請求。正文 = JSON.dump({11"boc": "YOUR_BOC_VALUE"12})13response = http.request(request)
1需要 "uri"2需要 "net/http"34url = URI("https://docs-demo.ton-mainnet.quiknode.pro/api/v3/message")56http = Net::HTTP.new(url.host, url.port);7請求 = 淨::HTTP::POST.new(網址)8請求["接受"] = "application/json"9請求["Content-Type"] = "application/json"10請求。正文 = JSON.dump({11"boc": "YOUR_BOC_VALUE"12})13response = http.request(request)