sui_tryMultiGetPastObjects RPC Method
パラメータ
object_id
文字列
必須
読み込み中...
バージョン
整数
必須
読み込み中...
ObjectDataOptions
オブジェクト
読み込み中...
showBcs
ブール値
読み込み中...
showContent
ブール値
読み込み中...
showDisplay
ブール値
読み込み中...
showOwner
ブール値
読み込み中...
showPreviousTransaction
ブール値
読み込み中...
showStorageRebate
ブール値
読み込み中...
showType
ブール値
読み込み中...
返品
結果
オブジェクト
読み込み中...
ステータス
文字列
読み込み中...
詳細
オブジェクト
読み込み中...
objectId
文字列
読み込み中...
バージョン
文字列
読み込み中...
digest
文字列
読み込み中...
タイプ
文字列
読み込み中...
所有者
オブジェクト
読み込み中...
AddressOwner
文字列
読み込み中...
previousTransaction
文字列
読み込み中...
storageRebate
文字列
読み込み中...
コンテンツ
オブジェクト
読み込み中...
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_tryMultiGetPastObjects",7"params": [8[9{10"objectId": "0x704c8c0d8052be7b5ca7174222a8980fb2ad3cd640f4482f931deb6436902627",11"version": "39221891"12}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}'
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_tryMultiGetPastObjects",7"params": [8[9{10"objectId": "0x704c8c0d8052be7b5ca7174222a8980fb2ad3cd640f4482f931deb6436902627",11"version": "39221891"12}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}'
1const myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34const raw = JSON.stringify({5"jsonrpc": "2.0",6"id": 1,7"method": "sui_tryMultiGetPastObjects",8"params": [9[10{11"objectId": "0x704c8c0d8052be7b5ca7174222a8980fb2ad3cd640f4482f931deb6436902627",12"version": "39221891"13}14],15{16"showType": true,17"showOwner": true,18"showPreviousTransaction": true,19"showDisplay": false,20"showContent": true,21"showBcs": false,22"showStorageRebate": true23}24]25});2627const requestOptions = {28メソッド: "POST",29ヘッダー: myHeaders,30本文: raw,31リダイレクト: "follow"32};3334fetch("https://docs-demo.sui-mainnet.quiknode.pro/", requestOptions)35.その後((レスポンス) => レスポンス.text())36.その後((結果) => コンソール.log(result))37.catchcatch((エラー) => コンソール.エラー(エラー));
1const myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34const raw = JSON.stringify({5"jsonrpc": "2.0",6"id": 1,7"method": "sui_tryMultiGetPastObjects",8"params": [9[10{11"objectId": "0x704c8c0d8052be7b5ca7174222a8980fb2ad3cd640f4482f931deb6436902627",12"version": "39221891"13}14],15{16"showType": true,17"showOwner": true,18"showPreviousTransaction": true,19"showDisplay": false,20"showContent": true,21"showBcs": false,22"showStorageRebate": true23}24]25});2627const requestOptions = {28メソッド: "POST",29ヘッダー: myHeaders,30本文: raw,31リダイレクト: "follow"32};3334fetch("https://docs-demo.sui-mainnet.quiknode.pro/", requestOptions)35.その後((レスポンス) => レスポンス.text())36.その後((結果) => コンソール.log(result))37.catchcatch((エラー) => コンソール.エラー(エラー));
1import リクエスト2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/"56ペイロード = json.dumps({7"jsonrpc": "2.0",8"id": 1,9"method": "sui_tryMultiGetPastObjects",10"params": [11[12{13"objectId": "0x704c8c0d8052be7b5ca7174222a8980fb2ad3cd640f4482f931deb6436902627",14"version": "39221891"15}16],17{18"showType": True,19"showOwner": True,20"showPreviousTransaction": True,21"showDisplay": False,22"showContent": True,23"showBcs": False,24"showStorageRebate": True25}26]27})28ヘッダー = {29「Content-Type」: 'application/json'30}3132回答 = リクエスト.リクエスト("POST", url, headers=headers, データ=ペイロード)3334印刷(レスポンス.text)35
1import リクエスト2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/"56ペイロード = json.dumps({7"jsonrpc": "2.0",8"id": 1,9"method": "sui_tryMultiGetPastObjects",10"params": [11[12{13"objectId": "0x704c8c0d8052be7b5ca7174222a8980fb2ad3cd640f4482f931deb6436902627",14"version": "39221891"15}16],17{18"showType": True,19"showOwner": True,20"showPreviousTransaction": True,21"showDisplay": False,22"showContent": True,23"showBcs": False,24"showStorageRebate": True25}26]27})28ヘッダー = {29「Content-Type」: 'application/json'30}3132回答 = リクエスト.リクエスト("POST", url, headers=headers, データ=ペイロード)3334印刷(レスポンス.text)35
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/")67https = ネット::HTTP.new(url.ホスト, url.ポート)8https.use_ssl = true910リクエスト = ネット::HTTP::POST.new(URL)11リクエスト["Content-Type"] = "application/json"12リクエスト.本文 = JSON.dump({13"jsonrpc": "2.0",14"id": 1,15"method": "sui_tryMultiGetPastObjects",16"params": [17[18{19"objectId": "0x704c8c0d8052be7b5ca7174222a8980fb2ad3cd640f4482f931deb6436902627",20"version": "39221891"21}22],23{24"showType": true,25"showOwner": true,26"showPreviousTransaction": true,27"showDisplay": false,28"showContent": true,29"showBcs": false,30"showStorageRebate": true31}32]33})3435回答 = https.リクエスト(リクエスト)36レスポンスを格納する.read_body37
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/")67https = ネット::HTTP.new(url.ホスト, url.ポート)8https.use_ssl = true910リクエスト = ネット::HTTP::POST.new(URL)11リクエスト["Content-Type"] = "application/json"12リクエスト.本文 = JSON.dump({13"jsonrpc": "2.0",14"id": 1,15"method": "sui_tryMultiGetPastObjects",16"params": [17[18{19"objectId": "0x704c8c0d8052be7b5ca7174222a8980fb2ad3cd640f4482f931deb6436902627",20"version": "39221891"21}22],23{24"showType": true,25"showOwner": true,26"showPreviousTransaction": true,27"showDisplay": false,28"showContent": true,29"showBcs": false,30"showStorageRebate": true31}32]33})3435回答 = https.リクエスト(リクエスト)36レスポンスを格納する.read_body37