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.追加("Accept", "application/json");3myHeaders.追加("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正文: 原始,16重定向: 「追蹤」17};1819fetch("https://docs-demo.sui-mainnet.quiknode.pro/graphql", requestOptions)20.接著((回應) => 回應.文字())21.接著((結果) => 控制台.log(結果))22.catch((錯誤) => 控制台.錯誤(錯誤));23
1const myHeaders = new Headers();2myHeaders.追加("Accept", "application/json");3myHeaders.追加("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正文: 原始,16重定向: 「追蹤」17};1819fetch("https://docs-demo.sui-mainnet.quiknode.pro/graphql", requestOptions)20.接著((回應) => 回應.文字())21.接著((結果) => 控制台.log(結果))22.catch((錯誤) => 控制台.錯誤(錯誤));23
1匯入 請求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, data=有效載荷)1819列印(回應.text)20
1匯入 請求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, data=有效載荷)1819列印(回應.text)20
1需要 "uri"2require "json"3需要 "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/graphql")67https = 網::HTTP.new(url.主機, url.port)8https.use_ssl = true910請求 = 淨::HTTP::POST.new(網址)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
1需要 "uri"2require "json"3需要 "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/graphql")67https = 網::HTTP.new(url.主機, url.port)8https.use_ssl = true910請求 = 淨::HTTP::POST.new(網址)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