suix_queryTransactionBlocks RPC Method
매개변수
쿼리
객체
필수
로딩 중...
요약
문자열
로딩 중...
한도
정수
로딩 중...
descending_order
부울
로딩 중...
반품
결과
객체
로딩 중...
데이터
배열
로딩 중...
요약
객체
로딩 중...
nextCursor
문자열
로딩 중...
hasNextPage
부울
로딩 중...
요청
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/' \2--헤더 'Content-Type: application/json' \3--data '{4"jsonrpc": "2.0",5"id": 1,6"method": "suix_queryTransactionBlocks",7"params": [8{9"filter": {10"InputObject": "0x93633829fcba6d6e0ccb13d3dbfe7614b81ea76b255e5d435032cd8595f37eb8"11},12"options": null13},14"9YBN13tUMgQrhiAMuLqLiKJ2jXfjMJQJYXZwJKpx1as2",15100,16false17]18}'
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/' \2--헤더 'Content-Type: application/json' \3--data '{4"jsonrpc": "2.0",5"id": 1,6"method": "suix_queryTransactionBlocks",7"params": [8{9"filter": {10"InputObject": "0x93633829fcba6d6e0ccb13d3dbfe7614b81ea76b255e5d435032cd8595f37eb8"11},12"options": null13},14"9YBN13tUMgQrhiAMuLqLiKJ2jXfjMJQJYXZwJKpx1as2",15100,16false17]18}'
1const myHeaders = new Headers();2myHeaders.추가("Content-Type", "application/json");34const raw = JSON.stringify({5"jsonrpc": "2.0",6"id": 1,7"method": "suix_queryTransactionBlocks",8"params": [9{10"filter": {11"InputObject": "0x93633829fcba6d6e0ccb13d3dbfe7614b81ea76b255e5d435032cd8595f37eb8"12},13"options": null14},15"9YBN13tUMgQrhiAMuLqLiKJ2jXfjMJQJYXZwJKpx1as2",16100,17false18]19});2021const requestOptions = {22메서드: "POST",23헤더: myHeaders,24본문: raw,25리디렉션: "follow"26};2728가져오기("https://docs-demo.sui-mainnet.quiknode.pro/", requestOptions)29.그런 다음((응답) => 응답.text())30.그런 다음((결과) => console.log(result))31.catchcatch ((오류) => 콘솔.오류(오류));
1const myHeaders = new Headers();2myHeaders.추가("Content-Type", "application/json");34const raw = JSON.stringify({5"jsonrpc": "2.0",6"id": 1,7"method": "suix_queryTransactionBlocks",8"params": [9{10"filter": {11"InputObject": "0x93633829fcba6d6e0ccb13d3dbfe7614b81ea76b255e5d435032cd8595f37eb8"12},13"options": null14},15"9YBN13tUMgQrhiAMuLqLiKJ2jXfjMJQJYXZwJKpx1as2",16100,17false18]19});2021const requestOptions = {22메서드: "POST",23헤더: myHeaders,24본문: raw,25리디렉션: "follow"26};2728가져오기("https://docs-demo.sui-mainnet.quiknode.pro/", requestOptions)29.그런 다음((응답) => 응답.text())30.그런 다음((결과) => console.log(result))31.catchcatch ((오류) => 콘솔.오류(오류));
1import 요청2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/"56페이로드 = json.dumps({7"jsonrpc": "2.0",8"id": 1,9"method": "suix_queryTransactionBlocks",10"params": [11{12"filter": {13"InputObject": "0x93633829fcba6d6e0ccb13d3dbfe7614b81ea76b255e5d435032cd8595f37eb8"14},15"options": None16},17"9YBN13tUMgQrhiAMuLqLiKJ2jXfjMJQJYXZwJKpx1as2",18100,19틀림20]21})22헤더 = {23'Content-Type': 'application/json'24}2526답변 = 요청.요청("POST", url, 헤더=헤더, data=페이로드)2728인쇄(응답.text)29
1import 요청2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/"56페이로드 = json.dumps({7"jsonrpc": "2.0",8"id": 1,9"method": "suix_queryTransactionBlocks",10"params": [11{12"filter": {13"InputObject": "0x93633829fcba6d6e0ccb13d3dbfe7614b81ea76b255e5d435032cd8595f37eb8"14},15"options": None16},17"9YBN13tUMgQrhiAMuLqLiKJ2jXfjMJQJYXZwJKpx1as2",18100,19틀림20]21})22헤더 = {23'Content-Type': 'application/json'24}2526답변 = 요청.요청("POST", url, 헤더=헤더, data=페이로드)2728인쇄(응답.text)29
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/")67https = Net::HTTP.new(url.호스트, url.포트)8https.use_ssl = true910요청 = 순::HTTP::POST.새(URL)11요청["Content-Type"] = "application/json"12요청.본문 = JSON.dump({13"jsonrpc": "2.0",14"id": 1,15"method": "suix_queryTransactionBlocks",16"params": [17{18"filter": {19"InputObject": "0x93633829fcba6d6e0ccb13d3dbfe7614b81ea76b255e5d435032cd8595f37eb8"20},21"options": "__RUBY\#%0NULL__"22},23"9YBN13tUMgQrhiAMuLqLiKJ2jXfjMJQJYXZwJKpx1as2",24100,25false26]27})2829답변 = https.요청(요청)30응답을 넣습니다.read_body31
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/")67https = Net::HTTP.new(url.호스트, url.포트)8https.use_ssl = true910요청 = 순::HTTP::POST.새(URL)11요청["Content-Type"] = "application/json"12요청.본문 = JSON.dump({13"jsonrpc": "2.0",14"id": 1,15"method": "suix_queryTransactionBlocks",16"params": [17{18"filter": {19"InputObject": "0x93633829fcba6d6e0ccb13d3dbfe7614b81ea76b255e5d435032cd8595f37eb8"20},21"options": "__RUBY\#%0NULL__"22},23"9YBN13tUMgQrhiAMuLqLiKJ2jXfjMJQJYXZwJKpx1as2",24100,25false26]27})2829답변 = https.요청(요청)30응답을 넣습니다.read_body31