/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--header '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--header '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正文: raw,13重定向: "follow"14};1516fetch("https://docs-demo.ton-mainnet.quiknode.pro/api/v3/message", requestOptions)17.然后((响应) => 响应.文本())18.然后((结果) => 控制台.log(result))19.catch((error) => 控制台.错误(error));
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正文: raw,13重定向: "follow"14};1516fetch("https://docs-demo.ton-mainnet.quiknode.pro/api/v3/message", requestOptions)17.然后((响应) => 响应.文本())18.然后((结果) => 控制台.log(result))19.catch((error) => 控制台.错误(error));
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)
1require "uri"2require "net/http"34url = URI("https://docs-demo.ton-mainnet.quiknode.pro/api/v3/message")56http = Net::HTTP.new(url.主机, url.端口);7请求 = Net::HTTP::POST.new(url)8请求["接受"] = "application/json"9请求["Content-Type"] = "application/json"10请求.请求体 = 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.主机, url.端口);7请求 = Net::HTTP::POST.new(url)8请求["接受"] = "application/json"9请求["Content-Type"] = "application/json"10请求.请求体 = JSON.dump({11"boc": "YOUR_BOC_VALUE"12})13response = http.request(request)