Get All Dynamic Fields
Parámetros
id
cadena
OBLIGATORIO
Cargando...
Devoluciones
datos
objeto
Cargando...
dirección
objeto
Cargando...
dynamicFields
objeto
Cargando...
nodes
matriz
Cargando...
nombre
objeto
Cargando...
tipo
objeto
Cargando...
repr
cadena
Cargando...
json
cadena
Cargando...
valor
objeto
Cargando...
__typename
cadena
Cargando...
tipo
objeto
Cargando...
repr
cadena
Cargando...
json
objeto
Cargando...
Solicitud
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/graphql' \2--header 'Accept: application/json' \3--encabezado 'Content-Type: application/json' \4--datos '{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--encabezado 'Content-Type: application/json' \4--datos '{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.añadir(«Accept», "application/json");3myHeaders.añadir(«Content-Type», "application/json");45const sin procesar = JSON.convertir a cadena({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 = {13método: «POST»,14encabezados: myHeaders,15cuerpo: sin procesar,16redirigir: «seguir»17};1819fetch("https://docs-demo.sui-mainnet.quiknode.pro/graphql", requestOptions)20.entonces((respuesta) => respuesta.texto())21.entonces((resultado) => consola.log(resultado))22.captura((error) => console.error(error));23
1const myHeaders = new Headers();2myHeaders.añadir(«Accept», "application/json");3myHeaders.añadir(«Content-Type», "application/json");45const sin procesar = JSON.convertir a cadena({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 = {13método: «POST»,14encabezados: myHeaders,15cuerpo: sin procesar,16redirigir: «seguir»17};1819fetch("https://docs-demo.sui-mainnet.quiknode.pro/graphql", requestOptions)20.entonces((respuesta) => respuesta.texto())21.entonces((resultado) => consola.log(resultado))22.captura((error) => console.error(error));23
1import solicitudes2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/graphql"56carga útil = 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})12encabezados = {13«Aceptar»: 'application/json',14«Content-Type»: 'application/json'15}1617respuesta = solicitudes.solicitud(«POST», url, encabezados=encabezados, datos=carga útil)1819imprimir(respuesta.texto)20
1import solicitudes2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/graphql"56carga útil = 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})12encabezados = {13«Aceptar»: 'application/json',14«Content-Type»: 'application/json'15}1617respuesta = solicitudes.solicitud(«POST», url, encabezados=encabezados, datos=carga útil)1819imprimir(respuesta.texto)20
1requiere «uri»2require "json"3require «net/http»45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/graphql")67https = Net::HTTP.nuevo(url.host, url.puerto)8https.use_ssl = true910solicitud = Net::HTTP::POST.nuevo(URL)11solicitud[«Aceptar»] = «application/json»12solicitud[«Content-Type»] = "application/json"13solicitud.cuerpo = 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})1920respuesta = https.solicitud(solicitud)21inserta la respuesta.read_body22
1requiere «uri»2require "json"3require «net/http»45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/graphql")67https = Net::HTTP.nuevo(url.host, url.puerto)8https.use_ssl = true910solicitud = Net::HTTP::POST.nuevo(URL)11solicitud[«Aceptar»] = «application/json»12solicitud[«Content-Type»] = "application/json"13solicitud.cuerpo = 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})1920respuesta = https.solicitud(solicitud)21inserta la respuesta.read_body22
¿Aún no tienes una cuenta?
Crea tu punto de conexión de Quicknode en cuestión de segundos y empieza a desarrollar
Empieza gratis