Skip to content

Commit

Permalink
Adding Chiliz
Browse files Browse the repository at this point in the history
  • Loading branch information
productshiv committed Apr 6, 2024
1 parent 1f046e8 commit efa556a
Show file tree
Hide file tree
Showing 37 changed files with 740 additions and 604 deletions.
92 changes: 0 additions & 92 deletions v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_call.md

This file was deleted.

106 changes: 0 additions & 106 deletions v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_gettransactionbyhash.md

This file was deleted.

76 changes: 0 additions & 76 deletions v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_maxpriorityfeepergas.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Celo"
slug: "rpc-celo"
title: "Chiliz"
slug: "rpc-chiliz"
excerpt: ""
category: 65c5e93c623cad004b45d505
hidden: false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: "debug_getbadblocks"
slug: "rpc-celo-debug_getbadblocks"
excerpt: "Celo RPC"
slug: "rpc-chiliz-debug_getbadblocks"
excerpt: "Chiliz RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
description: "Celo RPC"
description: "Chiliz RPC"
image: []
keywords: "celo, rpc"
keywords: "chiliz, rpc"
robots: "index"
createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)"
updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
Expand All @@ -22,9 +22,9 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum

import { TatumSDK, Celo, Network } from '@tatumio/tatum'
import { TatumSDK, Chiliz, Network } from '@tatumio/tatum'

const tatum = await TatumSDK.init<Celo>({network: Network.CELO})
const tatum = await TatumSDK.init<Chiliz>({network: Network.CHILIZ})

const result = await tatum.rpc.debugGetBadBlocks()

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: "debug_storagerangeat"
slug: "rpc-celo-debug_storagerangeat"
excerpt: "Celo RPC"
slug: "rpc-chiliz-debug_storagerangeat"
excerpt: "Chiliz RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
description: "Celo RPC"
description: "Chiliz RPC"
image: []
keywords: "celo, rpc"
keywords: "chiliz, rpc"
robots: "index"
createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)"
updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
Expand All @@ -22,13 +22,13 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum

import { TatumSDK, Celo, Network } from '@tatumio/tatum'
import { TatumSDK, Chiliz, Network } from '@tatumio/tatum'

const tatum = await TatumSDK.init<Celo>({network: Network.CELO})
const tatum = await TatumSDK.init<Chiliz>({network: Network.CHILIZ})

const result = await tatum.rpc.debugStorageRangeAt(
'0x98b066007760fad8c9e3246ac62dc34b96dee7b2a8dd362bc8576e78ee37775d',
1, '0x75d30255a47772Dd60bC56d7a8536D0A79669eCf', '0x0000000000000000000000000000000000000000000000000000000000000000', 0
'0x48dfcf43404dffdb3b93a0b0d9982b642b221187bc3ed5c023bdab6c0e863e3d',
1, '0xa41d19F4258a388c639B7CcD938FCE3fb7D05e86', '0x0000000000000000000000000000000000000000000000000000000000000000', 1
)

await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
Expand All @@ -45,9 +45,9 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs

The `debug_storageRangeAt` method accepts the following parameters:

* `blockHash`: The block hash for which the storage range should be retrieved. Example: `"0x98b066007760fad8c9e3246ac62dc34b96dee7b2a8dd362bc8576e78ee37775d"`
* `txIndex`: The transaction index within the specified block. Example: 1
* `address`: The contract address for which the storage range should be retrieved. Example: `"0x75d30255a47772Dd60bC56d7a8536D0A79669eCf"`
* `blockHash`: The block hash for which the storage range should be retrieved. Example: `"0x3c4523b7e8c21e3d68f1c3af3d18e8a87c0d43e35b2c1b7f8f4e87e4d4db9c82"`
* `txIndex`: The transaction index within the specified block. Example: `1`
* `address`: The contract address for which the storage range should be retrieved. Example: `"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"`
* `begin`: The beginning of the storage range. Example: `"0x0000000000000000000000000000000000000000000000000000000000000000"`
* `end`: The end of the storage range. Example: `1` (inclusive)

Expand All @@ -72,9 +72,9 @@ This method is available only on the full archive node.
"id": 1,
"method": "debug_storageRangeAt",
"params": [
"0x98b066007760fad8c9e3246ac62dc34b96dee7b2a8dd362bc8576e78ee37775d",
1,
"0x75d30255a47772Dd60bC56d7a8536D0A79669eCf",
"0x3c4523b7e8c21e3d68f1c3af3d18e8a87c0d43e35b2c1b7f8f4e87e4d4db9c82",
"0x1",
"0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"0x0000000000000000000000000000000000000000000000000000000000000000", 1
]
}
Expand Down
Loading

0 comments on commit efa556a

Please sign in to comment.