Find Transaction by Digest
Parameters
This method does not accept any parameters
Returns
data
object
Loading...
transaction
object
Loading...
gasInput
object
Loading...
gasSponsor
object
Loading...
address
string
Loading...
gasPrice
string
Loading...
gasBudget
string
Loading...
effects
object
Loading...
status
string
Loading...
timestamp
string
Loading...
checkpoint
object
Loading...
sequenceNumber
integer
Loading...
epoch
object
Loading...
epochId
integer
Loading...
referenceGasPrice
string
Loading...
Request
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/graphql' \2--header 'Accept: application/json' \3--header 'Content-Type: application/json' \4--data '{5"query": "query { transaction(digest: \"3cbBW8aiTFvQhgvHNRFpzeD3NdmL8DWa6TDJGtvJHQhm\") { gasInput { gasSponsor { address } gasPrice gasBudget } effects { status timestamp checkpoint { sequenceNumber } epoch { epochId referenceGasPrice } } } }"6}'7
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/graphql' \2--header 'Accept: application/json' \3--header 'Content-Type: application/json' \4--data '{5"query": "query { transaction(digest: \"3cbBW8aiTFvQhgvHNRFpzeD3NdmL8DWa6TDJGtvJHQhm\") { gasInput { gasSponsor { address } gasPrice gasBudget } effects { status timestamp checkpoint { sequenceNumber } epoch { epochId referenceGasPrice } } } }"6}'7
1const myHeaders = new Headers();2myHeaders.append("Accept", "application/json");3myHeaders.append("Content-Type", "application/json");45const raw = JSON.stringify({6"query": "query { transaction(digest: \"3cbBW8aiTFvQhgvHNRFpzeD3NdmL8DWa6TDJGtvJHQhm\") { gasInput { gasSponsor { address } gasPrice gasBudget } effects { status timestamp checkpoint { sequenceNumber } epoch { epochId referenceGasPrice } } } }"7});89const requestOptions = {10method: "POST",11headers: myHeaders,12body: raw,13redirect: "follow"14};1516fetch("https://docs-demo.sui-mainnet.quiknode.pro/graphql", requestOptions)17.then((response) => response.text())18.then((result) => console.log(result))19.catch((error) => console.error(error));20
1const myHeaders = new Headers();2myHeaders.append("Accept", "application/json");3myHeaders.append("Content-Type", "application/json");45const raw = JSON.stringify({6"query": "query { transaction(digest: \"3cbBW8aiTFvQhgvHNRFpzeD3NdmL8DWa6TDJGtvJHQhm\") { gasInput { gasSponsor { address } gasPrice gasBudget } effects { status timestamp checkpoint { sequenceNumber } epoch { epochId referenceGasPrice } } } }"7});89const requestOptions = {10method: "POST",11headers: myHeaders,12body: raw,13redirect: "follow"14};1516fetch("https://docs-demo.sui-mainnet.quiknode.pro/graphql", requestOptions)17.then((response) => response.text())18.then((result) => console.log(result))19.catch((error) => console.error(error));20
1import requests2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/graphql"56payload = json.dumps({7"query": "query { transaction(digest: \"3cbBW8aiTFvQhgvHNRFpzeD3NdmL8DWa6TDJGtvJHQhm\") { gasInput { gasSponsor { address } gasPrice gasBudget } effects { status timestamp checkpoint { sequenceNumber } epoch { epochId referenceGasPrice } } } }"8})9headers = {10'Accept': 'application/json',11'Content-Type': 'application/json'12}1314response = requests.request("POST", url, headers=headers, data=payload)1516print(response.text)17
1import requests2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/graphql"56payload = json.dumps({7"query": "query { transaction(digest: \"3cbBW8aiTFvQhgvHNRFpzeD3NdmL8DWa6TDJGtvJHQhm\") { gasInput { gasSponsor { address } gasPrice gasBudget } effects { status timestamp checkpoint { sequenceNumber } epoch { epochId referenceGasPrice } } } }"8})9headers = {10'Accept': 'application/json',11'Content-Type': 'application/json'12}1314response = requests.request("POST", url, headers=headers, data=payload)1516print(response.text)17
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/graphql")67https = Net::HTTP.new(url.host, url.port)8https.use_ssl = true910request = Net::HTTP::Post.new(url)11request["Accept"] = "application/json"12request["Content-Type"] = "application/json"13request.body = JSON.dump({14"query" => "query { transaction(digest: \"3cbBW8aiTFvQhgvHNRFpzeD3NdmL8DWa6TDJGtvJHQhm\") { gasInput { gasSponsor { address } gasPrice gasBudget } effects { status timestamp checkpoint { sequenceNumber } epoch { epochId referenceGasPrice } } } }"15})1617response = https.request(request)18puts response.read_body19
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/graphql")67https = Net::HTTP.new(url.host, url.port)8https.use_ssl = true910request = Net::HTTP::Post.new(url)11request["Accept"] = "application/json"12request["Content-Type"] = "application/json"13request.body = JSON.dump({14"query" => "query { transaction(digest: \"3cbBW8aiTFvQhgvHNRFpzeD3NdmL8DWa6TDJGtvJHQhm\") { gasInput { gasSponsor { address } gasPrice gasBudget } effects { status timestamp checkpoint { sequenceNumber } epoch { epochId referenceGasPrice } } } }"15})1617response = https.request(request)18puts response.read_body19
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free