Skip to content

Commit 4282455

Browse files
committed
refactor: playground links
1 parent f87c30c commit 4282455

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

public/content/developers/docs/apis/json-rpc/index.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,6 @@ You can use the [playground tool](https://ethereum-json-rpc.com) to discover and
143143

144144
Returns the current client version.
145145

146-
[![Try this endpoint](./playground.svg)](https://ethereum-json-rpc.com/?method=web3_clientVersion)
147-
148146
**Parameters**
149147

150148
None
@@ -170,8 +168,6 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],
170168

171169
Returns Keccak-256 (_not_ the standardized SHA3-256) of the given data.
172170

173-
[![Try this endpoint](./playground.svg)](https://ethereum-json-rpc.com/?method=web3_sha3)
174-
175171
**Parameters**
176172

177173
1. `DATA` - The data to convert into a SHA3 hash
@@ -201,8 +197,6 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"web3_sha3","params":["0x68656c6c
201197

202198
Returns the current network id.
203199

204-
[![Try this endpoint](./playground.svg)](https://ethereum-json-rpc.com/?method=net_version)
205-
206200
**Parameters**
207201

208202
None
@@ -234,8 +228,6 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"net_version","params":[],"id":67
234228

235229
Returns `true` if client is actively listening for network connections.
236230

237-
[![Try this endpoint](./playground.svg)](https://ethereum-json-rpc.com/?method=net_listening)
238-
239231
**Parameters**
240232

241233
None
@@ -261,8 +253,6 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"net_listening","params":[],"id":
261253

262254
Returns number of peers currently connected to the client.
263255

264-
[![Try this endpoint](./playground.svg)](https://ethereum-json-rpc.com/?method=net_peerCount)
265-
266256
**Parameters**
267257

268258
None
@@ -288,8 +278,6 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"net_peerCount","params":[],"id":
288278

289279
Returns the current Ethereum protocol version. Note that this method is [not available in Geth](https://github.com/ethereum/go-ethereum/pull/22064#issuecomment-788682924).
290280

291-
[![Try this endpoint](./playground.svg)](https://ethereum-json-rpc.com/?method=eth_protocolVersion)
292-
293281
**Parameters**
294282

295283
None
@@ -696,6 +684,8 @@ curl -X POST --data '{"jsonrpc":"2.0", "method": "eth_getStorageAt", "params": [
696684

697685
Returns the number of transactions _sent_ from an address.
698686

687+
[![Try this endpoint](./playground.svg)](https://ethereum-json-rpc.com/?method=eth_getTransactionCount)
688+
699689
**Parameters**
700690

701691
1. `DATA`, 20 Bytes - address.
@@ -1271,6 +1261,7 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getTransactionByHash","param
12711261
Returns information about a transaction by block hash and transaction index position.
12721262
12731263
[![Try this endpoint](./playground.svg)](https://ethereum-json-rpc.com/?method=eth_getTransactionByBlockHashAndIndex)
1264+
12741265
**Parameters**
12751266
12761267
1. `DATA`, 32 Bytes - hash of a block.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"/content/developers/docs/apis/json-rpc/playground.svg": {
3+
"hash": "f41ec73f",
4+
"base64": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAACCAYAAABR7VzxAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAd0lEQVR4nGOQkZGZ6ePj89/IyOi/mZnZfysrq//6+vr/7ezs/vdvUTx+53/c/6v/Y//f+R8Pxzf/x/+/9T/u/7n/UTMZWFhYZmppaf338vICa4YZBKILpzMe3/ve6//+Tz7/d710+3/0q///098CwDRIbNsHr5kAkwlKKC5qBGUAAAAASUVORK5CYII="
5+
}
6+
}

0 commit comments

Comments
 (0)