Skip to content

Commit 621921f

Browse files
authored
fix: Fill in empty Info callouts (#75)
* fix: Fill in empty Info callouts * fix: Whitespace * fix: Whitespace again
1 parent 9d1bc9b commit 621921f

File tree

16 files changed

+1283
-1165
lines changed

16 files changed

+1283
-1165
lines changed

fern/api-reference/data/subgraphs/developing-a-subgraph/creating-a-subgraph.mdx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,16 @@ url: "https://docs.alchemy.com/reference/creating-a-subgraph"
55
slug: "reference/creating-a-subgraph"
66
---
77

8-
9-
<Info />
8+
<Info>
9+
If you already have a subgraph and are looking to deploy it on Alchemy
10+
Subgraphs, see [Deploying a Subgraph](/reference/deploying-a-subgraph).
11+
</Info>
1012

1113
# From Scratch
1214

1315
To create a subgraph from scratch:
1416

15-
<CodeGroup>
16-
```shell shell
17-
graph init --product hosted-service
18-
```
19-
</CodeGroup>
17+
<CodeGroup>```shell shell graph init --product hosted-service ```</CodeGroup>
2018

2119
# From an Existing Contract
2220

fern/api-reference/data/webhooks/webhook-types/dropped-transaction-webhook.mdx

Lines changed: 39 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,18 @@ url: "https://docs.alchemy.com/reference/dropped-transaction-webhook"
55
slug: "reference/dropped-transaction-webhook"
66
---
77

8-
98
<Warning>
10-
Creation of Dropped and Mined Transaction webhooks has indefinitely been disabled for maintenance purposes. Please reach out on [discord](https://discord.com/invite/alchemyplatform) if you have any questions or require access!
9+
Creation of Dropped and Mined Transaction webhooks has indefinitely been
10+
disabled for maintenance purposes. Please reach out on
11+
[discord](https://discord.com/invite/alchemyplatform) if you have any
12+
questions or require access!
1113
</Warning>
1214

1315
<Info>
1416
Check the [Chains](https://dashboard.alchemy.com/chains) page for details about product and chain support!
1517

16-
![](523fb8a9a9d899921ee1046d0ff1b389967a9976d1c6112ebbbe071ddd1ef374-image.png)
18+
![](523fb8a9a9d899921ee1046d0ff1b389967a9976d1c6112ebbbe071ddd1ef374-image.png)
19+
1720
</Info>
1821

1922
# Introduction
@@ -58,30 +61,31 @@ When a transaction sent through your app gets dropped, you receive a response fr
5861
}
5962
```
6063

61-
```shell v1
62-
{
63-
"app": "Alchemy Mainnet",
64-
"network": "MAINNET",
65-
"webhookType": "DROPPED_TRANSACTION",
66-
"timestamp": "2020-06-08T22:12:57.126Z",
67-
"fullTransaction": {
68-
"hash": "0x5a4bf6970980a9381e6d6c78d96ab278035bbff58c383ffe96a0a2bbc7c02a4b",
69-
"blockHash": null,
70-
"blockNumber": null,
71-
"from": "0x8a9d69aa686fa0f9bbdec21294f67d4d9cfb4a3e",
72-
"gas": "0x5208",
73-
"gasPrice": "0x165a0bc00",
74-
"input": "0x",
75-
"nonce": "0x2f",
76-
"r": "0x575d26288c1e3aa63e80eea927f54d5ad587ad795ad830149837258344a87d7c",
77-
"s": "0x25f5a3abf22f5b8ef6ed307a76e670f0c9fb4a71fab2621fce8b52da2ab8fe82",
78-
"to": "0xd69b8ff1888e78d9c337c2f2e6b3bf3e7357800e",
79-
"transactionIndex": null,
80-
"v": "0x1c",
81-
"value": "0x1bc16d674ec80000"
82-
}
64+
```shell v1
65+
{
66+
"app": "Alchemy Mainnet",
67+
"network": "MAINNET",
68+
"webhookType": "DROPPED_TRANSACTION",
69+
"timestamp": "2020-06-08T22:12:57.126Z",
70+
"fullTransaction": {
71+
"hash": "0x5a4bf6970980a9381e6d6c78d96ab278035bbff58c383ffe96a0a2bbc7c02a4b",
72+
"blockHash": null,
73+
"blockNumber": null,
74+
"from": "0x8a9d69aa686fa0f9bbdec21294f67d4d9cfb4a3e",
75+
"gas": "0x5208",
76+
"gasPrice": "0x165a0bc00",
77+
"input": "0x",
78+
"nonce": "0x2f",
79+
"r": "0x575d26288c1e3aa63e80eea927f54d5ad587ad795ad830149837258344a87d7c",
80+
"s": "0x25f5a3abf22f5b8ef6ed307a76e670f0c9fb4a71fab2621fce8b52da2ab8fe82",
81+
"to": "0xd69b8ff1888e78d9c337c2f2e6b3bf3e7357800e",
82+
"transactionIndex": null,
83+
"v": "0x1c",
84+
"value": "0x1bc16d674ec80000"
8385
}
84-
```
86+
}
87+
```
88+
8589
</CodeGroup>
8690

8791
# Field definitions for `v2`
@@ -120,9 +124,16 @@ Below you can find descriptions for each field of the `v2` response.
120124
| `network` | Network for the event, can be Ethereum only :`MAINNET` or `GOERLI` | `MAINNET` |
121125
| `webhookType` | Type of webhook event, can be `"MINED_TRANSACTION"`, `"DROPPED_TRANSACTION"`, `"ADDRESS_ACTIVITY"` or `"NFT_ACTIVITY"` | `DROPPED_TRANSACTION` |
122126
| `timestamp` | Timestamp that the webhook event was created (might be different from the block timestamp that the event was in) | `2020-06-08T22:12:57.126Z` |
123-
| `fullTransaction` | Dropped transaction object(same output as calling [eth\_getTransactionByHash](/reference/eth-gettransactionbyhash)) | `OBJECT` |
127+
| `fullTransaction` | Dropped transaction object(same output as calling [eth_getTransactionByHash](/reference/eth-gettransactionbyhash)) | `OBJECT` |
128+
129+
<Info>
130+
### How to find the `app_id`
124131

125-
<Info />
132+
1. First, create a Dropped Transaction webhook in your dashboard.
133+
2. Next, use the [Get all
134+
webhooks](reference/data/webhooks/custom-webhook-api-methods/custom-webhook-api-methods/notify-api-methods/team-webhooks) endpoint.
135+
3. Extract the `app_id` from the created Dropped Transaction in step 1.
136+
</Info>
126137

127138
# How to Set-Up Dropped Transaction Webhook
128139

fern/api-reference/data/webhooks/webhook-types/mined-transaction-webhook.mdx

Lines changed: 41 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,20 @@ url: "https://docs.alchemy.com/reference/mined-transaction-webhook"
55
slug: "reference/mined-transaction-webhook"
66
---
77

8-
98
<Warning>
10-
Creation of Mined and Dropped Transaction webhooks has indefinitely been disabled for maintenance purposes. We recommend leveraging [Address Activity webhooks](/reference/address-activity-webhook) to understand when a user’s transactions have been mined! Please reach out on [discord](https://discord.com/invite/alchemyplatform) if you have any questions or require access!
9+
Creation of Mined and Dropped Transaction webhooks has indefinitely been
10+
disabled for maintenance purposes. We recommend leveraging [Address Activity
11+
webhooks](/reference/address-activity-webhook) to understand when a user’s
12+
transactions have been mined! Please reach out on
13+
[discord](https://discord.com/invite/alchemyplatform) if you have any
14+
questions or require access!
1115
</Warning>
1216

1317
<Info>
1418
Check the [Chains](https://dashboard.alchemy.com/chains) page for details about product and chain support!
1519

16-
![](523fb8a9a9d899921ee1046d0ff1b389967a9976d1c6112ebbbe071ddd1ef374-image.png)
20+
![](523fb8a9a9d899921ee1046d0ff1b389967a9976d1c6112ebbbe071ddd1ef374-image.png)
21+
1722
</Info>
1823

1924
# Introduction
@@ -59,30 +64,31 @@ When a transaction sent through your app gets mined, you receive a response from
5964
}
6065
```
6166

62-
```shell v1
63-
{
64-
"app": "Demo",
65-
"network": "MAINNET",
66-
"webhookType": "MINED_TRANSACTION",
67-
"timestamp": "2020-07-29T00:29:18.414Z",
68-
"fullTransaction": {
69-
"hash": "0x5a4bf6970980a9381e6d6c78d96ab278035bbff58c383ffe96a0a2bbc7c02a4b",
70-
"blockHash": "0xaa20f7bde5be60603f11a45fc4923aab7552be775403fc00c2e6b805e6297dbe",
71-
"blockNumber": "0x989680",
72-
"from": "0x8a9d69aa686fa0f9bbdec21294f67d4d9cfb4a3e",
73-
"gas": "0x5208",
74-
"gasPrice": "0x165a0bc00",
75-
"input": "0x",
76-
"nonce": "0x2f",
77-
"r": "0x575d26288c1e3aa63e80eea927f54d5ad587ad795ad830149837258344a87d7c",
78-
"s": "0x25f5a3abf22f5b8ef6ed307a76e670f0c9fb4a71fab2621fce8b52da2ab8fe82",
79-
"to": "0xd69b8ff1888e78d9c337c2f2e6b3bf3e7357800e",
80-
"transactionIndex": "0x66",
81-
"v": "0x1c",
82-
"value": "0x1bc16d674ec80000"
83-
}
67+
```shell v1
68+
{
69+
"app": "Demo",
70+
"network": "MAINNET",
71+
"webhookType": "MINED_TRANSACTION",
72+
"timestamp": "2020-07-29T00:29:18.414Z",
73+
"fullTransaction": {
74+
"hash": "0x5a4bf6970980a9381e6d6c78d96ab278035bbff58c383ffe96a0a2bbc7c02a4b",
75+
"blockHash": "0xaa20f7bde5be60603f11a45fc4923aab7552be775403fc00c2e6b805e6297dbe",
76+
"blockNumber": "0x989680",
77+
"from": "0x8a9d69aa686fa0f9bbdec21294f67d4d9cfb4a3e",
78+
"gas": "0x5208",
79+
"gasPrice": "0x165a0bc00",
80+
"input": "0x",
81+
"nonce": "0x2f",
82+
"r": "0x575d26288c1e3aa63e80eea927f54d5ad587ad795ad830149837258344a87d7c",
83+
"s": "0x25f5a3abf22f5b8ef6ed307a76e670f0c9fb4a71fab2621fce8b52da2ab8fe82",
84+
"to": "0xd69b8ff1888e78d9c337c2f2e6b3bf3e7357800e",
85+
"transactionIndex": "0x66",
86+
"v": "0x1c",
87+
"value": "0x1bc16d674ec80000"
8488
}
85-
```
89+
}
90+
```
91+
8692
</CodeGroup>
8793

8894
# Field Definitions for `v2`
@@ -123,9 +129,16 @@ Below you can find descriptions for each field of the `v2` response.
123129
| `network` | Network for the event, can be Ethereum only :`MAINNET` or `GOERLI` | `MAINNET` |
124130
| `webhookType` | Type of webhook event, can be `"MINED_TRANSACTION"`, `"DROPPED_TRANSACTION"`, `"ADDRESS_ACTIVITY"` or `"NFT_ACTIVITY"` | `MINED_TRANSACTION` |
125131
| `timestamp` | Timestamp that the webhook event was created (might be different from the block timestamp that the event was in) | `2020-07-29T00:29:18.414Z` |
126-
| `fullTransaction` | Mined transaction object(same output as calling [eth\_getTransactionByHash](/reference/eth-gettransactionbyhash)) | `OBJECT` |
132+
| `fullTransaction` | Mined transaction object(same output as calling [eth_getTransactionByHash](/reference/eth-gettransactionbyhash)) | `OBJECT` |
133+
134+
<Info>
135+
**How to find the `app_id`**
127136

128-
<Info />
137+
1. First, create a Dropped Transaction webhook in your dashboard.
138+
2. Next, use the [Get all
139+
webhooks](reference/data/webhooks/custom-webhook-api-methods/custom-webhook-api-methods/notify-api-methods/team-webhooks) endpoint.
140+
3. Extract the `app_id` from the created Dropped Transaction in step 1.
141+
</Info>
129142

130143
# How to Set-Up Mined Transaction Webhook
131144

0 commit comments

Comments
 (0)