EXPERIMENTAL_receipt_to_tx RPC Method
参数
receipt_id
字符串
正在加载...
block_height
整数
正在加载...
shard_id
整数
正在加载...
window
整数
正在加载...
退货
交易哈希
字符串
正在加载...
sender_account_id
字符串
正在加载...
请求
1curlmainnet\2--请求 POST \3--header "Content-Type: application/json" \4--data '{"jsonrpc": "2.0","method": "EXPERIMENTAL_receipt_to_tx", "params": {"receipt_id": "FGaThnAkXaLf2FK7TU46E6exzh9EHypUG6heLMRSP1Jw"},"id": 1}'5
1curlmainnet\2--请求 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.追加("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 = {14方法: 'POST',15标题: myHeaders,16正文: raw,17重定向: 'follow'18};1920fetch(“mainnet”, requestOptions)21.然后(响应 => 响应.text())22.然后(结果 => 控制台.log(result))23.catch(error => 控制台.log('error', error));24
1var myHeaders = new Headers();2myHeaders.追加("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 = {14方法: 'POST',15标题: myHeaders,16正文: raw,17重定向: 'follow'18};1920fetch(“mainnet”, requestOptions)21.然后(响应 => 响应.text())22.然后(结果 => 控制台.log(result))23.catch(error => 控制台.log('error', error));24
1导入 请求2导入 json34url = "mainnet"56有效载荷 = json.dumps({7"jsonrpc": "2.0",8"method": "EXPERIMENTAL_receipt_to_tx",9"params": {10"receipt_id": "FGaThnAkXaLf2FK7TU46E6exzh9EHypUG6heLMRSP1Jw"11},12"id": 113})14标题 = {15“Content-Type”: 'application/json'16}1718回复 = 请求.请求("POST", url, headers=headers, 数据=有效载荷)1920打印(响应.text)21
1导入 请求2导入 json34url = "mainnet"56有效载荷 = json.dumps({7"jsonrpc": "2.0",8"method": "EXPERIMENTAL_receipt_to_tx",9"params": {10"receipt_id": "FGaThnAkXaLf2FK7TU46E6exzh9EHypUG6heLMRSP1Jw"11},12"id": 113})14标题 = {15“Content-Type”: 'application/json'16}1718回复 = 请求.请求("POST", url, headers=headers, 数据=有效载荷)1920打印(响应.text)21
1require "uri"2require "json"3require "net/http"45url = URI("mainnet")67https = Net::HTTP.new(url.host, url.port);8https.use_ssl = true9请求 = Net::HTTP::POST.new(网址)10请求["Content-Type"] = "application/json"11请求.请求正文 = JSON.dump({12"jsonrpc": "2.0",13"method": "EXPERIMENTAL_receipt_to_tx",14"params": {15"receipt_id": "FGaThnAkXaLf2FK7TU46E6exzh9EHypUG6heLMRSP1Jw"16},17"id": 118})1920回复 = https.请求(请求)21返回响应.read_body22
1require "uri"2require "json"3require "net/http"45url = URI("mainnet")67https = Net::HTTP.new(url.host, url.port);8https.use_ssl = true9请求 = Net::HTTP::POST.new(网址)10请求["Content-Type"] = "application/json"11请求.请求正文 = JSON.dump({12"jsonrpc": "2.0",13"method": "EXPERIMENTAL_receipt_to_tx",14"params": {15"receipt_id": "FGaThnAkXaLf2FK7TU46E6exzh9EHypUG6heLMRSP1Jw"16},17"id": 118})1920回复 = https.请求(请求)21返回响应.read_body22