Get All Dynamic Fields
パラメータ
id
文字列
必須
読み込み中...
返品
データ
オブジェクト
読み込み中...
住所
オブジェクト
読み込み中...
dynamicFields
オブジェクト
読み込み中...
ノード
配列
読み込み中...
名前
オブジェクト
読み込み中...
タイプ
オブジェクト
読み込み中...
repr
文字列
読み込み中...
json
文字列
読み込み中...
値
オブジェクト
読み込み中...
__typename
文字列
読み込み中...
タイプ
オブジェクト
読み込み中...
repr
文字列
読み込み中...
json
オブジェクト
読み込み中...
リクエスト
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/graphql' \2--header 'Accept: application/json' \3--ヘッダー 'Content-Type: application/json' \4--data '{5"query": "query ($id: SuiAddress!) { address(address: $id) { dynamicFields { nodes { name { ...Value } value { __typename ... on MoveValue { ...Value } ... on MoveObject { contents { ...Value } } } } } } } fragment Value on MoveValue { type { repr } json }",6"variables": {7"id": "0x27c4fdb3b846aa3ae4a65ef5127a309aa3c1f466671471a806d8912a18b253e8"8}9}'10
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/graphql' \2--header 'Accept: application/json' \3--ヘッダー 'Content-Type: application/json' \4--data '{5"query": "query ($id: SuiAddress!) { address(address: $id) { dynamicFields { nodes { name { ...Value } value { __typename ... on MoveValue { ...Value } ... on MoveObject { contents { ...Value } } } } } } } fragment Value on MoveValue { type { repr } json }",6"variables": {7"id": "0x27c4fdb3b846aa3ae4a65ef5127a309aa3c1f466671471a806d8912a18b253e8"8}9}'10
1const myHeaders = new Headers();2myHeaders.append("Accept", "application/json");3myHeaders.append("Content-Type", "application/json");45const raw = JSON.stringify({6"query": "query ($id: SuiAddress!) { address(address: $id) { dynamicFields { nodes { name { ...Value } value { __typename ... on MoveValue { ...Value } ... on MoveObject { contents { ...Value } } } } } } } fragment Value on MoveValue { type { repr } json }",7"variables": {8"id": "0x27c4fdb3b846aa3ae4a65ef5127a309aa3c1f466671471a806d8912a18b253e8"9}10});1112const requestOptions = {13メソッド: "POST",14ヘッダー: myHeaders,15本文: raw,16リダイレクト: "follow"17};1819fetch("https://docs-demo.sui-mainnet.quiknode.pro/graphql", requestOptions)20.その後((レスポンス) => レスポンス.text())21.その後((結果) => コンソール.log(result))22.catch((エラー) => コンソール.エラー(エラー));23
1const myHeaders = new Headers();2myHeaders.append("Accept", "application/json");3myHeaders.append("Content-Type", "application/json");45const raw = JSON.stringify({6"query": "query ($id: SuiAddress!) { address(address: $id) { dynamicFields { nodes { name { ...Value } value { __typename ... on MoveValue { ...Value } ... on MoveObject { contents { ...Value } } } } } } } fragment Value on MoveValue { type { repr } json }",7"variables": {8"id": "0x27c4fdb3b846aa3ae4a65ef5127a309aa3c1f466671471a806d8912a18b253e8"9}10});1112const requestOptions = {13メソッド: "POST",14ヘッダー: myHeaders,15本文: raw,16リダイレクト: "follow"17};1819fetch("https://docs-demo.sui-mainnet.quiknode.pro/graphql", requestOptions)20.その後((レスポンス) => レスポンス.text())21.その後((結果) => コンソール.log(result))22.catch((エラー) => コンソール.エラー(エラー));23
1import リクエスト2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/graphql"56ペイロード = json.dumps({7"query": "query ($id: SuiAddress!) { address(address: $id) { dynamicFields { nodes { name { ...Value } value { __typename ... on MoveValue { ...Value } ... on MoveObject { contents { ...Value } } } } } } } fragment Value on MoveValue { type { repr } json }",8"variables": {9"id": "0x27c4fdb3b846aa3ae4a65ef5127a309aa3c1f466671471a806d8912a18b253e8"10}11})12ヘッダー = {13「承諾」: 'application/json',14「Content-Type」: 'application/json'15}1617回答 = リクエスト.リクエスト("POST", url, headers=headers, データ=ペイロード)1819印刷(レスポンス.text)20
1import リクエスト2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/graphql"56ペイロード = json.dumps({7"query": "query ($id: SuiAddress!) { address(address: $id) { dynamicFields { nodes { name { ...Value } value { __typename ... on MoveValue { ...Value } ... on MoveObject { contents { ...Value } } } } } } } fragment Value on MoveValue { type { repr } json }",8"variables": {9"id": "0x27c4fdb3b846aa3ae4a65ef5127a309aa3c1f466671471a806d8912a18b253e8"10}11})12ヘッダー = {13「承諾」: 'application/json',14「Content-Type」: 'application/json'15}1617回答 = リクエスト.リクエスト("POST", url, headers=headers, データ=ペイロード)1819印刷(レスポンス.text)20
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/graphql")67https = ネット::HTTP.new(url.ホスト, url.ポート)8https.use_ssl = true910リクエスト = ネット::HTTP::POST.new(URL)11リクエスト[「承諾」] = "application/json"12リクエスト["Content-Type"] = "application/json"13リクエスト.本文 = JSON.dump({14"query" => "query ($id: SuiAddress!) { address(address: $id) { dynamicFields { nodes { name { ...Value } value { __typename ... on MoveValue { ...Value } ... on MoveObject { contents { ...Value } } } } } } } fragment Value on MoveValue { type { repr } json }",15"variables" => {16"id" => "0x27c4fdb3b846aa3ae4a65ef5127a309aa3c1f466671471a806d8912a18b253e8"17}18})1920回答 = https.リクエスト(リクエスト)21レスポンスを格納する.read_body22
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/graphql")67https = ネット::HTTP.new(url.ホスト, url.ポート)8https.use_ssl = true910リクエスト = ネット::HTTP::POST.new(URL)11リクエスト[「承諾」] = "application/json"12リクエスト["Content-Type"] = "application/json"13リクエスト.本文 = JSON.dump({14"query" => "query ($id: SuiAddress!) { address(address: $id) { dynamicFields { nodes { name { ...Value } value { __typename ... on MoveValue { ...Value } ... on MoveObject { contents { ...Value } } } } } } } fragment Value on MoveValue { type { repr } json }",15"variables" => {16"id" => "0x27c4fdb3b846aa3ae4a65ef5127a309aa3c1f466671471a806d8912a18b253e8"17}18})1920回答 = https.リクエスト(リクエスト)21レスポンスを格納する.read_body22