suix_getOwnedObjects RPC Method
Parameter
Adresse
Zeichenkette
ERFORDERLICH
Wird geladen...
Abfrage
Objekt
ERFORDERLICH
Wird geladen...
Cursor
Zeichenkette
Wird geladen...
Grenzwert
Ganzzahl
Wird geladen...
Rücksendungen
Ergebnis
Objekt
Wird geladen...
Daten
Array
Wird geladen...
Daten
Objekt
Wird geladen...
objectId
Zeichenkette
Wird geladen...
Version
Zeichenkette
Wird geladen...
digest
Zeichenkette
Wird geladen...
Typ
Zeichenkette
Wird geladen...
Eigentümer
Objekt
Wird geladen...
AddressOwner
Zeichenkette
Wird geladen...
previousTransaction
Zeichenkette
Wird geladen...
storageRebate
Zeichenkette
Wird geladen...
nextCursor
Zeichenkette
Wird geladen...
hasNextPage
boolesch
Wird geladen...
Anfrage
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/' \2--header 'Content-Type: application/json' \3--Daten '{4"jsonrpc": "2.0",5"id": 1,6"method": "suix_getOwnedObjects",7"params": [8"0x00878369f475a454939af7b84cdd981515b1329f159a1aeb9bf0f8899e00083a",9{10"filter": {11"MatchAll": [12{13"StructType": "0x2::coin::Coin<0x2::sui::SUI>"14},15{16"AddressOwner": "0x0cd4bb4d4f520fe9bbf0cf1cebe3f2549412826c3c9261bff9786c240123749f"17},18{19"Version": "13488"20}21]22},23"options": {24"showType": true,25"showOwner": true,26"showPreviousTransaction": true,27"showDisplay": false,28"showContent": false,29"showBcs": false,30"showStorageRebate": false31}32}33]34}'
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/' \2--header 'Content-Type: application/json' \3--Daten '{4"jsonrpc": "2.0",5"id": 1,6"method": "suix_getOwnedObjects",7"params": [8"0x00878369f475a454939af7b84cdd981515b1329f159a1aeb9bf0f8899e00083a",9{10"filter": {11"MatchAll": [12{13"StructType": "0x2::coin::Coin<0x2::sui::SUI>"14},15{16"AddressOwner": "0x0cd4bb4d4f520fe9bbf0cf1cebe3f2549412826c3c9261bff9786c240123749f"17},18{19"Version": "13488"20}21]22},23"options": {24"showType": true,25"showOwner": true,26"showPreviousTransaction": true,27"showDisplay": false,28"showContent": false,29"showBcs": false,30"showStorageRebate": false31}32}33]34}'
1const myHeaders = new Headers();2myHeaders.anhängen("Content-Type", "application/json");34const raw = JSON.stringify({5„jsonrpc“: "2.0",6„id“: 1,7"method": "suix_getOwnedObjects",8„params“: [9"0x00878369f475a454939af7b84cdd981515b1329f159a1aeb9bf0f8899e00083a",10{11"filter": {12"MatchAll": [13{14"StructType": "0x2::coin::Coin<0x2::sui::SUI>"15},16{17"AddressOwner": "0x0cd4bb4d4f520fe9bbf0cf1cebe3f2549412826c3c9261bff9786c240123749f"18},19{20"Version": "13488"21}22]23},24"options": {25"showType": true,26"showOwner": true,27"showPreviousTransaction": true,28"showDisplay": false,29"showContent": false,30"showBcs": false,31"showStorageRebate": false32}33}34]35});3637const requestOptions = {38Methode: „POST“,39Überschriften: myHeaders,40Körper: raw,41Weiterleitung: „follow“42};4344fetch("https://docs-demo.sui-mainnet.quiknode.pro/", requestOptions)45.dann((Antwort) => Antwort.text())46.dann((Ergebnis) => Konsole.log(Ergebnis))47.catch((Fehler) => Konsole.Fehler(Fehler));
1const myHeaders = new Headers();2myHeaders.anhängen("Content-Type", "application/json");34const raw = JSON.stringify({5„jsonrpc“: "2.0",6„id“: 1,7"method": "suix_getOwnedObjects",8„params“: [9"0x00878369f475a454939af7b84cdd981515b1329f159a1aeb9bf0f8899e00083a",10{11"filter": {12"MatchAll": [13{14"StructType": "0x2::coin::Coin<0x2::sui::SUI>"15},16{17"AddressOwner": "0x0cd4bb4d4f520fe9bbf0cf1cebe3f2549412826c3c9261bff9786c240123749f"18},19{20"Version": "13488"21}22]23},24"options": {25"showType": true,26"showOwner": true,27"showPreviousTransaction": true,28"showDisplay": false,29"showContent": false,30"showBcs": false,31"showStorageRebate": false32}33}34]35});3637const requestOptions = {38Methode: „POST“,39Überschriften: myHeaders,40Körper: raw,41Weiterleitung: „follow“42};4344fetch("https://docs-demo.sui-mainnet.quiknode.pro/", requestOptions)45.dann((Antwort) => Antwort.text())46.dann((Ergebnis) => Konsole.log(Ergebnis))47.catch((Fehler) => Konsole.Fehler(Fehler));
1import Anfragen2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/"56Nutzlast = json.dumps({7„jsonrpc“: "2.0",8„id“: 1,9"method": "suix_getOwnedObjects",10„params“: [11"0x00878369f475a454939af7b84cdd981515b1329f159a1aeb9bf0f8899e00083a",12{13"filter": {14"MatchAll": [15{16"StructType": "0x2::coin::Coin<0x2::sui::SUI>"17},18{19"AddressOwner": "0x0cd4bb4d4f520fe9bbf0cf1cebe3f2549412826c3c9261bff9786c240123749f"20},21{22"Version": "13488"23}24]25},26"options": {27"showType": True,28"showOwner": True,29"showPreviousTransaction": True,30"showDisplay": False,31"showContent": False,32"showBcs": False,33"showStorageRebate": False34}35}36]37})38Überschriften = {39„Content-Type“: 'application/json'40}4142Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)4344Drucken(Antwort.text)45
1import Anfragen2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/"56Nutzlast = json.dumps({7„jsonrpc“: "2.0",8„id“: 1,9"method": "suix_getOwnedObjects",10„params“: [11"0x00878369f475a454939af7b84cdd981515b1329f159a1aeb9bf0f8899e00083a",12{13"filter": {14"MatchAll": [15{16"StructType": "0x2::coin::Coin<0x2::sui::SUI>"17},18{19"AddressOwner": "0x0cd4bb4d4f520fe9bbf0cf1cebe3f2549412826c3c9261bff9786c240123749f"20},21{22"Version": "13488"23}24]25},26"options": {27"showType": True,28"showOwner": True,29"showPreviousTransaction": True,30"showDisplay": False,31"showContent": False,32"showBcs": False,33"showStorageRebate": False34}35}36]37})38Überschriften = {39„Content-Type“: 'application/json'40}4142Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)4344Drucken(Antwort.text)45
1require "uri"2require "json"3require „net/http“45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/")67https = Net::HTTP.new(url.host, URL.Port)8https.use_ssl = true910Anfrage = Netto::HTTP::POST.new(URL)11Anfrage[„Content-Type“] = „application/json“12Anfrage.Inhalt = JSON.dump({13„jsonrpc“: "2.0",14„id“: 1,15"method": "suix_getOwnedObjects",16„params“: [17"0x00878369f475a454939af7b84cdd981515b1329f159a1aeb9bf0f8899e00083a",18{19"filter": {20"MatchAll": [21{22"StructType": "0x2::coin::Coin<0x2::sui::SUI>"23},24{25"AddressOwner": "0x0cd4bb4d4f520fe9bbf0cf1cebe3f2549412826c3c9261bff9786c240123749f"26},27{28"Version": "13488"29}30]31},32"options": {33"showType": true,34"showOwner": true,35"showPreviousTransaction": true,36"showDisplay": false,37"showContent": false,38"showBcs": false,39"showStorageRebate": false40}41}42]43})4445Antwort = https.Anfrage(Anfrage)46gibt die Antwort aus.read_body47
1require "uri"2require "json"3require „net/http“45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/")67https = Net::HTTP.new(url.host, URL.Port)8https.use_ssl = true910Anfrage = Netto::HTTP::POST.new(URL)11Anfrage[„Content-Type“] = „application/json“12Anfrage.Inhalt = JSON.dump({13„jsonrpc“: "2.0",14„id“: 1,15"method": "suix_getOwnedObjects",16„params“: [17"0x00878369f475a454939af7b84cdd981515b1329f159a1aeb9bf0f8899e00083a",18{19"filter": {20"MatchAll": [21{22"StructType": "0x2::coin::Coin<0x2::sui::SUI>"23},24{25"AddressOwner": "0x0cd4bb4d4f520fe9bbf0cf1cebe3f2549412826c3c9261bff9786c240123749f"26},27{28"Version": "13488"29}30]31},32"options": {33"showType": true,34"showOwner": true,35"showPreviousTransaction": true,36"showDisplay": false,37"showContent": false,38"showBcs": false,39"showStorageRebate": false40}41}42]43})4445Antwort = https.Anfrage(Anfrage)46gibt die Antwort aus.read_body47
Haben Sie noch kein Konto?
Erstellen Sie Ihren Quicknode-Endpunkt in Sekundenschnelle und legen Sie los
Kostenlos loslegen