This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
dido:public:ra:xapend:xapend.b_stds:defact:ethereum:eip:erc_0695 [2020/05/07 18:56] nick ↷ Page moved from dido:public:xapend.stds:defact:ethereum:eip:erc_0695 to dido:public:ra:xapend.stds:defact:ethereum:eip:erc_0695 |
dido:public:ra:xapend:xapend.b_stds:defact:ethereum:eip:erc_0695 [2021/07/27 13:34] (current) murphy |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ======== EIP 695: Create `eth_chainId` method for JSON-RPC (DRAFT) ========= | + | ==== EIP 695: Create `eth_chainId` method for JSON-RPC (DRAFT) ==== |
| - | [[dido:public:xapend.stds:defact:ethereum| Return to Ethereum ERCs ]] | + | [[dido:public:ra:xapend:xapend.b_stds:defact:ethereum:eip| Return to Ethereum ERCs ]] |
| - | : **Note**: The following is an excerpt from the official Ethereum site. It is provided here as a connivence and is not authoritative. Refer to the original document as the authoritative reference. | + | : **Note**: The following is an excerpt from the official Ethereum site. It is provided here as a convenience and is not authoritative. Refer to the original document as the authoritative reference. |
| <table> | <table> | ||
| Line 15: | Line 15: | ||
| </table> | </table> | ||
| - | + | === Simple Summary === | |
| - | + | ||
| - | ====== Simple Summary ====== | + | |
| : //Include ''eth_chainId'' method in ''eth_-namespaced'' JSON-RPC methods.// | : //Include ''eth_chainId'' method in ''eth_-namespaced'' JSON-RPC methods.// | ||
| - | ====== Abstract ====== | + | === Abstract === |
| - | + | : //The ''eth_chainId'' method should return a single STRING result for an integer value in hexadecimal format, describing the currently configured “Chain Id” value used for signing replay-protected transactions, introduced via [[dido:public:ra:xapend:xapend.b_stds:defact:ethereum:eip:erc_0155]] | EIP-155]].// | |
| - | : //The ''eth_chainId'' method should return a single STRING result for an integer value in hexadecimal format, describing the currently configured “Chain Id” value used for signing replay-protected transactions, introduced via [[dido:public:xapend.stds:defact:ethereum:eip:erc_0155]] | EIP-155]].// | + | |
| - | ====== Motivation ====== | + | === Motivation === |
| - | : //Currently although we can use net_version RPC call to get the current network ID, there’s no RPC for querying the chain ID. This makes it impossible to determine the current actual blockchain using the RPC.// | + | : //Currently although we can use net_version [[dido:public:ra:xapend:xapend.b_stds:tech:ietf:1831]] call to get the current network ID, there’s no RPC for querying the chain ID. This makes it impossible to determine the current actual [[dido:public:ra:xapend:xapend.a_glossary:b:blockchain|blockchain]] using the RPC.// |