/api/v2/sendBocReturnHash RPC Method
身體參數
boc
字串
必填
載入中...
退貨
ok
布林值
載入中...
結果
物件
載入中...
@extra
字串
載入中...
請求
1curl --location 'https://docs-demo.ton-mainnet.quiknode.pro/api/v2/sendBocReturnHash' \2--header 'accept: application/json' \3--標頭 'Content-Type: application/json' \4--data '{5"boc": "PUT_BOC_HERE"6}'
1curl --location 'https://docs-demo.ton-mainnet.quiknode.pro/api/v2/sendBocReturnHash' \2--header 'accept: application/json' \3--標頭 'Content-Type: application/json' \4--data '{5"boc": "PUT_BOC_HERE"6}'
1const myHeaders = new Headers();2myHeaders.追加("accept", "application/json");3myHeaders.追加("Content-Type", "application/json");45const raw = JSON.stringify({6"boc": "PUT_BOC_HERE"7});89const requestOptions = {10方法: 「POST」,11標題: myHeaders,12正文: 原始,13重定向: 「追蹤」14};1516fetch("https://docs-demo.ton-mainnet.quiknode.pro/api/v2/sendBocReturnHash", 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": "PUT_BOC_HERE"7});89const requestOptions = {10方法: 「POST」,11標題: myHeaders,12正文: 原始,13重定向: 「追蹤」14};1516fetch("https://docs-demo.ton-mainnet.quiknode.pro/api/v2/sendBocReturnHash", requestOptions)17.接著((回應) => 回應.文字())18.接著((結果) => 控制台.log(結果))19.catch((錯誤) => 控制台.錯誤(錯誤));
1匯入 請求2import json34url = "https://docs-demo.ton-mainnet.quiknode.pro/api/v2/sendBocReturnHash"56有效載荷 = json.dumps({7"boc": "PUT_BOC_HERE"8})9標題 = {10「接受」: 'application/json',11「Content-Type」: 'application/json'12}1314回應 = 請求.請求("POST", url, headers=headers, data=有效載荷)1516列印(回應.text)17
1匯入 請求2import json34url = "https://docs-demo.ton-mainnet.quiknode.pro/api/v2/sendBocReturnHash"56有效載荷 = json.dumps({7"boc": "PUT_BOC_HERE"8})9標題 = {10「接受」: 'application/json',11「Content-Type」: 'application/json'12}1314回應 = 請求.請求("POST", url, headers=headers, data=有效載荷)1516列印(回應.text)17
1需要 "uri"2require "json"3需要 "net/http"45url = URI("https://docs-demo.ton-mainnet.quiknode.pro/api/v2/sendBocReturnHash")67http = Net::HTTP.new(url.host, url.port)8http.use_ssl = true9請求 = 淨::HTTP::POST.new(網址)10請求["接受"] = "application/json"11請求["Content-Type"] = "application/json"12請求。正文 = JSON.dump({13"boc": "PUT_BOC_HERE"14})1516回應 = http.請求(請求)17將回應。read_body18
1需要 "uri"2require "json"3需要 "net/http"45url = URI("https://docs-demo.ton-mainnet.quiknode.pro/api/v2/sendBocReturnHash")67http = Net::HTTP.new(url.host, url.port)8http.use_ssl = true9請求 = 淨::HTTP::POST.new(網址)10請求["接受"] = "application/json"11請求["Content-Type"] = "application/json"12請求。正文 = JSON.dump({13"boc": "PUT_BOC_HERE"14})1516回應 = http.請求(請求)17將回應。read_body18