starknet_getMessagesStatus RPC Method
Parameters
transaction_hash
string
REQUIRED
Loading...
Returns
result
array
Loading...
transaction_hash
string
Loading...
finality_status
string
Loading...
execution_status
string
Loading...
failure_reason
string
Loading...
Request
1# Note: You can specify Starknet version in the URL path2# Example: /rpc/v0_9 for version 0.9. Versions 0.6, 0.7, and 0.8 are no longer supported3curl --location 'https://docs-demo.strk-mainnet.quiknode.pro/rpc/v0_9' \4--header 'accept: application/json' \5--header 'content-type: application/json' \6--data '{7"id": 1,8"jsonrpc": "2.0",9"method": "starknet_getMessagesStatus",10"params": [11"0xbee9e5dd0d3aea712fa6890a1010f7c1b4edf8d61b33a7c9ba3eaf1c40636ca3"12]13}'
1# Note: You can specify Starknet version in the URL path2# Example: /rpc/v0_9 for version 0.9. Versions 0.6, 0.7, and 0.8 are no longer supported3curl --location 'https://docs-demo.strk-mainnet.quiknode.pro/rpc/v0_9' \4--header 'accept: application/json' \5--header 'content-type: application/json' \6--data '{7"id": 1,8"jsonrpc": "2.0",9"method": "starknet_getMessagesStatus",10"params": [11"0xbee9e5dd0d3aea712fa6890a1010f7c1b4edf8d61b33a7c9ba3eaf1c40636ca3"12]13}'
1// Note: You can specify Starknet version in the URL path2// Example: /rpc/v0_9 for version 0.9. Versions 0.6, 0.7, and 0.8 are no longer supported3const myHeaders = new Headers();4myHeaders.append("accept", "application/json");5myHeaders.append("content-type", "application/json");67const raw = JSON.stringify({8"id": 1,9"jsonrpc": "2.0",10"method": "starknet_getMessagesStatus",11"params": [12"0xbee9e5dd0d3aea712fa6890a1010f7c1b4edf8d61b33a7c9ba3eaf1c40636ca3"13]14});1516const requestOptions = {17method: "POST",18headers: myHeaders,19body: raw,20redirect: "follow"21};2223fetch("https://docs-demo.strk-mainnet.quiknode.pro/rpc/v0_9", requestOptions)24.then((response) => response.text())25.then((result) => console.log(result))26.catch((error) => console.error(error));
1// Note: You can specify Starknet version in the URL path2// Example: /rpc/v0_9 for version 0.9. Versions 0.6, 0.7, and 0.8 are no longer supported3const myHeaders = new Headers();4myHeaders.append("accept", "application/json");5myHeaders.append("content-type", "application/json");67const raw = JSON.stringify({8"id": 1,9"jsonrpc": "2.0",10"method": "starknet_getMessagesStatus",11"params": [12"0xbee9e5dd0d3aea712fa6890a1010f7c1b4edf8d61b33a7c9ba3eaf1c40636ca3"13]14});1516const requestOptions = {17method: "POST",18headers: myHeaders,19body: raw,20redirect: "follow"21};2223fetch("https://docs-demo.strk-mainnet.quiknode.pro/rpc/v0_9", requestOptions)24.then((response) => response.text())25.then((result) => console.log(result))26.catch((error) => console.error(error));
1# Note: You can specify Starknet version in the URL path2# Example: /rpc/v0_9 for version 0.9. Versions 0.6, 0.7, and 0.8 are no longer supported3import requests4import json56url = "https://docs-demo.strk-mainnet.quiknode.pro/rpc/v0_9"78payload = json.dumps({9"id": 1,10"jsonrpc": "2.0",11"method": "starknet_getMessagesStatus",12"params": [13"0xbee9e5dd0d3aea712fa6890a1010f7c1b4edf8d61b33a7c9ba3eaf1c40636ca3"14]15})16headers = {17'accept': 'application/json',18'content-type': 'application/json'19}2021response = requests.request("POST", url, headers=headers, data=payload)2223print(response.text)24
1# Note: You can specify Starknet version in the URL path2# Example: /rpc/v0_9 for version 0.9. Versions 0.6, 0.7, and 0.8 are no longer supported3import requests4import json56url = "https://docs-demo.strk-mainnet.quiknode.pro/rpc/v0_9"78payload = json.dumps({9"id": 1,10"jsonrpc": "2.0",11"method": "starknet_getMessagesStatus",12"params": [13"0xbee9e5dd0d3aea712fa6890a1010f7c1b4edf8d61b33a7c9ba3eaf1c40636ca3"14]15})16headers = {17'accept': 'application/json',18'content-type': 'application/json'19}2021response = requests.request("POST", url, headers=headers, data=payload)2223print(response.text)24
1# Note: You can specify Starknet version in the URL path2# Example: /rpc/v0_9 for version 0.9. Versions 0.6, 0.7, and 0.8 are no longer supported3require "uri"4require "json"5require "net/http"67url = URI("https://docs-demo.strk-mainnet.quiknode.pro/rpc/v0_9")89http = Net::HTTP.new(url.host, url.port);10request = Net::HTTP::Post.new(url)11request["accept"] = "application/json"12request["content-type"] = "application/json"13request.body = JSON.dump({14"id": 1,15"jsonrpc": "2.0",16"method": "starknet_getMessagesStatus",17"params": [18"0xbee9e5dd0d3aea712fa6890a1010f7c1b4edf8d61b33a7c9ba3eaf1c40636ca3"19]20})2122response = http.request(request)23puts response.read_body24
1# Note: You can specify Starknet version in the URL path2# Example: /rpc/v0_9 for version 0.9. Versions 0.6, 0.7, and 0.8 are no longer supported3require "uri"4require "json"5require "net/http"67url = URI("https://docs-demo.strk-mainnet.quiknode.pro/rpc/v0_9")89http = Net::HTTP.new(url.host, url.port);10request = Net::HTTP::Post.new(url)11request["accept"] = "application/json"12request["content-type"] = "application/json"13request.body = JSON.dump({14"id": 1,15"jsonrpc": "2.0",16"method": "starknet_getMessagesStatus",17"params": [18"0xbee9e5dd0d3aea712fa6890a1010f7c1b4edf8d61b33a7c9ba3eaf1c40636ca3"19]20})2122response = http.request(request)23puts response.read_body24
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free