[{"data":1,"prerenderedAt":180},["ShallowReactive",2],{"module-\u002Fbuild\u002Flearn\u002Fcore-dev-modules\u002Fcommunication-i":3},{"mod":4,"prev":172,"next":176},{"id":5,"title":6,"active":7,"body":8,"description":159,"draft":160,"duration":161,"extension":162,"mainImage":163,"meta":164,"moduleLink":165,"moduleNumber":166,"navigation":7,"path":167,"seo":168,"stem":169,"subtitle":170,"__hash__":171},"coreDevModules\u002Fbuild\u002Flearn\u002Fcore-dev-modules\u002Fcommunication-i.md","Communication I",true,{"type":9,"value":10,"toc":152},"minimark",[11,20,35,42,47,51,58,87,94,105,108,112,117,120,125,128,133,136,141,144,149],[12,13,14,15,19],"p",{},"This module breaks down how ",[16,17,18],"strong",{},"rippled"," processes RPC requests, providing the essential foundations you’ll need before implementing custom RPC handlers in the next module.",[12,21,22,23,26,27,30,31,34],{},"You’ll gain a clear understanding of how an API request moves through the system, from its initial ",[16,24,25],{},"entry point",", through the handler architecture and ",[16,28,29],{},"authentication"," checks, all the way to the final ",[16,32,33],{},"response,"," while also learning the key validation and error-handling patterns that ensure reliability.",[12,36,37,38,41],{},"The core objective is to help you fully grasp this ",[16,39,40],{},"end-to-end"," flow so that you can build, debug, and extend XRPL-facing APIs with confidence.",[43,44,46],"h2",{"id":45},"in-this-module","In this module",[43,48,50],{"id":49},"understanding-the-rpc-architecture","Understanding the RPC Architecture",[12,52,53,54,57],{},"You’ll explore the ",[16,55,56],{},"modular design"," of rippled’s RPC system, examining how each component contributes to the processing of incoming requests.",[59,60,61,69,75,81],"ul",{},[62,63,64,65,68],"li",{},"The ",[16,66,67],{},"handler architecture"," orchestrates registration and dispatch.",[62,70,64,71,74],{},[16,72,73],{},"request flow"," reveals the full lifecycle of an RPC call, from entry points to validation and final response.",[62,76,77,80],{},[16,78,79],{},"Authentication and authorization"," implement role-based access control.",[62,82,83,86],{},[16,84,85],{},"Error handling"," ensures rigorous validation and consistent error responses.",[12,88,89,90,93],{},"Through ",[16,91,92],{},"hands-on exercises",", you’ll learn to trace RPC requests end-to-end, understand how handlers are registered, and analyze how access roles influence request processing.",[12,95,96,97,100,101,104],{},"You’ll also learn to navigate the ",[16,98,99],{},"RPC codebase",", interpret error codes, and understand the ",[16,102,103],{},"security patterns"," that protect the RPC interface.",[12,106,107],{},"This practical foundation is essential for anyone looking to build applications on the XRPL, implement custom RPC handlers, or contribute directly to the rippled codebase.",[43,109,111],{"id":110},"learning-objectives","Learning objectives",[59,113,114],{},[62,115,116],{},"Handler Architecture",[12,118,119],{},"Navigate handler registration, dispatch mechanisms, and how requests are routed to appropriate handlers.",[59,121,122],{},[62,123,124],{},"Request Flow",[12,126,127],{},"Understand the complete request lifecycle from HTTP\u002FWebSocket\u002FgRPC entry points to response serialization.",[59,129,130],{},[62,131,132],{},"Authentication",[12,134,135],{},"Master role-based access control including ADMIN, USER, IDENTIFIED, PROXY, and FORBID roles.",[59,137,138],{},[62,139,140],{},"Error Handling",[12,142,143],{},"Explore error codes, HTTP status mapping, input validation, and response formatting.",[59,145,146],{},[62,147,148],{},"Codebase Navigation",[12,150,151],{},"Locate key RPC components and understand their interactions within the system.",{"title":153,"searchDepth":154,"depth":154,"links":155},"",2,[156,157,158],{"id":45,"depth":154,"text":46},{"id":49,"depth":154,"text":50},{"id":110,"depth":154,"text":111},"The RPC (Remote Procedure Call) layer is the primary interface through which applications, wallets, and developers interact with the XRP Ledger. Without it, querying balances, submitting transactions, or monitoring network state would simply not be possible.",false,"6 h","md","\u002Fimages\u002Fcore-dev-modules\u002Fcommunication-i\u002Fcover.webp",{},"https:\u002F\u002Fxrpl.at\u002Fcdbc06",6,"\u002Fbuild\u002Flearn\u002Fcore-dev-modules\u002Fcommunication-i",{"title":6,"description":159},"build\u002Flearn\u002Fcore-dev-modules\u002Fcommunication-i","Understanding Ripple(d) RPC Architecture","ttTu6inTVn-HWI79CbIMikLDfixpQmta-_Sgvgc8FXM",{"path":173,"title":174,"moduleNumber":175},"\u002Fbuild\u002Flearn\u002Fcore-dev-modules\u002Fcryptography-ii","Cryptography II",5,{"path":177,"title":178,"moduleNumber":179},"\u002Fbuild\u002Flearn\u002Fcore-dev-modules\u002Fcommunication-ii","Communication II",7,1788427149128]