Skip to content

Commit a9194ea

Browse files
committed
Tried fixing the styles
1 parent 6eaf84d commit a9194ea

File tree

4 files changed

+367
-557
lines changed

4 files changed

+367
-557
lines changed

src/get-started/first-request.md

Lines changed: 17 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,6 @@ async function main() {
9191
main();
9292
```
9393

94-
Expected output:
95-
```
96-
✅ Most recent, finalized block: {
97-
number: 18750234,
98-
hash: "0x1234...abcd",
99-
timestamp: "2024-01-15T10:30:45.000Z",
100-
transactions: 156
101-
}
102-
```
10394

10495
### Python
10596

@@ -134,15 +125,7 @@ if __name__ == "__main__":
134125
main()
135126
```
136127

137-
Expected output:
138-
```
139-
✅ Most recent, finalized block: {
140-
'number': 18750234,
141-
'hash': '0x1234...abcd',
142-
'timestamp': '2024-01-15T10:30:45',
143-
'transactions': 156
144-
}
145-
```
128+
146129

147130
### Rust
148131

@@ -186,14 +169,7 @@ alloy = { version = "0.13.0", features = ["full"] }
186169
tokio = { version = "1.44.1", features = ["full"] }
187170
```
188171

189-
Expected output:
190-
```
191-
✅ Most recent, finalized block:
192-
Number: Some(18750234)
193-
Hash: Some(0x1234...abcd)
194-
Timestamp: 1705316645
195-
Transactions: 156
196-
```
172+
197173

198174
### cURL
199175

@@ -209,21 +185,6 @@ curl -X POST \
209185
https://cloud.developerdao.com/rpc/ethereum/YOUR_API_KEY_GOES_HERE
210186
```
211187

212-
Expected output:
213-
```json
214-
{
215-
"jsonrpc": "2.0",
216-
"id": 1,
217-
"result": {
218-
"number": "0x11dfe0a",
219-
"hash": "0x1234...abcd",
220-
"timestamp": "0x659b2345",
221-
"transactions": [...],
222-
"gasUsed": "0x1c9c380",
223-
...
224-
}
225-
}
226-
```
227188

228189
## What's Next? {#whats-next}
229190

@@ -237,20 +198,20 @@ Expected output:
237198
</div>
238199

239200
<div class="content-toc">
240-
<div class="toc-header">On This Page</div>
241-
<nav class="toc-nav">
242-
<ul>
243-
<li><a href="#prerequisites" tabindex="0">Prerequisites</a></li>
244-
<li><a href="#get-api-key" tabindex="0">Step 1: Get API Key</a>
245-
<ul>
246-
<li><a href="#create-api-key" tabindex="0">Create Your API Key</a></li>
247-
</ul>
248-
</li>
249-
<li><a href="#install-dependencies" tabindex="0">Step 2: Install Dependencies</a></li>
250-
<li><a href="#make-first-request" tabindex="0">Step 3: Make First Request</a></li>
251-
<li><a href="#whats-next" tabindex="0">What's Next?</a></li>
252-
</ul>
253-
</nav>
254-
</div>
201+
<div class="toc-header">On This Page</div>
202+
<nav class="toc-nav">
203+
<ul>
204+
<li><a href="#prerequisites" tabindex="0">Prerequisites</a></li>
205+
<li><a href="#get-api-key" tabindex="0">Step 1: Get API Key</a>
206+
<ul>
207+
<li><a href="#create-api-key" tabindex="0">Create Your API Key</a></li>
208+
</ul>
209+
</li>
210+
<li><a href="#install-dependencies" tabindex="0">Step 2: Install Dependencies</a></li>
211+
<li><a href="#make-first-request" tabindex="0">Step 3: Make First Request</a></li>
212+
<li><a href="#whats-next" tabindex="0">What's Next?</a></li>
213+
</ul>
214+
</nav>
215+
</div>
255216

256217
</div>

0 commit comments

Comments
 (0)