Get All Dynamic Fields
参数
id
字符串
必填
正在加载...
退货
数据
对象
正在加载...
地址
对象
正在加载...
dynamicFields
对象
正在加载...
nodes
数组
正在加载...
名称
对象
正在加载...
类型
对象
正在加载...
repr
字符串
正在加载...
json
字符串
正在加载...
值
对象
正在加载...
__typename
字符串
正在加载...
类型
对象
正在加载...
repr
字符串
正在加载...
json
对象
正在加载...
请求
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/graphql' \2--header 'Accept: application/json' \3--header '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--header '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.追加("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.然后((响应) => 响应.文本())21.然后((结果) => 控制台.log(result))22.catch((error) => 控制台.错误(error));23
1const myHeaders = new Headers();2myHeaders.append("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正文: raw,16重定向: "follow"17};1819fetch("https://docs-demo.sui-mainnet.quiknode.pro/graphql", requestOptions)20.然后((响应) => 响应.文本())21.然后((结果) => 控制台.log(result))22.catch((error) => 控制台.错误(error));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
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/graphql")67https = Net::HTTP.new(url.主机, url.端口)8https.use_ssl = true910请求 = Net::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 = Net::HTTP.new(url.主机, url.端口)8https.use_ssl = true910请求 = Net::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