sui_multiGetObjects RPC Method
매개변수
object_id
배열
필수
로딩 중...
ObjectDataOptions
객체
로딩 중...
showBcs
부울
로딩 중...
showContent
부울
로딩 중...
showDisplay
부울
로딩 중...
showOwner
부울
로딩 중...
showPreviousTransaction
부울
로딩 중...
showStorageRebate
부울
로딩 중...
showType
부울
로딩 중...
반품
결과
배열
로딩 중...
데이터
객체
로딩 중...
objectId
문자열
로딩 중...
버전
문자열
로딩 중...
요약
문자열
로딩 중...
유형
문자열
로딩 중...
소유자
객체
로딩 중...
주소 소유자
문자열
로딩 중...
previousTransaction
문자열
로딩 중...
저장 할인
문자열
로딩 중...
내용
객체
로딩 중...
dataType
문자열
로딩 중...
유형
문자열
로딩 중...
hasPublicTransfer
부울
로딩 중...
fields
객체
로딩 중...
id
객체
로딩 중...
id
문자열
로딩 중...
소유자
문자열
로딩 중...
요청
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": "sui_multiGetObjects",7"params": [8[9"0x704c8c0d8052be7b5ca7174222a8980fb2ad3cd640f4482f931deb6436902627"10],11{12"showType": true,13"showOwner": true,14"showPreviousTransaction": true,15"showDisplay": false,16"showContent": true,17"showBcs": false,18"showStorageRebate": true19}20]21}22'
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": "sui_multiGetObjects",7"params": [8[9"0x704c8c0d8052be7b5ca7174222a8980fb2ad3cd640f4482f931deb6436902627"10],11{12"showType": true,13"showOwner": true,14"showPreviousTransaction": true,15"showDisplay": false,16"showContent": true,17"showBcs": false,18"showStorageRebate": true19}20]21}22'
1const myHeaders = new Headers();2myHeaders.추가("Content-Type", "application/json");34const raw = JSON.stringify({5"jsonrpc": "2.0",6"id": 1,7"method": "sui_multiGetObjects",8"params": [9[10"0x704c8c0d8052be7b5ca7174222a8980fb2ad3cd640f4482f931deb6436902627"11],12{13"showType": true,14"showOwner": true,15"showPreviousTransaction": true,16"showDisplay": false,17"showContent": true,18"showBcs": false,19"showStorageRebate": true20}21]22});2324const requestOptions = {25메서드: "POST",26헤더: myHeaders,27본문: raw,28리디렉션: "follow"29};3031가져오기("https://docs-demo.sui-mainnet.quiknode.pro/", requestOptions)32.그런 다음((응답) => 응답.text())33.그런 다음((결과) => console.log(result))34.catchcatch ((오류) => 콘솔.오류(오류));
1const myHeaders = new Headers();2myHeaders.추가("Content-Type", "application/json");34const raw = JSON.stringify({5"jsonrpc": "2.0",6"id": 1,7"method": "sui_multiGetObjects",8"params": [9[10"0x704c8c0d8052be7b5ca7174222a8980fb2ad3cd640f4482f931deb6436902627"11],12{13"showType": true,14"showOwner": true,15"showPreviousTransaction": true,16"showDisplay": false,17"showContent": true,18"showBcs": false,19"showStorageRebate": true20}21]22});2324const requestOptions = {25메서드: "POST",26헤더: myHeaders,27본문: raw,28리디렉션: "follow"29};3031가져오기("https://docs-demo.sui-mainnet.quiknode.pro/", requestOptions)32.그런 다음((응답) => 응답.text())33.그런 다음((결과) => console.log(result))34.catchcatch ((오류) => 콘솔.오류(오류));
1import 요청2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/"56페이로드 = json.dumps({7"jsonrpc": "2.0",8"id": 1,9"method": "sui_multiGetObjects",10"params": [11[12"0x704c8c0d8052be7b5ca7174222a8980fb2ad3cd640f4482f931deb6436902627"13],14{15"showType": True,16"showOwner": True,17"showPreviousTransaction": True,18"showDisplay": False,19"showContent": True,20"showBcs": False,21"showStorageRebate": True22}23]24})25헤더 = {26'Content-Type': 'application/json'27}2829답변 = 요청.요청("POST", url, 헤더=헤더, data=페이로드)3031인쇄(응답.text)32
1import 요청2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/"56페이로드 = json.dumps({7"jsonrpc": "2.0",8"id": 1,9"method": "sui_multiGetObjects",10"params": [11[12"0x704c8c0d8052be7b5ca7174222a8980fb2ad3cd640f4482f931deb6436902627"13],14{15"showType": True,16"showOwner": True,17"showPreviousTransaction": True,18"showDisplay": False,19"showContent": True,20"showBcs": False,21"showStorageRebate": True22}23]24})25헤더 = {26'Content-Type': 'application/json'27}2829답변 = 요청.요청("POST", url, 헤더=헤더, data=페이로드)3031인쇄(응답.text)32
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": "sui_multiGetObjects",16"params": [17[18"0x704c8c0d8052be7b5ca7174222a8980fb2ad3cd640f4482f931deb6436902627"19],20{21"showType": true,22"showOwner": true,23"showPreviousTransaction": true,24"showDisplay": false,25"showContent": true,26"showBcs": false,27"showStorageRebate": true28}29]30})3132답변 = https.요청(요청)33응답을 넣습니다.read_body34
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": "sui_multiGetObjects",16"params": [17[18"0x704c8c0d8052be7b5ca7174222a8980fb2ad3cd640f4482f931deb6436902627"19],20{21"showType": true,22"showOwner": true,23"showPreviousTransaction": true,24"showDisplay": false,25"showContent": true,26"showBcs": false,27"showStorageRebate": true28}29]30})3132답변 = https.요청(요청)33응답을 넣습니다.read_body34