Skip to content

Commit 8b6ff71

Browse files
committed
llms
1 parent 3b61ddb commit 8b6ff71

31 files changed

+788
-1088
lines changed

.ai/categories/basics.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,7 @@ You are now ready to deploy the contract to your chosen network. This example de
10771077

10781078
<div id="termynal" data-termynal markdown>
10791079
<span data-ty="input">npx hardhat ignition deploy ./ignition/modules/MyToken.ts --network polkadotTestnet</span>
1080-
<span data-ty>✔ Confirm deploy to network polkadotTestnet (420420420)? … yes</span>
1080+
<span data-ty>✔ Confirm deploy to network polkadotTestnet (420420417)? … yes</span>
10811081
<span data-ty>&nbsp;</span>
10821082
<span data-ty>Hardhat Ignition 🚀</span>
10831083
<span data-ty>&nbsp;</span>
@@ -1411,8 +1411,8 @@ const config: HardhatUserConfig = {
14111411
},
14121412
networks: {
14131413
polkadotTestnet: {
1414-
url: 'https://testnet-passet-hub-eth-rpc.polkadot.io',
1415-
chainId: 420420422,
1414+
url: 'https://services.polkadothub-rpc.com/testnet',
1415+
chainId: 420420417,
14161416
accounts: [vars.get('PRIVATE_KEY')],
14171417
},
14181418
},

.ai/categories/dapps.md

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,7 +1330,7 @@ You are now ready to deploy the contract to your chosen network. This example de
13301330

13311331
<div id="termynal" data-termynal markdown>
13321332
<span data-ty="input">npx hardhat ignition deploy ./ignition/modules/MyToken.ts --network polkadotTestnet</span>
1333-
<span data-ty>✔ Confirm deploy to network polkadotTestnet (420420420)? … yes</span>
1333+
<span data-ty>✔ Confirm deploy to network polkadotTestnet (420420417)? … yes</span>
13341334
<span data-ty>&nbsp;</span>
13351335
<span data-ty>Hardhat Ignition 🚀</span>
13361336
<span data-ty>&nbsp;</span>
@@ -1664,8 +1664,8 @@ const config: HardhatUserConfig = {
16641664
},
16651665
networks: {
16661666
polkadotTestnet: {
1667-
url: 'https://testnet-passet-hub-eth-rpc.polkadot.io',
1668-
chainId: 420420422,
1667+
url: 'https://services.polkadothub-rpc.com/testnet',
1668+
chainId: 420420417,
16691669
accounts: [vars.get('PRIVATE_KEY')],
16701670
},
16711671
},
@@ -3513,7 +3513,7 @@ Polkadot Hub provides Ethereum compatibility through its JSON-RPC interface, all
35133513
This guide uses the Polkadot Hub TestNet endpoint:
35143514

35153515
```text
3516-
https://testnet-passet-hub-eth-rpc.polkadot.io
3516+
https://services.polkadothub-rpc.com/testnet
35173517
```
35183518

35193519
## Available Methods
@@ -3529,7 +3529,7 @@ None.
35293529
**Example**:
35303530

35313531
```bash title="eth_accounts"
3532-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
3532+
curl -X POST https://services.polkadothub-rpc.com/testnet \
35333533
-H "Content-Type: application/json" \
35343534
--data '{
35353535
"jsonrpc":"2.0",
@@ -3552,7 +3552,7 @@ None.
35523552
**Example**:
35533553

35543554
```bash title="eth_blockNumber"
3555-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
3555+
curl -X POST https://services.polkadothub-rpc.com/testnet \
35563556
-H "Content-Type: application/json" \
35573557
--data '{
35583558
"jsonrpc":"2.0",
@@ -3582,7 +3582,7 @@ Executes a new message call immediately without creating a transaction. [Referen
35823582
**Example**:
35833583

35843584
```bash title="eth_call"
3585-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
3585+
curl -X POST https://services.polkadothub-rpc.com/testnet \
35863586
-H "Content-Type: application/json" \
35873587
--data '{
35883588
"jsonrpc":"2.0",
@@ -3610,7 +3610,7 @@ None.
36103610
**Example**:
36113611

36123612
```bash title="eth_chainId"
3613-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
3613+
curl -X POST https://services.polkadothub-rpc.com/testnet \
36143614
-H "Content-Type: application/json" \
36153615
--data '{
36163616
"jsonrpc":"2.0",
@@ -3640,7 +3640,7 @@ Estimates gas required for a transaction. [Reference](https://ethereum.org/devel
36403640
**Example**:
36413641

36423642
```bash title="eth_estimateGas"
3643-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
3643+
curl -X POST https://services.polkadothub-rpc.com/testnet \
36443644
-H "Content-Type: application/json" \
36453645
--data '{
36463646
"jsonrpc":"2.0",
@@ -3668,7 +3668,7 @@ None.
36683668
**Example**:
36693669

36703670
```bash title="eth_gasPrice"
3671-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
3671+
curl -X POST https://services.polkadothub-rpc.com/testnet \
36723672
-H "Content-Type: application/json" \
36733673
--data '{
36743674
"jsonrpc":"2.0",
@@ -3692,7 +3692,7 @@ Returns the balance of a given address. [Reference](https://ethereum.org/develop
36923692
**Example**:
36933693

36943694
```bash title="eth_getBalance"
3695-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
3695+
curl -X POST https://services.polkadothub-rpc.com/testnet \
36963696
-H "Content-Type: application/json" \
36973697
--data '{
36983698
"jsonrpc":"2.0",
@@ -3718,7 +3718,7 @@ Returns information about a block by its hash. [Reference](https://ethereum.org/
37183718
**Example**:
37193719

37203720
```bash title="eth_getBlockByHash"
3721-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
3721+
curl -X POST https://services.polkadothub-rpc.com/testnet \
37223722
-H "Content-Type: application/json" \
37233723
--data '{
37243724
"jsonrpc":"2.0",
@@ -3744,7 +3744,7 @@ Returns information about a block by its number. [Reference](https://ethereum.or
37443744
**Example**:
37453745

37463746
```bash title="eth_getBlockByNumber"
3747-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
3747+
curl -X POST https://services.polkadothub-rpc.com/testnet \
37483748
-H "Content-Type: application/json" \
37493749
--data '{
37503750
"jsonrpc":"2.0",
@@ -3769,7 +3769,7 @@ Returns the number of transactions in a block from a block number. [Reference](h
37693769
**Example**:
37703770

37713771
```bash title="eth_getBlockTransactionCountByNumber"
3772-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
3772+
curl -X POST https://services.polkadothub-rpc.com/testnet \
37733773
-H "Content-Type: application/json" \
37743774
--data '{
37753775
"jsonrpc":"2.0",
@@ -3794,7 +3794,7 @@ Returns the number of transactions in a block from a block hash. [Reference](htt
37943794
**Example**:
37953795

37963796
```bash title="eth_getBlockTransactionCountByHash"
3797-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
3797+
curl -X POST https://services.polkadothub-rpc.com/testnet \
37983798
-H "Content-Type: application/json" \
37993799
--data '{
38003800
"jsonrpc":"2.0",
@@ -3820,7 +3820,7 @@ Returns the code at a given address. [Reference](https://ethereum.org/developers
38203820
**Example**:
38213821

38223822
```bash title="eth_getCode"
3823-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
3823+
curl -X POST https://services.polkadothub-rpc.com/testnet \
38243824
-H "Content-Type: application/json" \
38253825
--data '{
38263826
"jsonrpc":"2.0",
@@ -3850,7 +3850,7 @@ Returns an array of all logs matching a given filter object. [Reference](https:/
38503850
**Example**:
38513851

38523852
```bash title="eth_getLogs"
3853-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
3853+
curl -X POST https://services.polkadothub-rpc.com/testnet \
38543854
-H "Content-Type: application/json" \
38553855
--data '{
38563856
"jsonrpc":"2.0",
@@ -3878,7 +3878,7 @@ Returns the value from a storage position at a given address. [Reference](https:
38783878
**Example**:
38793879

38803880
```bash title="eth_getStorageAt"
3881-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
3881+
curl -X POST https://services.polkadothub-rpc.com/testnet \
38823882
-H "Content-Type: application/json" \
38833883
--data '{
38843884
"jsonrpc":"2.0",
@@ -3904,7 +3904,7 @@ Returns the number of transactions sent from an address (nonce). [Reference](htt
39043904
**Example**:
39053905

39063906
```bash title="eth_getTransactionCount"
3907-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
3907+
curl -X POST https://services.polkadothub-rpc.com/testnet \
39083908
-H "Content-Type: application/json" \
39093909
--data '{
39103910
"jsonrpc":"2.0",
@@ -3929,7 +3929,7 @@ Returns information about a transaction by its hash. [Reference](https://ethereu
39293929
**Example**:
39303930

39313931
```bash title="eth_getTransactionByHash"
3932-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
3932+
curl -X POST https://services.polkadothub-rpc.com/testnet \
39333933
-H "Content-Type: application/json" \
39343934
--data '{
39353935
"jsonrpc":"2.0",
@@ -3955,7 +3955,7 @@ Returns information about a transaction by block number and transaction index. [
39553955
**Example**:
39563956

39573957
```bash title="eth_getTransactionByBlockNumberAndIndex"
3958-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
3958+
curl -X POST https://services.polkadothub-rpc.com/testnet \
39593959
-H "Content-Type: application/json" \
39603960
--data '{
39613961
"jsonrpc":"2.0",
@@ -3981,7 +3981,7 @@ Returns information about a transaction by block hash and transaction index. [Re
39813981
**Example**:
39823982

39833983
```bash title="eth_getTransactionByBlockHashAndIndex"
3984-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
3984+
curl -X POST https://services.polkadothub-rpc.com/testnet \
39853985
-H "Content-Type: application/json" \
39863986
--data '{
39873987
"jsonrpc":"2.0",
@@ -4006,7 +4006,7 @@ Returns the receipt of a transaction by transaction hash. [Reference](https://et
40064006
**Example**:
40074007

40084008
```bash title="eth_getTransactionReceipt"
4009-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
4009+
curl -X POST https://services.polkadothub-rpc.com/testnet \
40104010
-H "Content-Type: application/json" \
40114011
--data '{
40124012
"jsonrpc":"2.0",
@@ -4031,7 +4031,7 @@ None.
40314031
**Example**:
40324032

40334033
```bash title="eth_maxPriorityFeePerGas"
4034-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
4034+
curl -X POST https://services.polkadothub-rpc.com/testnet \
40354035
-H "Content-Type: application/json" \
40364036
--data '{
40374037
"jsonrpc":"2.0",
@@ -4054,7 +4054,7 @@ Submits a raw transaction. [Reference](https://ethereum.org/developers/docs/apis
40544054
**Example**:
40554055

40564056
```bash title="eth_sendRawTransaction"
4057-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
4057+
curl -X POST https://services.polkadothub-rpc.com/testnet \
40584058
-H "Content-Type: application/json" \
40594059
--data '{
40604060
"jsonrpc":"2.0",
@@ -4086,7 +4086,7 @@ Creates and sends a new transaction. [Reference](https://ethereum.org/developers
40864086
**Example**:
40874087

40884088
```bash title="eth_sendTransaction"
4089-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
4089+
curl -X POST https://services.polkadothub-rpc.com/testnet \
40904090
-H "Content-Type: application/json" \
40914091
--data '{
40924092
"jsonrpc":"2.0",
@@ -4119,7 +4119,7 @@ None.
41194119
**Example**:
41204120

41214121
```bash title="eth_syncing"
4122-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
4122+
curl -X POST https://services.polkadothub-rpc.com/testnet \
41234123
-H "Content-Type: application/json" \
41244124
--data '{
41254125
"jsonrpc":"2.0",
@@ -4142,7 +4142,7 @@ None.
41424142
**Example**:
41434143

41444144
```bash title="net_listening"
4145-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
4145+
curl -X POST https://services.polkadothub-rpc.com/testnet \
41464146
-H "Content-Type: application/json" \
41474147
--data '{
41484148
"jsonrpc":"2.0",
@@ -4165,7 +4165,7 @@ None.
41654165
**Example**:
41664166

41674167
```bash title="net_peerCount"
4168-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
4168+
curl -X POST https://services.polkadothub-rpc.com/testnet \
41694169
-H "Content-Type: application/json" \
41704170
--data '{
41714171
"jsonrpc":"2.0",
@@ -4188,7 +4188,7 @@ None.
41884188
**Example**:
41894189

41904190
```bash title="net_version"
4191-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
4191+
curl -X POST https://services.polkadothub-rpc.com/testnet \
41924192
-H "Content-Type: application/json" \
41934193
--data '{
41944194
"jsonrpc":"2.0",
@@ -4211,7 +4211,7 @@ None.
42114211
**Example**:
42124212

42134213
```bash title="system_health"
4214-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
4214+
curl -X POST https://services.polkadothub-rpc.com/testnet \
42154215
-H "Content-Type: application/json" \
42164216
--data '{
42174217
"jsonrpc":"2.0",
@@ -4234,7 +4234,7 @@ None.
42344234
**Example**:
42354235

42364236
```bash title="web3_clientVersion"
4237-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
4237+
curl -X POST https://services.polkadothub-rpc.com/testnet \
42384238
-H "Content-Type: application/json" \
42394239
--data '{
42404240
"jsonrpc":"2.0",
@@ -4260,7 +4260,7 @@ Traces a block's execution by its number and returns a detailed execution trace
42604260
**Example**:
42614261

42624262
```bash title="debug_traceBlockByNumber"
4263-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
4263+
curl -X POST https://services.polkadothub-rpc.com/testnet \
42644264
-H "Content-Type: application/json" \
42654265
--data '{
42664266
"jsonrpc":"2.0",
@@ -4286,7 +4286,7 @@ Traces the execution of a single transaction by its hash and returns a detailed
42864286
**Example**:
42874287

42884288
```bash title="debug_traceTransaction"
4289-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
4289+
curl -X POST https://services.polkadothub-rpc.com/testnet \
42904290
-H "Content-Type: application/json" \
42914291
--data '{
42924292
"jsonrpc":"2.0",
@@ -4319,7 +4319,7 @@ Executes a new message call and returns a detailed execution trace without creat
43194319
**Example**:
43204320

43214321
```bash title="debug_traceCall"
4322-
curl -X POST https://testnet-passet-hub-eth-rpc.polkadot.io \
4322+
curl -X POST https://services.polkadothub-rpc.com/testnet \
43234323
-H "Content-Type: application/json" \
43244324
--data '{
43254325
"jsonrpc":"2.0",

0 commit comments

Comments
 (0)