Kadena’s RPCs (Remote Procedure Calls) enable interaction with the Chainweb blockchain network by providing key API endpoints for both peer-to-peer (P2P) communication and service-based access.
The P2P API is designed for communication between Chainweb nodes to facilitate blockchain consensus. It includes endpoints for:
P2P API requests are sent to nodes using the base URL format:
<hostname>/chainweb/0.0/mainnet01
<hostname>/chainweb/0.0/testnet04
localhost:8080/chainweb/0.0/development
While P2P endpoints are efficient for node communication, most users should use service API endpoints for interacting with the blockchain.
<aside> <img src="https://pbs.twimg.com/profile_images/1542498890292662272/Z3ZR_Ps8_400x400.jpg" alt="https://pbs.twimg.com/profile_images/1542498890292662272/Z3ZR_Ps8_400x400.jpg" width="40px" /> Tatum
</aside>
<aside> <img src="https://pbs.twimg.com/profile_images/1879130038651748352/-8-Zx7-g_400x400.jpg" alt="https://pbs.twimg.com/profile_images/1879130038651748352/-8-Zx7-g_400x400.jpg" width="40px" /> Unmarshal
</aside>