Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
joaniefromtheblock committed Jul 5, 2024
1 parent 9740ce7 commit 306f817
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import TabItem from '@theme/TabItem';
}
]
}
```
</TabItem>
</Tabs>

Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ curl https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY \

```bash
wscat -c wss://avalanche-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0","method":"net_version","params": [],"id":1}'
``
```

</TabItem>
</Tabs>

</Tabs>
4 changes: 2 additions & 2 deletions services/reference/avalanche-c-chain/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta
Replace `YOUR-API-KEY` with your actual Infura API key.
```javascript title="index.js"
const axios = require('axios');
const axios = require("axios");

axios.post("https://avalanche-mainnet.infura.io/v3/YOUR-API-KEY", {
jsonrpc: "2.0",
Expand Down Expand Up @@ -169,7 +169,7 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta
"params": [],
"id": 1
}
"

headers = {"content-type": "application/json"}

response = requests.post(url, data=json.dumps(payload), headers=headers).json()
Expand Down

0 comments on commit 306f817

Please sign in to comment.