1import{N as L}from"./CO3koybF.js";import{d as x,u as q,m as w,v as I,o as A,e as o,x as T,b2 as r,b as _,c as B,j as i,f as s,t as u,A as M,g as m,B as E,C as z,F as W,b3 as j}from"./HQP5Psq3.js";import{_ as G}from"./C4ryZfdL.js";import{_ as U}from"./vx6QvN53.js";import{B as D}from"./CxNc_98P.js";import{u as Y}from"./B4uzo6_g.js";import{u as F}from"./DaICwT9C.js";import{u as $}from"./Bj6jUUzs.js";import"./BacmQ43i.js";import"./CZ6LNnS1.js";const H={header:{title:"JSON-RPC (SOLIDITY) Node",description:"JSON-RPC is a remote procedure call (RPC) protocol encoded in JSON, facilitating communication between clients and full blockchain nodes of Solidity-based blockchains. It enables retrieving data on blockchain nodes, supporting methods for querying balances, sending transactions. JSON-RPC is lightweight tool used in decentralized applications (dApps) for interaction with Solidityâs networks."},faq:{header:{label:"FAQ",title:"Frequently Asked Questions"},items:[{question:"What is JSON-RPC Solidity?",answer:"JSON-RPC Solidity refers to the use of the JSON-RPC protocol with a Solidity Node in the Tron network. A Solidity Node is specialized for syncing and storing finalized blocks and providing inquiry APIs to query data from these blocks. This ensures that the data retrieved is stable and reliable."},{question:"What is JSON-RPC Solidity used for?",answer:"Using JSON-RPC with a Solidity Node allows developers to interact with the node through precise method calls, enabling them to access confirmed blockchain data, for instance, related to smart contracts and finalized transactions."},{question:"How to get JSON-RPC Solidity?",answer:'To access a JSON-RPC Solidity Node, go to GetBlock.io and create an account or log in to your dashboard. In your dashboard, choose "Tron" from the dropdown list of available protocols. GetBlock will show you different types of nodes available, including Solidity Nodes. Lastly, create the JSON-RPC endpoint. This endpoint will be a URL like âhttps://shared.eu-central-1.getblock.io/YOUR PERSONAL ACCESS TOKENâ'}]},seoColumns:{header:{label:"Web3 RPC APIs",title:"Crypto Nodes List: Various Blockchains, Various Use Cases"},items:[{title:"Fast and cost-efficient RPC APIs",description:"GetBlock maintains one of the largest toolkits of crypto nodes in Web3. We run blockchain nodes so our clients donât have to. As a leading RPC APIs provider, we offer 99,99% uptime and competitive speed for all our services.",button:"Learn more",link:"https://account.getblock.io/"},{title:"Blockchain Nodes: List of Advantages",description:"Working with a Web3 RPC provider is more resource-efficient than running self-hosted ones. Instead of purchasing servers, customizing and maintaining them, teams can focus on development saving up to 70% in time and efforts.",button:"Learn more",link:"https://account.getblock.io/"}]},meta:{title:"JSON-RPC (SOLIDITY) Node Provider",description:"JSON-RPC (SOLIDITY) Nodes for Web3 development. Use GetBlock.io JSON-RPC (SOLIDITY) blockchain node service to get access to popular blockchain platforms."},breadcrumb:{chainList:"Chain List",nodeList:"RPC Service"}},Q={header:{title:"JSON-RPCï¼SOLIDITYï¼èç¹",description:"JSON-RPC æ¯ä¸ç§ä»¥ JSON ç¼ç çè¿ç¨è¿ç¨è°ç¨ (RPC) åè®®ï¼ä¿è¿å®¢æ·ç«¯ååºäº Solidity çåºåé¾ç宿´åºåé¾èç¹ä¹é´çéä¿¡ãå®å¯ä»¥æ£ç´¢åºåé¾èç¹ä¸çæ°æ®ï¼æ¯ææ¥è¯¢ä½é¢ãåé交æçæ¹æ³ã JSON-RPC æ¯å»ä¸å¿ååºç¨ç¨åº (dApp) ä¸ç¨äºä¸ Solidity ç½ç»äº¤äºçè½»é级工å
·ã"},faq:{header:{label:"FAQ",title:"常è§é®é¢"},items:[{question:"ä»ä¹æ¯ JSON-RPC Solidityï¼",answer:"JSON-RPC Solidity æ¯æå¨ Tron ç½ç»ä¸ä½¿ç¨ JSON-RPC åè®®å Solidity èç¹ãSolidity èç¹ä¸é¨ç¨äºåæ¥åå卿ç»ç¡®å®çåºåï¼å¹¶æä¾æ¥è¯¢ API æ¥æ¥è¯¢è¿äºåºåä¸çæ°æ®ãè¿ç¡®ä¿æ£ç´¢å°çæ°æ®ç¨³å®å¯é ã"},{question:"JSON-RPC Solidity ç¨äºä»ä¹ï¼",answer:"å° JSON-RPC ä¸ Solidity èç¹ç»å使ç¨å
许å¼å人åéè¿ç²¾ç¡®çæ¹æ³è°ç¨ä¸èç¹äº¤äºï¼ä»è使ä»ä»¬è½å¤è®¿é®å·²ç¡®è®¤çåºå龿°æ®ï¼ä¾å¦ä¸æºè½å约åæç»äº¤æç¸å
³çæ°æ®ã"},{question:"å¦ä½è·å JSON-RPC Solidityï¼",answer:"è¦è®¿é® JSON-RPC Solidity èç¹ï¼è¯·è½¬å° GetBlock.io å¹¶åå»ºå¸æ·æç»å½å°æ¨ç仪表æ¿ã卿¨ç仪表æ¿ä¸ï¼ä»å¯ç¨åè®®ç䏿å表ä¸éæ©âTronâãGetBlock å°åæ¨æ¾ç¤ºå¯ç¨çä¸åç±»åçèç¹ï¼
1å
æ¬ Solidity èç¹ãæåï¼å建 JSON-RPC 端ç¹ãæ¤ç«¯ç¹å°æ¯ä¸ä¸ª URLï¼ä¾å¦âhttps://shared.eu-central-1.getblock.io/YOUR PERSONAL ACCESS TOKENâ"}]},seoColumns:{header:{label:"Web3 RPC API",title:"å å¯èç¹å表ï¼åç§åºåé¾ï¼åç§ç¨ä¾"},items:[{title:"å¿«éä¸ç»æµé«æç RPC API",description:"GetBlock ç»´æ¤ç Web3 䏿大çå å¯èç¹å·¥å
·å
ä¹ä¸ãæä»¬è¿è¡åºåé¾èç¹ï¼å æ¤æä»¬ç客æ·ä¸å¿
è¿æ ·åãä½ä¸ºé¢å
ç RPC API æä¾åï¼æä»¬ä¸ºæææå¡æä¾ 99.99% çæ£å¸¸è¿è¡æ¶é´åå
·æç«äºåçé度ã",button:"äºè§£æ´å¤",link:"https://account.getblock.io/"},{title:"åºåé¾èç¹ï¼ä¼å¿å表",description:"ä½¿ç¨ Web3 RPC æä¾ç¨åºæ¯è¿è¡èªæç®¡æä¾ç¨åºæ´èçèµæºãå¢éæ éè´ä¹°ãå®å¶åç»´æ¤æå¡å¨ï¼èæ¯å¯ä»¥ä¸æ³¨äºå¼åï¼èçé«è¾¾ 70% çæ¶é´åç²¾åã",button:"äºè§£æ´å¤",link:"https://account.getblock.io/"}]},meta:{title:"JSON-RPCï¼SOLIDITYï¼èç¹æä¾å",description:"ç¨äº Web3 å¼åç JSON-RPC (SOLIDITY) èç¹ãä½¿ç¨ GetBlock.io JSON-RPC (SOLIDITY) åºåé¾èç¹æå¡å¯ä»¥è®¿é®æµè¡çåºåé¾å¹³å°ã"},breadcrumb:{chainList:"é¾è¡¨",nodeList:"è¿ç¨è¿ç¨è°ç¨æå¡"}},V={header:{title:"Nodos JSON-RPC (Solidity)",description:"JSON-RPC es un protocolo de llamada a procedimiento remoto (RPC) codificado en JSON, que facilita la comunicación entre los clientes y los nodos completos de las cadenas de bloques basadas en Solidity. Permite recuperar datos en nodos de blockchain, admite métodos para consultar saldos y envi
1ar transacciones. JSON-RPC es una herramienta liviana que se utiliza en aplicaciones descentralizadas (dApps) para interactuar con las redes de Solidity."},faq:{header:{label:"Preguntas frecuentes",title:"Preguntas frecuentes"},items:[{question:"¿Qué es JSON-RPC Solidity?",answer:"JSON-RPC Solidity se refiere al uso del protocolo JSON-RPC con un Nodo Solidity en la red Tron. Un Solidity Node está especializado en sincronizar y almacenar bloques finalizados y proporcionar API de consulta para consultar datos de estos bloques. Esto garantiza que los datos recuperados sean estables y fiables."},{question:"¿Para qué se utiliza JSON-RPC Solidity?",answer:"El uso de JSON-RPC con un nodo Solidity permite a los desarrolladores interactuar con el nodo a través de llamadas a métodos precisos, lo que les permite acceder a datos confirmados de blockchain, por ejemplo, relacionados con contratos inteligentes y transacciones finalizadas."},{question:"¿Cómo obtener JSON-RPC Solidity?",answer:'Para acceder a un nodo JSON-RPC Solidity, vaya a GetBlock.io y cree una cuenta o inicie sesión en su panel. En su panel, elija "Tron" de la lista desplegable de protocolos disponibles. GetBlock le mostrará diferentes tipos de nodos disponibles, incluidos los nodos Solidity. Por último, cree el punto final JSON-RPC. Este punto final será una URL como "https://shared.eu-central-1.getblock.io/TU TOKEN DE ACCESO PERSONAL"'}]},seoColumns:{header:{label:"API de RPC Web3",title:"Lista de nodos criptográficos: varias cadenas de bloques, varios casos de uso"},items:[{title:"API RPC rápidas y rentables",description:"GetBlock mantiene uno de los conjuntos de herramientas más grandes de nodos criptográficos en Web3. Ejecutamos nodos blockchain para que nuestros clientes n
1o tengan que hacerlo. Como proveedor lÃder de API de RPC, ofrecemos un tiempo de actividad del 99,99 % y una velocidad competitiva para todos nuestros servicios.",button:"Más información",link:"https://account.getblock.io/"},{title:"Nodos Blockchain: Lista de ventajas",description:"Trabajar con un proveedor Web3 RPC consume más recursos que ejecutar proveedores autohospedados. En lugar de comprar servidores, personalizarlos y mantenerlos, los equipos pueden centrarse en el desarrollo ahorrando hasta un 70 % en tiempo y esfuerzo.",button:"Más información",link:"https://account.getblock.io/"}]},meta:{title:"Proveedor de nodos JSON-RPC (Solidity)",description:"Nodos JSON-RPC (Solidity) para desarrollo Web3. Utilice el servicio de nodo blockchain JSON-RPC (Solidity) de GetBlock.io para obtener acceso a plataformas blockchain populares."},breadcrumb:{chainList:"Lista de cadenas",nodeList:"Servicio RPC"}},K={class:"font-dmsans max-w-[1376px] px-16 sm:px-8 xs:px-4 mx-auto","data-reveal-root":""},X={class:"flex flex-col gap-8 mb-10"},Z={class:"xl:text-[48px] lg:text-[48px] xl:leading-[56px] lg:leading-[56px] font-bold gb-text-text-main text-[32px] leading-10","data-reveal-boot":""},ee={class:"text-lg leading-7 gb-text-text-secondary","data-reveal-boot":"1"},me=x({__name:"json-rpc-solidity",setup(oe){const{t:e}=q(H,Q,V),l=a=>j(e(a)),c=w(),{sendEventMixpanel:h}=I();A(()=>{h("page_view(web)",{page_name:"node_interface",node_interface:"json-rpc-solidity"})});const t=o(()=>c.state.shared.locale),d=o(()=>({header:{...e("faq.header"),width:{title:"500px"}},items:e("faq.items"),locale:t.value})),S=o(()=>({header:{...e("seoColumns.header"),width:{title:"900px"}},items:e("seoColumns.items").map(a=>({...a,link:r(a.link,t.value),width:{title:"100%",description:"400px"}}))})),b=()=>{c.commit("setContactModal",{display:!0,contacts:"sales"})},P=o(()=>t.value==="cn"?" ":""),n=o(()=>t.value==="en"?"":`${t.value}/`),f=o(()=>`https://getblock.io/${n.value}`),C=o(()=>`https://getblock.io/${n.value}nodes/`),p=o(()=>`https://getblock.io/${n.value}nodes/json-rpc-solidity/`),{metaTags:g}=$(),{faqMicro:y,webpageMicro:N,breadCrumbMicro:R}=F(),k=y(d.value.items),v=N(e("meta.title"),e("meta.description"),p.value),O=R([{"@type":"ListItem",position:1,name:"GetBlock ",item:f.value},{"@type":"ListItem",position:2,name:e("breadcrumb.chainList"),item:C.value},{"@type":"ListItem",position:3,name:e("meta.title")}]);Y({rootSelector:"[data-reveal-root]",groupSelector:"header",skipFirstScreen:!0}),T({title:`${e("meta.title")} | GetBlock.io`,meta:g(e,P.value,"",p.value),script:[{type:"application/ld+json",innerHTML:v},{type:"application/ld+json",innerHTML:k},{type:"application/ld+json",innerHTML:O}]});const J=[{text:"GetBlock",link:r("/",t.value)},{text:e("breadcrumb.nodeList"),link:r("/nodes/",t.value)},{text:e("meta.title").split("Node Provider")[0]}];return(a,te)=>(_(),B(W,null,[i(D,{class:"main-container",items:J,"data-reveal-boot":""}),s("div",K,[s("header",X,[s("h1",Z,u(l("header.title")),1),s("p",ee,u(l("header.description")),1)]),i(L,{slug:"json-rpc-solidity"}),i(G,M(m(d),{onOpenContactModal:b}),null,16),i(U,E(z(m(S))),null,16)])],64))}});export{me as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.