[{"data":1,"prerenderedAt":237},["ShallowReactive",2],{"article-en-chto-takoe-grpc":3,"articles-titles-en":179},{"id":4,"title":5,"body":6,"date":149,"description":150,"draft":151,"extension":152,"faq":153,"faqTitle":169,"image":170,"meta":171,"navigation":172,"path":173,"seo":174,"sitemap":175,"stem":176,"tags":177,"__hash__":178},"articlesEn\u002Fchto-takoe-grpc.md","What Is gRPC?",{"type":7,"value":8,"toc":135},"minimark",[9,13,16,21,24,28,95,99,102,106,111,114,118,121,125,128,132],[10,11,12],"p",{},"gRPC is a framework for calling methods on a remote service as if they were local functions. Services and messages are commonly defined with Protocol Buffers.",[10,14,15],{},"It is useful for typed service-to-service APIs and streaming blockchain data, where compact messages and explicit contracts matter.",[17,18,20],"h2",{"id":19},"how-the-grpc-protocol-works","How the gRPC protocol works",[10,22,23],{},"A .proto file defines services, methods and message types. Tooling generates client and server code, while data is commonly serialized as Protobuf and transported over HTTP\u002F2. gRPC supports unary, server-streaming, client-streaming and bidirectional calls.",[17,25,27],{"id":26},"grpc-vs-rest","gRPC vs REST",[29,30,31,47],"table",{},[32,33,34],"thead",{},[35,36,37,41,44],"tr",{},[38,39,40],"th",{},"Criterion",[38,42,43],{},"gRPC",[38,45,46],{},"REST\u002FJSON",[48,49,50,62,73,84],"tbody",{},[35,51,52,56,59],{},[53,54,55],"td",{},"Contract",[53,57,58],{},"Strict .proto schema",[53,60,61],{},"OpenAPI is optional",[35,63,64,67,70],{},[53,65,66],{},"Payload",[53,68,69],{},"Usually binary Protobuf",[53,71,72],{},"Usually readable JSON",[35,74,75,78,81],{},[53,76,77],{},"Streaming",[53,79,80],{},"Built into call models",[53,82,83],{},"Requires additional patterns",[35,85,86,89,92],{},[53,87,88],{},"Browser use",[53,90,91],{},"gRPC-Web or gateway",[53,93,94],{},"Native fetch support",[17,96,98],{"id":97},"grpc-in-blockchain-infrastructure","gRPC in blockchain infrastructure",[10,100,101],{},"Some blockchain clients expose native gRPC services for blocks, state and subscriptions. Indexers can consume streams, but still need reconnect logic, backpressure, gap detection, reorg handling and catch-up queries.",[17,103,105],{"id":104},"benefits-and-limitations","Benefits and limitations",[107,108,110],"h3",{"id":109},"benefits","Benefits",[10,112,113],{},"Typed contracts, generated SDKs, compact payloads and streaming.",[107,115,117],{"id":116},"limitations","Limitations",[10,119,120],{},"Harder manual inspection, browser adapters and schema-compatibility work.",[107,122,124],{"id":123},"choose-grpc","Choose gRPC",[10,126,127],{},"For controlled clients, service-to-service traffic and event streams.",[107,129,131],{"id":130},"choose-rest","Choose REST",[10,133,134],{},"For simple public web APIs and broad browser compatibility.",{"title":136,"searchDepth":137,"depth":137,"links":138},"",2,[139,140,141,142],{"id":19,"depth":137,"text":20},{"id":26,"depth":137,"text":27},{"id":97,"depth":137,"text":98},{"id":104,"depth":137,"text":105,"children":143},[144,146,147,148],{"id":109,"depth":145,"text":110},3,{"id":116,"depth":145,"text":117},{"id":123,"depth":145,"text":124},{"id":130,"depth":145,"text":131},"2026-03-08","A plain-language guide to gRPC, Protocol Buffers, streaming, REST differences and uses in blockchain infrastructure and APIs.",false,"md",[154,157,160,163,166],{"question":155,"answer":156},"Is gRPC a protocol?","More precisely, it is an RPC framework and conventions over HTTP\u002F2, commonly using Protocol Buffers.",{"question":158,"answer":159},"What is a .proto file?","A schema describing services, methods and message fields.",{"question":161,"answer":162},"Why can gRPC be efficient?","Compact binary payloads and HTTP\u002F2 multiplexing can reduce overhead.",{"question":164,"answer":165},"Does gRPC work in browsers?","Usually through gRPC-Web or an HTTP\u002FJSON gateway.",{"question":167,"answer":168},"Why use gRPC for blockchain?","For native node APIs, internal services and streams of blocks, transactions or events.","gRPC FAQ",null,{},true,"\u002Fchto-takoe-grpc",{"title":5,"description":150},{"loc":173},"chto-takoe-grpc",[],"Itb6-RUTcf2ehTOxtdU00fjEoo9qUbvo0BWKjwNpZwg",[180,184,188,192,196,200,204,208,212,216,220,224,228,232,233],{"path":181,"title":182,"description":183},"\u002Finfura-getblock-tatum-alternative","An Alternative to Infura, GetBlock and Tatum","Compare Infura, GetBlock, Tatum, shared provider APIs and private blockchain nodes by limits, control, operations and migration cost.",{"path":185,"title":186,"description":187},"\u002Fbtc-explorer","Bitcoin Explorer — Check a Bitcoin Transaction","How to use a Bitcoin explorer to check a transaction, TxID, confirmations, inputs, outputs, fees and address activity.",{"path":189,"title":190,"description":191},"\u002Fblockchain-endpoints","Blockchain Endpoints for Crypto Projects","Blockchain endpoints from Settla for Bitcoin, Ethereum, TON, Solana, Polygon and BNB Chain: RPC, WebSocket and API access for crypto projects.",{"path":193,"title":194,"description":195},"\u002Fblockchain-explorer","Blockchain Explorer","Learn how blockchain explorers check transactions, addresses, blocks and tokens across Bitcoin, Ethereum, Solana, TON, Polygon and Litecoin.",{"path":197,"title":198,"description":199},"\u002Fnode-provider","Crypto Node Provider for Web3 Projects","Private blockchain nodes, RPC endpoints and managed node hosting for Web3, wallets, exchanges, DeFi, explorers and analytics.",{"path":201,"title":202,"description":203},"\u002Fethereum-erc20-bnb-address","Ethereum ERC20 and BNB Token Addresses","Learn how Ethereum, ERC20 and BNB\u002FBSC addresses look, how wallet and token contract addresses differ, and how to verify them.",{"path":205,"title":206,"description":207},"\u002Fkak-proverit-tranzaktsiyu-bitcoin","How to Check a Bitcoin Transaction","Step-by-step guide to checking a Bitcoin transaction by transaction hash in Bitcoin Explorer: confirmations, fee and addresses.",{"path":209,"title":210,"description":211},"\u002Fkak-proverit-tranzaktsiyu-polygon","How to Check a Polygon Transaction","How to check a Polygon transaction by hash through a Polygon explorer: status, block confirmations, addresses, MATIC\u002FPOL, tokens and contract calls.",{"path":213,"title":214,"description":215},"\u002Fkak-proverit-usdt-tranzaktsiyu","How to Check a USDT Transaction","How to check a USDT transaction by hash in TRC20, ERC20 and BEP20 networks: choose the explorer, verify status, addresses, amount and token contract.",{"path":217,"title":218,"description":219},"\u002Flitecoin-explorer","Litecoin Explorer: How to Check an LTC Transaction","Litecoin Explorer helps verify an LTC transaction by hash: status, confirmations, block, fee, inputs and outputs. Step-by-step guide from Settla.",{"path":221,"title":222,"description":223},"\u002Frpc-provayder","RPC Node and Blockchain Endpoints","Shared and private RPC nodes and blockchain endpoints for wallets, exchanges, DeFi, analytics and Web3 applications.",{"path":225,"title":226,"description":227},"\u002Fsolana-explorer-solscan-obzor","Solana Explorer and Solscan: Check a Transaction","How to check a Solana signature, slot, status, programs, instructions, token accounts and address activity with an explorer.",{"path":229,"title":230,"description":231},"\u002Fton-scanner-tonscan-obzor","TON Scan — TON Blockchain Explorer","How to use a TON explorer to check TON addresses, transactions, messages, blocks, jettons and smart-contract execution.",{"path":173,"title":5,"description":150},{"path":234,"title":235,"description":236},"\u002Fblockchain-api","blockchain API: managed access to blockchain networks","blockchain API on Settla: 99.9% SLA, \u003C50 ms latency, Bitcoin, Ethereum, Tron, Solana, BNB. Dedicated nodes and API.",1789558939197]