eth_getTransactionReceipt RPC メソッド
なお、処理中の取引については、取引明細書は発行されませんのでご注意ください。
パラメータ
ハッシュ
文字列
必須
読み込み中...
返品
オブジェクト
読み込み中...
blockHash
読み込み中...
ブロック番号
読み込み中...
contractAddress
読み込み中...
累積ガス使用量
読み込み中...
実効ガソリン価格
読み込み中...
出典:
読み込み中...
gasUsed
読み込み中...
ログ
読み込み中...
住所
読み込み中...
トピック
読み込み中...
データ
読み込み中...
ブロック番号
読み込み中...
トランザクションハッシュ
読み込み中...
トランザクションインデックス
読み込み中...
blockHash
読み込み中...
logIndex
読み込み中...
削除済み
読み込み中...
logsBloom
読み込み中...
ステータス
読み込み中...
~へ
読み込み中...
トランザクションハッシュ
読み込み中...
トランザクションインデックス
読み込み中...
タイプ
読み込み中...
リクエスト
1curl https://docs-demo.hedera-testnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"eth_getTransactionReceipt","params":["0xfb6f9085622ed8e1be68d89a8853a0c04ab4630f5d6788e53e58f0b35e58aeb1"],"id":1,"jsonrpc":"2.0"}'
1curl https://docs-demo.hedera-testnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"eth_getTransactionReceipt","params":["0xfb6f9085622ed8e1be68d89a8853a0c04ab4630f5d6788e53e58f0b35e58aeb1"],"id":1,"jsonrpc":"2.0"}'
1require 'eth'23クライアント = Eth::クライアント.create 'https://docs-demo.hedera-testnet.quiknode.pro/'4ペイロード = {5"jsonrpc": "2.0",6「メソッド」: "eth_getTransactionReceipt",7"params": ["0xfb6f9085622ed8e1be68d89a8853a0c04ab4630f5d6788e53e58f0b35e58aeb1"],8"id": "1"9}1011回答 = クライアント.送信(ペイロード.to_json)12レスポンスを格納する
1require 'eth'23クライアント = Eth::クライアント.create 'https://docs-demo.hedera-testnet.quiknode.pro/'4ペイロード = {5"jsonrpc": "2.0",6「メソッド」: "eth_getTransactionReceipt",7"params": ["0xfb6f9085622ed8e1be68d89a8853a0c04ab4630f5d6788e53e58f0b35e58aeb1"],8"id": "1"9}1011回答 = クライアント.送信(ペイロード.to_json)12レスポンスを格納する
1import { ethers } from "ethers";2(async () => {3const プロバイダー = new ethers.JsonRpcProvider(「https://docs-demo.hedera-testnet.quiknode.pro/」);4const txReceipt = await provider.waitForTransaction(5"0xfb6f9085622ed8e1be68d89a8853a0c04ab4630f5d6788e53e58f0b35e58aeb1"6);7コンソール.log(txReceipt);8})();
1import { ethers } from "ethers";2(async () => {3const プロバイダー = new ethers.JsonRpcProvider(「https://docs-demo.hedera-testnet.quiknode.pro/」);4const txReceipt = await provider.waitForTransaction(5"0xfb6f9085622ed8e1be68d89a8853a0c04ab4630f5d6788e53e58f0b35e58aeb1"6);7コンソール.log(txReceipt);8})();
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5「メソッド」: "eth_getTransactionReceipt",6"params": [7"0xfb6f9085622ed8e1be68d89a8853a0c04ab4630f5d6788e53e58f0b35e58aeb1"8],9"id": 1,10"jsonrpc": "2.0"11});1213var requestOptions = {14メソッド: 'POST',15ヘッダー: myHeaders,16本文: raw,17リダイレクト: 'follow'18};1920取得(「https://docs-demo.hedera-testnet.quiknode.pro/」, requestOptions)21.その後(レスポンス => レスポンス.text())22.その後(結果 => コンソール.log(result))23.catchcatch(エラー => console.log('error', error));24
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5「メソッド」: "eth_getTransactionReceipt",6"params": [7"0xfb6f9085622ed8e1be68d89a8853a0c04ab4630f5d6788e53e58f0b35e58aeb1"8],9"id": 1,10"jsonrpc": "2.0"11});1213var requestOptions = {14メソッド: 'POST',15ヘッダー: myHeaders,16本文: raw,17リダイレクト: 'follow'18};1920取得(「https://docs-demo.hedera-testnet.quiknode.pro/」, requestOptions)21.その後(レスポンス => レスポンス.text())22.その後(結果 => コンソール.log(result))23.catchcatch(エラー => console.log('error', error));24
1import リクエスト2import json34url = "https://docs-demo.hedera-testnet.quiknode.pro/"56ペイロード = json.dumps({7「メソッド」: "eth_getTransactionReceipt",8"params": [9"0xfb6f9085622ed8e1be68d89a8853a0c04ab4630f5d6788e53e58f0b35e58aeb1"10],11"id": 1,12"jsonrpc": "2.0"13})14ヘッダー = {15「Content-Type」: 'application/json'16}1718回答 = リクエスト.リクエスト("POST", url, headers=headers, データ=ペイロード)1920印刷(レスポンス.text)21
1import リクエスト2import json34url = "https://docs-demo.hedera-testnet.quiknode.pro/"56ペイロード = json.dumps({7「メソッド」: "eth_getTransactionReceipt",8"params": [9"0xfb6f9085622ed8e1be68d89a8853a0c04ab4630f5d6788e53e58f0b35e58aeb1"10],11"id": 1,12"jsonrpc": "2.0"13})14ヘッダー = {15「Content-Type」: 'application/json'16}1718回答 = リクエスト.リクエスト("POST", url, headers=headers, データ=ペイロード)1920印刷(レスポンス.text)21
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.hedera-testnet.quiknode.pro/")67https = ネット::HTTP.new(url.ホスト, url.ポート)8https.use_ssl = true910リクエスト = ネット::HTTP::POST.new(URL)11リクエスト["Content-Type"] = "application/json"12リクエスト.本文 = JSON.dump({13「メソッド」: "eth_getTransactionReceipt",14"params": [15"0xfb6f9085622ed8e1be68d89a8853a0c04ab4630f5d6788e53e58f0b35e58aeb1"16],17"id": 1,18"jsonrpc": "2.0"19})2021回答 = https.リクエスト(リクエスト)22レスポンスを格納する.read_body23
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.hedera-testnet.quiknode.pro/")67https = ネット::HTTP.new(url.ホスト, url.ポート)8https.use_ssl = true910リクエスト = ネット::HTTP::POST.new(URL)11リクエスト["Content-Type"] = "application/json"12リクエスト.本文 = JSON.dump({13「メソッド」: "eth_getTransactionReceipt",14"params": [15"0xfb6f9085622ed8e1be68d89a8853a0c04ab4630f5d6788e53e58f0b35e58aeb1"16],17"id": 1,18"jsonrpc": "2.0"19})2021回答 = https.リクエスト(リクエスト)22レスポンスを格納する.read_body23
1出典: web3 import Web3, HTTPProvider2w3 = Web3(HTTPProvider('https://docs-demo.hedera-testnet.quiknode.pro/')))3印刷(w3.eth.get_transaction_receipt('0xfb6f9085622ed8e1be68d89a8853a0c04ab4630f5d6788e53e58f0b35e58aeb1'))4
1出典: web3 import Web3, HTTPProvider2w3 = Web3(HTTPProvider('https://docs-demo.hedera-testnet.quiknode.pro/')))3印刷(w3.eth.get_transaction_receipt('0xfb6f9085622ed8e1be68d89a8853a0c04ab4630f5d6788e53e58f0b35e58aeb1'))4