Skip to content

Commit

Permalink
CLarify based on Nic's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
timothymcmackin committed Nov 6, 2023
1 parent 116e052 commit 314e1d7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/architecture/rpc.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
---
title: The RPC protocol
authors: "Tim McMackin"
lastUpdated: 26 October 2023
lastUpdated: 6 November 2023
---

The Tezos RPC (Remote Procedure Call) protocol is a specification for a REST API that clients use to interact with Tezos nodes and nodes use to communicate with each other.
Clients use this protocol to submit transactions and get information about the state of the blockchain, such as account balances and contract storage
Tezos nodes act as servers and accept HTTP requests from clients and other nodes via this protocol.

- Clients use it to submit transactions and get information about the state of the blockchain, such as account balances and contract storage
- Nodes use it to bake blocks and communicate with other nodes

Tezos RPC uses JSON to send and receive data, but it does not adhere to the JSON-RPC specification.

## RPC nodes
## Public and private RPC nodes

All Tezos nodes run RPC servers, but the RPC interface is subject to an access policy.
By default, RPC servers are private and do not accept all requests from every client.

Not all Tezos nodes run RPC servers, and not all RPC servers accept requests from any client.
When you work with a Tezos client, such as the Octez command-line client or the Taquito SDK, you select a public RPC node to send transactions to, or you can use a private RPC node that you have access to.

If you're using a testnet, you can get a list of public RPC nodes for that network at https://teztnets.xyz.
Expand Down

0 comments on commit 314e1d7

Please sign in to comment.