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--헤더 '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.추가("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.그런 다음((결과) => console.log(result))22.catchcatch ((오류) => 콘솔.오류(오류));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.그런 다음((응답) => 응답.text())21.그런 다음((결과) => console.log(result))22.catchcatch ((오류) => 콘솔.오류(오류));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'Accept': 'application/json',14'Content-Type': 'application/json'15}1617답변 = 요청.요청("POST", url, 헤더=헤더, data=페이로드)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'Accept': 'application/json',14'Content-Type': 'application/json'15}1617답변 = 요청.요청("POST", url, 헤더=헤더, 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요청 = 순::HTTP::POST.새(URL)11request["Accept"] = "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요청 = 순::HTTP::POST.새(URL)11request["Accept"] = "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