diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_gettransactionbyblockhashandindex.md b/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_gettransactionbyblockhashandindex.md
deleted file mode 100644
index 3bd825f5..00000000
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_gettransactionbyblockhashandindex.md
+++ /dev/null
@@ -1,112 +0,0 @@
----
-title: "eth_gettransactionbyblockhashandindex"
-slug: "rpc-bsc-eth_gettransactionbyblockhashandindex"
-excerpt: "Bsc RPC"
-category: 65c5e93c623cad004b45d505
-hidden: false
-metadata:
- description: "Bsc RPC"
- image: []
- keywords: "bsc, 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)"
----
-[block:html]{"html":"
\n
Archive Method
\n
Only on the full archive nodes. Complex queries might take longer and incur additional cost
\n
"}[/block]
-
-### How to use it
-
-{% tabs %}
-{% tab title="TypeScript/JavaScript" %}
-{% code overflow="wrap" lineNumbers="true" %}
-```typescript
-// yarn add @tatumio/tatum
-
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
-
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
-
-const tx = await tatum.rpc.getTransactionByBlockHashAndIndex('0xd109a2054e3301c446573859bcbdb0fb26107ea1c218d097042b34e3bd8f6d91', 0)
-
-await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
-```
-{% endcode %}
-{% endtab %}
-{% endtabs %}
-
-### Overview
-
-`eth_getTransactionByBlockHashAndIndex` is an JSON-RPC method that allows you to fetch the transaction details based on the block hash and the index of the transaction within that block. This method can be useful when you want to retrieve transaction details for a specific transaction without knowing its transaction hash.
-
-Use cases for this method may include:
-
-* Inspecting transaction details for debugging purposes
-* Gathering data for transaction analysis
-* Fetching transaction information for specific blocks in a block explorer application
-
-### Parameters
-
-The `eth_getTransactionByBlockHashAndIndex` method accepts two parameters:
-
-1. `blockHash` (required): The hash of the block containing the transaction.
- * Example: `"0xd109a2054e3301c446573859bcbdb0fb26107ea1c218d097042b34e3bd8f6d91"`
-2. `transactionIndex` (required): The index of the transaction within the specified block. The index is a number in decimal.
- * Example: 0
-
-### Return Object
-
-The method returns a JSON object containing the following fields:
-
-1. `hash`: The transaction hash as a 32-byte hex string.
-2. `nonce`: The number of transactions made by the sender prior to this one.
-3. `blockHash`: The hash of the block in which this transaction is included.
-4. `blockNumber`: The block number in which this transaction is included.
-5. `transactionIndex`: The index of the transaction within the block.
-6. `from`: The address of the sender.
-7. `to`: The address of the recipient. `null` if the transaction is a contract creation transaction.
-8. `value`: The value transferred in wei.
-9. `gasPrice`: The gas price provided by the sender in wei.
-10. `gas`: The gas limit provided by the sender.
-11. `input`: The data sent along with the transaction.
-
-### JSON Examples
-
-Request:
-
-```json
-{
- "jsonrpc": "2.0",
- "id": 1,
- "method": "eth_getTransactionByBlockHashAndIndex",
- "params": [
- "0xd109a2054e3301c446573859bcbdb0fb26107ea1c218d097042b34e3bd8f6d91",
- 0
- ]
-}
-```
-
-Response:
-
-```json
-{
- "jsonrpc": "2.0",
- "id": 1,
- "result": {
- "blockHash": "0xd109a2054e3301c446573859bcbdb0fb26107ea1c218d097042b34e3bd8f6d91",
- "blockNumber": "0x1e3c1a1",
- "from": "0x071e5581ea04d93336fd6d2557c56f5c6ab2bea8",
- "gas": "0x35b63",
- "gasPrice": "0x5af993e87",
- "hash": "0x7d05b7e686241f7aa0593e30c819fc59deb14154576b9d048820726079cf1c69",
- "input": "0x0000000000000000000001edd108f9d850100000000003e7dc5f9076ab0000004e5cb88aaf8227d9b7e61a7555cee07c617941ee0033",
- "nonce": "0x14089d",
- "to": "0x0000000000016a723d0d576df7dc79ec149ac760",
- "transactionIndex": "0x0",
- "value": "0x0",
- "type": "0x0",
- "v": "0x93",
- "r": "0xbe4a49be222942d61aad6f995b33fe59aefeaf2c8e8d9a3fea595e11ec03810b",
- "s": "0x3b22209ddfcc3737de2990195dd9b6bb350f1fb6265e7d06789abaa619467d1e"
- }
-}
-```
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_gettransactionbyblocknumberandindex.md b/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_gettransactionbyblocknumberandindex.md
deleted file mode 100644
index 61ef993e..00000000
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_gettransactionbyblocknumberandindex.md
+++ /dev/null
@@ -1,112 +0,0 @@
----
-title: "eth_gettransactionbyblocknumberandindex"
-slug: "rpc-bsc-eth_gettransactionbyblocknumberandindex"
-excerpt: "Bsc RPC"
-category: 65c5e93c623cad004b45d505
-hidden: false
-metadata:
- description: "Bsc RPC"
- image: []
- keywords: "bsc, 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)"
----
-[block:html]{"html":"\n
Archive Method
\n
Only on the full archive nodes. Complex queries might take longer and incur additional cost
\n
"}[/block]
-
-### How to use it
-
-{% tabs %}
-{% tab title="TypeScript/JavaScript" %}
-{% code overflow="wrap" lineNumbers="true" %}
-```typescript
-// yarn add @tatumio/tatum
-
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
-
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
-
-const tx = await tatum.rpc.getTransactionByBlockNumberAndIndex('0xAD7C5E', 0)
-
-await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
-```
-{% endcode %}
-{% endtab %}
-{% endtabs %}
-
-### Overview
-
-`eth_getTransactionByBlockHashAndIndex` is an JSON-RPC method that allows you to fetch the transaction details based on the block hash and the index of the transaction within that block. This method can be useful when you want to retrieve transaction details for a specific transaction without knowing its transaction hash.
-
-Use cases for this method may include:
-
-* Inspecting transaction details for debugging purposes
-* Gathering data for transaction analysis
-* Fetching transaction information for specific blocks in a block explorer application
-
-### Parameters
-
-The `eth_getTransactionByBlockHashAndIndex` method accepts two parameters:
-
-1. `blockNumber` (required): The hash of the block containing the transaction.
- * Example: `"0xAD7C5E"`
-2. `transactionIndex` (required): The index of the transaction within the specified block. The index is a hexadecimal value.
- * Example: `"0x0"`
-
-### Return Object
-
-The method returns a JSON object containing the following fields:
-
-1. `hash`: The transaction hash as a 32-byte hex string.
-2. `nonce`: The number of transactions made by the sender prior to this one.
-3. `blockHash`: The hash of the block in which this transaction is included.
-4. `blockNumber`: The block number in which this transaction is included.
-5. `transactionIndex`: The index of the transaction within the block.
-6. `from`: The address of the sender.
-7. `to`: The address of the recipient. `null` if the transaction is a contract creation transaction.
-8. `value`: The value transferred in wei.
-9. `gasPrice`: The gas price provided by the sender in wei.
-10. `gas`: The gas limit provided by the sender.
-11. `input`: The data sent along with the transaction.
-
-### JSON Examples
-
-Request:
-
-```json
-{
- "jsonrpc": "2.0",
- "id": 1,
- "method": "eth_getTransactionByBlockNumberAndIndex",
- "params": [
- "0xAD7C5E",
- "0x0"
- ]
-}
-```
-
-Response:
-
-```json
-{
- "jsonrpc": "2.0",
- "id": 1,
- "result": {
- "blockHash": "0xee7d93c17d84df49b2923ce6922a6d1d3dd7c9ad9e5a845c53de15309c2722ef",
- "blockNumber": "0xad7c5e",
- "from": "0xcd22db09c69935c3c660438fec1758f855def472",
- "gas": "0xdbba0",
- "gasPrice": "0x9502f9000",
- "hash": "0x182c841ef47c1505e1e38677b9f1cfea74ad5a380e31e6b05b68279e9d332e99",
- "input": "0x095ea7b300000000000000000000000010ed43c718714eb63d5aa57b78b54704e256024effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
- "nonce": "0xd",
- "to": "0x5e12bb6ddd9214923d6c837ddf1ffb9c90f18883",
- "transactionIndex": "0x0",
- "value": "0x0",
- "type": "0x0",
- "v": "0x94",
- "r": "0xa4967df17dd1418b50808e44019335b6ff831e17962c1e143777c2808d7f2cd0",
- "s": "0x43bdb946e52562c586ac6bf04e7d4c7e7252d2bfb455d3f5f486f64f34e40c33"
- }
-}
-```
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/txpool_content.md b/v1.0/RPC Nodes/rpc-evm/rpc-bsc/txpool_content.md
deleted file mode 100644
index d605eb7f..00000000
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/txpool_content.md
+++ /dev/null
@@ -1,143 +0,0 @@
----
-title: "txpool_content"
-slug: "rpc-bsc-txpool_content"
-excerpt: "Bsc RPC"
-category: 65c5e93c623cad004b45d505
-hidden: false
-metadata:
- description: "Bsc RPC"
- image: []
- keywords: "bsc, 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)"
----
-[block:html]{"html":"\n
Archive Method
\n
Only on the full archive nodes. Complex queries might take longer and incur additional cost
\n
"}[/block]
-
-### How to use it
-
-{% tabs %}
-{% tab title="TypeScript/JavaScript" %}
-{% code overflow="wrap" lineNumbers="true" %}
-```typescript
-// yarn add @tatumio/tatum
-
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
-
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
-
-const content = await tatum.rpc.txPoolContent()
-
-await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
-```
-{% endcode %}
-{% endtab %}
-{% endtabs %}
-
-### Overview
-
-The `txpool_content` method provides information about the transactions currently pending in the transaction pool of the Flare node. It can be helpful for developers and node operators to monitor and manage the transaction pool, especially in scenarios where it's necessary to analyze transaction congestion or prioritize specific transactions.
-
-Use cases for the `txpool_content` method include:
-
-* Analyzing network congestion by inspecting the transaction pool
-* Prioritizing transactions by gas price
-* Monitoring transactions from specific addresses
-* Debugging and troubleshooting pending transactions
-
-### Parameters
-
-This method does not require any parameters.
-
-### Return Object
-
-The `txpool_content` method returns an object with two fields: `pending` and `queued`. Each field contains a nested object with addresses as keys and their respective transactions as values.
-
-* **`pending`**: An object containing transactions that are currently pending for inclusion in the next block(s).
-* **`queued`**: An object containing transactions that are currently queued (i.e., transactions that do not meet certain criteria for inclusion in the next block, like low gas price or nonce gaps).
-
-Each transaction object includes the following information:
-
-* **`hash`**: The hash of the transaction (32 bytes).
-* **`nonce`**: The number of transactions sent by the sender prior to this one (integer).
-* **`blockHash`**: The hash of the block in which the transaction was included (32 bytes), or `null` if the transaction is not yet mined.
-* **`blockNumber`**: The block number in which the transaction was included (integer), or `null` if the transaction is not yet mined.
-* **`transactionIndex`**: The index of the transaction in the block (integer), or `null` if the transaction is not yet mined.
-* **`from`**: The address of the sender (20 bytes).
-* **`to`**: The address of the receiver (20 bytes), or `null` for contract creation transactions.
-* **`value`**: The value transferred in the transaction, in wei.
-* **`gasPrice`**: The price of gas for the transaction, in wei.
-* **`maxFeePerGas`** - The maximum fee per gas set in the transaction.
-* **`maxPriorityFeePerGas`** - The maximum priority gas fee set in the transaction.
-* **`gas`**: The maximum amount of gas the transaction is allowed to consume.
-* **`input`**: The data payload of the transaction (string), or `0x` for simple value transfers.
-
-### JSON-RPC Request Example
-
-```json
-jsonCopy code{
- "id": 1,
- "jsonrpc": "2.0",
- "method": "txpool_content",
- "params": []
-}
-```
-
-### JSON-RPC Response Example
-
-```json
-{
- "jsonrpc": "2.0",
- "id": 1,
- "result": {
- "pending": {
- "0x01d3B93AaADE8A4066DAaBc8fd8482173A6aD120": {
- "197": {
- "blockHash": null,
- "blockNumber": null,
- "from": "0x01d3b93aaade8a4066daabc8fd8482173a6ad120",
- "gas": "0x1c9c380",
- "gasPrice": "0x16cf917",
- "maxFeePerGas": "0x16cf917",
- "maxPriorityFeePerGas": "0x16cf917",
- "hash": "0x1da9c2a8f0787bac4747c5ed1035e81f6a6745aeea43943e63635fc367b817f7",
- "input": "0x00000000",
- "nonce": "0xc5",
- "to": "0x4f023eb8c6bc3116e35b67e03bf2c17f2e4f7e7e",
- "transactionIndex": null,
- "value": "0x0",
- "type": "0x2",
- "accessList": [],
- "chainId": "0xaa36a7",
- "v": "0x1",
- "r": "0x14f7578b57fd9f87acf5bbceb0a47f2d2d3f39b49169357457618c9634c45e8a",
- "s": "0x775fa9976c571751a79f069f8c96f6489f286246e157a31fa99b33062631b46d"
- }
- }
- },
- "queued": {
- "0x03321406635a04D37Cf9211F2ea3AFc83a87e777": {
- "5096281": {
- "blockHash": null,
- "blockNumber": null,
- "from": "0x03321406635a04d37cf9211f2ea3afc83a87e777",
- "gas": "0x5208",
- "gasPrice": "0xc570bd200",
- "hash": "0x05f5fb8e46793fafdc924917c0afdd0afb4a53cb562542d5399234bc1eff759b",
- "input": "0x",
- "nonce": "0x4dc359",
- "to": "0x77b1c86ab0aa9066803ed567e1f00973976638f6",
- "transactionIndex": null,
- "value": "0xb1a2b96602aa20",
- "type": "0x0",
- "chainId": "0xaa36a7",
- "v": "0x1546d72",
- "r": "0x62bd220b95ec13827c0d9b643b9beaf6f4c66d4a8ef08bb10f93d5e5c7ae0068",
- "s": "0x467f76847cfdf43a002defe054030c1a88a9e6f56539c051c3cba46b2dd2cc89"
- }
- }
- }
- }
-```
-
-\
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/txpool_status.md b/v1.0/RPC Nodes/rpc-evm/rpc-bsc/txpool_status.md
deleted file mode 100644
index 0f099874..00000000
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/txpool_status.md
+++ /dev/null
@@ -1,78 +0,0 @@
----
-title: "txpool_status"
-slug: "rpc-bsc-txpool_status"
-excerpt: "Bsc RPC"
-category: 65c5e93c623cad004b45d505
-hidden: false
-metadata:
- description: "Bsc RPC"
- image: []
- keywords: "bsc, 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)"
----
-[block:html]{"html":"\n
Archive Method
\n
Only on the full archive nodes. Complex queries might take longer and incur additional cost
\n
"}[/block]
-
-### How to use it
-
-{% tabs %}
-{% tab title="TypeScript/JavaScript" %}
-{% code overflow="wrap" lineNumbers="true" %}
-```typescript
-// yarn add @tatumio/tatum
-
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
-
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
-
-const status = await tatum.rpc.txPoolStatus()
-
-await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
-```
-{% endcode %}
-{% endtab %}
-{% endtabs %}
-
-### Overview
-
-The `txpool_status` method returns statistics about the current state of the transaction pool. The transaction pool is a queue of pending transactions waiting to be included in the next block by miners.
-
-This method can be useful for monitoring the health of the network and analyzing the behavior of the miners. It can also be used to estimate the time it will take for a transaction to be processed, as well as to determine the gas price necessary to ensure prompt inclusion of a transaction in the next block.
-
-### Parameters
-
-This method does not take any parameters.
-
-### Return Object
-
-The `txpool_status` method returns an object with the following fields:
-
-* **`pending`**: Number of pending transactions in the pool
-* **`queued`**: Number of queued transactions in the pool
-
-### Example Request
-
-```json
-{
- "jsonrpc":"2.0",
- "method":"txpool_status",
- "params":[],
- "id":1
-}
-```
-
-### Example Response
-
-```json
-{
- "jsonrpc": "2.0",
- "id": 1,
- "result": {
- "pending": 4,
- "queued": 10
- }
-}
-```
-
-In this example response, there are currently 4 pending transactions and 10 queued transactions waiting to be processed by miners.
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo.md
similarity index 87%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo.md
index ec184d19..3eb20d4c 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo.md
@@ -1,6 +1,6 @@
---
-title: "Bsc"
-slug: "rpc-bsc"
+title: "Celo"
+slug: "rpc-celo"
excerpt: ""
category: 65c5e93c623cad004b45d505
hidden: false
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-celo/debug_getbadblocks.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/debug_getbadblocks.md
new file mode 100644
index 00000000..ad778d8a
--- /dev/null
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/debug_getbadblocks.md
@@ -0,0 +1,116 @@
+---
+title: "debug_getbadblocks"
+slug: "rpc-celo-debug_getbadblocks"
+excerpt: "Celo RPC"
+category: 65c5e93c623cad004b45d505
+hidden: false
+metadata:
+ description: "Celo RPC"
+ image: []
+ keywords: "celo, 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)"
+---
+[block:html]{"html":"\n
Archive Method
\n
Only on the full archive nodes. Complex queries might take longer and incur additional cost
\n
"}[/block]
+
+### How to use it
+
+{% tabs %}
+{% tab title="TypeScript/JavaScript" %}
+{% code overflow="wrap" lineNumbers="true" %}
+```typescript
+// yarn add @tatumio/tatum
+
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
+
+const result = await tatum.rpc.debugGetBadBlocks()
+
+await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
+```
+{% endcode %}
+{% endtab %}
+{% endtabs %}
+
+### Overview
+
+`debug_getBadBlocks` is an RPC method that provides a list of the most recent bad blocks encountered by the client on the network. This feature is valuable for developers and node operators, as it enables them to identify and address any issues or anomalies related to block validation and synchronization.
+
+By accessing `debug_getBadBlocks`, they can diagnose potential problems and take appropriate actions to ensure the network's stability and integrity.
+
+### Parameters
+
+* This method does not accept any parameters.
+
+### Return Object
+
+The output is an array of objects, with each object representing the trace result of a transaction within the block. These objects include essential details such as the transaction hash and a block object, which can be null if no block was found for the transaction:
+
+* `baseFeePerGas`: The integer representation of the difficulty for this block encoded as hexadecimal.
+* `difficulty`: The integer representation of the difficulty for this block encoded as hexadecimal.
+* `extraData`: The extra data field of this block.
+* `gasLimit`: The maximum gas allowed in this block encoded as hexadecimal.
+* `gasUsed`: The total used gas by all transactions in this block encoded as hexadecimal.
+* `logsBloom`: The bloom filter for the logs of the block. Null if pending.
+* `miner`: The address of the beneficiary to whom the mining rewards were given.
+* `mixHash`: A 256-bit hash encoded as hexadecimal.
+* `nonce`: The hash of the generated proof-of-work. Null if pending.
+* `number`: The block number of the requested block encoded as hexadecimal. Null if pending.
+* `parentHash`: The hash of the parent block.
+* `receiptsRoot`: The root of the receipts trie of the block.
+* `sha3Uncles`: The SHA3 of the uncles' data in the block.
+* `size`: The size of this block in bytes as an Integer value encoded as hexadecimal.
+* `stateRoot`: The root of the final state trie of the block.
+* `timestamp`: The Unix timestamp for when the block was collated.
+* `transactions`: An array of transaction objects with the following fields:
+ * `blockHash`: The hash of the block where this log was in. Null when it's a pending log.
+ * `blockNumber`: The block number where this log was in. Null when it's a pending log.
+ * `from`: The address of the sender.
+ * `gas`: The gas provided by the sender, encoded as hexadecimal.
+ * `gasPrice`: The gas price provided by the sender in wei, encoded as hexadecimal.
+ * `maxFeePerGas`: The maximum fee per gas set in the transaction.
+ * `maxPriorityFeePerGas`: The maximum priority gas fee set in the transaction.
+ * `hash`: The hash of the transaction.
+ * `input`: The data sent along with the transaction.
+ * `nonce`: The number of transactions made by the sender before this one encoded as hexadecimal.
+ * `to`: The address of the receiver. Null when it's a contract creation transaction.
+ * `transactionIndex`: The integer of the transaction's index position that the log was created from. Null when it's a pending log.
+ * `value`: The value transferred in wei encoded as hexadecimal.
+ * `type`: The transaction type.
+ * `accessList`: A list of addresses and storage keys that the transaction plans to access.
+ * `chainId`: The chain id of the transaction, if any.
+ * `v`: The standardized V field of the signature.
+ * `r`: The R field of the signature.
+ * `s`: The S field of the signature.
+* `transactionsRoot`: The root of the transaction trie of the block.
+* `uncles`: An array of uncle hashes.
+* `rlp`: The RLP encoded header.
+
+{% hint style="info" %}
+This method is available only on the full archive node.
+{% endhint %}
+
+### JSON-RPC Request and Response Examples
+
+#### Request
+
+```json
+{
+ "id": 1,
+ "jsonrpc": "2.0",
+ "method": "debug_getBadBlocks",
+ "params": []
+}
+```
+
+#### Response
+
+```json
+{
+ "jsonrpc": "2.0",
+ "id": 1,
+ "result": []
+}
+```
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/debug_storagerangeat.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/debug_storagerangeat.md
similarity index 80%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/debug_storagerangeat.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/debug_storagerangeat.md
index c6ca1667..85bb4a3b 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/debug_storagerangeat.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/debug_storagerangeat.md
@@ -1,13 +1,13 @@
---
title: "debug_storagerangeat"
-slug: "rpc-bsc-debug_storagerangeat"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-debug_storagerangeat"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,13 +22,13 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
+const tatum = await TatumSDK.init({network: Network.CELO})
const result = await tatum.rpc.debugStorageRangeAt(
-'0x48dfcf43404dffdb3b93a0b0d9982b642b221187bc3ed5c023bdab6c0e863e3d',
-1, '0xa41d19F4258a388c639B7CcD938FCE3fb7D05e86', '0x0000000000000000000000000000000000000000000000000000000000000000', 1
+'0x98b066007760fad8c9e3246ac62dc34b96dee7b2a8dd362bc8576e78ee37775d',
+1, '0x75d30255a47772Dd60bC56d7a8536D0A79669eCf', '0x0000000000000000000000000000000000000000000000000000000000000000', 0
)
await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
@@ -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: `"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"`
+* `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"`
* `begin`: The beginning of the storage range. Example: `"0x0000000000000000000000000000000000000000000000000000000000000000"`
* `end`: The end of the storage range. Example: `1` (inclusive)
@@ -72,9 +72,9 @@ This method is available only on the full archive node.
"id": 1,
"method": "debug_storageRangeAt",
"params": [
- "0x3c4523b7e8c21e3d68f1c3af3d18e8a87c0d43e35b2c1b7f8f4e87e4d4db9c82",
+ "0x98b066007760fad8c9e3246ac62dc34b96dee7b2a8dd362bc8576e78ee37775d",
1,
- "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
+ "0x75d30255a47772Dd60bC56d7a8536D0A79669eCf",
"0x0000000000000000000000000000000000000000000000000000000000000000", 1
]
}
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-celo/debug_traceblock.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/debug_traceblock.md
new file mode 100644
index 00000000..e18883e7
--- /dev/null
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/debug_traceblock.md
@@ -0,0 +1,119 @@
+---
+title: "debug_traceblock"
+slug: "rpc-celo-debug_traceblock"
+excerpt: "Celo RPC"
+category: 65c5e93c623cad004b45d505
+hidden: false
+metadata:
+ description: "Celo RPC"
+ image: []
+ keywords: "celo, 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)"
+---
+[block:html]{"html":"\n
Archive Method
\n
Only on the full archive nodes. Complex queries might take longer and incur additional cost
\n
"}[/block]
+
+### How to use it
+
+{% tabs %}
+{% tab title="TypeScript/JavaScript" %}
+{% code overflow="wrap" lineNumbers="true" %}
+```typescript
+// yarn add @tatumio/tatum
+
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
+
+const result = await tatum.rpc.debugTraceBlock('0xAD7C5E' ,{
+ tracer: 'callTracer',
+ tracerConfig: {
+ onlyTopCall: true,
+ timeout: '5s',
+ }
+})
+
+await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
+```
+{% endcode %}
+{% endtab %}
+{% endtabs %}
+
+### Overview
+
+`debug_traceBlock` is an RPC method that allows developers to trace all transactions within a block using a given tracer. This is particularly useful for analyzing the behavior of all transactions in a block, investigating potential issues, and understanding the flow of execution within smart contracts.
+
+By using the `debug_traceBlock`, developers can obtain detailed insights into the execution flow of each transaction, allowing for in-depth analysis and debugging
+
+### Parameters
+
+* `block` - `String`
+ * RLP encoded block object.
+* `options` (optional): An object containing configuration options for the tracer.
+ * `tracer`: The tracer object with the following fields:
+ * `callTracer`: The calltracer keeps track of all call frames, including depth 0 calls, made during a transaction.
+ * `prestateTracer`: The prestateTracer replays the transaction and tracks every part of the state that occurred during the transaction.
+ * `tracerConfig`: The object to specify the configurations of the tracer.
+ * onlyTopCall: When set to true, it traces only the primary (top-level) call and not any sub-calls, eliminating additional processing for each call frame.
+
+### Return Object
+
+The return object is an array of all invoked opcodes of all transaction that were included in this block.
+
+* `type`: The type of the call.
+* `from`: The address from which the transaction is sent.
+* `to`: The address to which the transaction is directed.
+* `value`: The integer value sent with this transaction.
+* `gas`: The integer value of the gas provided for the transaction execution.
+* `gasUsed`: The integer value of the gas used.
+* `input`: The data given at the time of input.
+* `output`: The data returned as an output.
+* `calls`: A list of sub-calls made during the transaction, including detailed trace information for each sub-call.
+
+{% hint style="info" %}
+This method is available only on the full archive node.
+{% endhint %}
+
+### JSON-RPC Request and Response Examples
+
+#### Request
+
+```json
+{
+ "id": 1,
+ "jsonrpc": "2.0",
+ "method": "debug_traceBlock",
+ "params": [
+ "0x1dc....",
+ {
+ "tracer": "callTracer"
+ }
+ ]
+}
+
+```
+
+#### Response
+
+```json
+{
+ "id": 1,
+ "jsonrpc": "2.0",
+ "result": [
+ {
+ "result": {
+ "from": "0x8894e0a0c962cb723c1976a4421c95949be2d4e3",
+ "gas": "0x2d48c",
+ "gasUsed": "0xc7ab",
+ "to": "0x55d398326f99059ff775485246999027b3197955",
+ "input": "0xa9059cbb0000000000000000000000003b9f33b3a9d382fa60283c555bde8f78855957be00000000000000000000000000000000000000000000000d4e7f4f79da7c0000",
+ "output": "0x0000000000000000000000000000000000000000000000000000000000000001",
+ "value": "0x0",
+ "type": "CALL"
+ }
+ }
+ ]
+}
+
+```
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/debug_traceblockbyhash.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/debug_traceblockbyhash.md
similarity index 88%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/debug_traceblockbyhash.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/debug_traceblockbyhash.md
index 303046f8..38ffe403 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/debug_traceblockbyhash.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/debug_traceblockbyhash.md
@@ -1,13 +1,13 @@
---
title: "debug_traceblockbyhash"
-slug: "rpc-bsc-debug_traceblockbyhash"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-debug_traceblockbyhash"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,17 +22,20 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
-
-const result = await tatum.rpc.debugTraceBlockByHash('0x6562f3d2b1bc59e913c812c1113ea9ad41f3d72f4a0f025b6927d66534a7876a', {
+const result = await tatum.rpc.debugTraceBlockByHash(
+'0x98b066007760fad8c9e3246ac62dc34b96dee7b2a8dd362bc8576e78ee37775d',
+{
tracer: 'callTracer',
tracerConfig: {
onlyTopCall: true,
timeout: '5s',
}
-})
+}
+)
await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
```
@@ -48,8 +51,8 @@ By using the `callTracer` tracer, developers can obtain more detailed informatio
### Parameters
-* `block_hash` (required, string): The hash of the block to be traced.
- * Example: `'0x1dcf337a03e08a8c00e31de6f5b6d9a6e1c6f1d5e5e6c89fc5f5b5a30e6d5d0c'`
+* `block_hash` (required): The hash of the block to be traced.
+ * Example: `"0x1dcf337a03e08a8c00e31de6f5b6d9a6e1c6f1d5e5e6c89fc5f5b5a30e6d5d0c"`
* `options` (optional): An object containing configuration options for the tracer.
* `tracer` (required, string): The tracer to use, in this case, `'callTracer'`.
* `tracerConfig` (required, string): object containing `'timeout'` and `'onlyTopCall'` paramter
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/debug_traceblockbynumber.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/debug_traceblockbynumber.md
similarity index 74%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/debug_traceblockbynumber.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/debug_traceblockbynumber.md
index 28a8937c..644e293e 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/debug_traceblockbynumber.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/debug_traceblockbynumber.md
@@ -1,13 +1,13 @@
---
title: "debug_traceblockbynumber"
-slug: "rpc-bsc-debug_traceblockbynumber"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-debug_traceblockbynumber"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,17 +22,11 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
-
-const result = await tatum.rpc.debugTraceBlockByNumber('0x1E3C299' , {
- tracer: 'callTracer',
- tracerConfig: {
- onlyTopCall: true,
- timeout: '5s',
- }
-})
+const result = await tatum.rpc.debugTraceBlockByNumber('0x14FCCCA')
await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
```
@@ -51,12 +45,10 @@ By using the `callTracer` tracer, developers can obtain more detailed informatio
* `blockNumber` - `Quantity` or `String`
* The block number of the block to trace.
* Example: `"0x1"` or `"latest"`
-* `options` (optional): An object containing configuration options for the tracer.
- * `tracer` (required, string): The tracer to use, in this case, `'callTracer'`.
- * `tracerConfig` (required, string): object containing `'timeout'` and `'onlyTopCall'` paramter
- * `timeout` (required, string): The maximum amount of time the tracer is allowed to run in seconds (e.g. "10s"). Default is "5s".
- * `onlyTopCall` (required, boolean): Setting this to true will only trace the main (top-level) call and none of the sub-calls. This avoids extra processing for each call frame if only the top-level call info is required (useful for getting revertReason).
- * Example: `{ tracer: 'callTracer', tracerConfig: { onlyTopCall: true, timeout: '5s', }}`
+* `options` as `tracerConfig`(optional): An object containing configuration options for the tracer.
+ * `tracer` (required): The tracer to use, in this case, `"callTracer"`.
+ * `timeout` (required): The maximum amount of time the tracer is allowed to run, in seconds or as a string (e.g. "10s"). Default is "5s".
+ * Example: `tracerConfig: { onlyTopCall: true, timeout: '10', }`
### Return Object
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/debug_tracecall.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/debug_tracecall.md
similarity index 91%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/debug_tracecall.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/debug_tracecall.md
index 538eaecb..b25661b2 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/debug_tracecall.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/debug_tracecall.md
@@ -1,13 +1,13 @@
---
title: "debug_tracecall"
-slug: "rpc-bsc-debug_tracecall"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-debug_tracecall"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,21 +22,15 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
-
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
-const tatum = await TatumSDK.init({network: Network.EON})
+const tatum = await TatumSDK.init({network: Network.CELO})
const result = await tatum.rpc.debugTraceCall({
- "from": "0xa41d19F4258a388c639B7CcD938FCE3fb7D05e86",
+ "from": "0x30ff20cb4A783B5bB97d0aF2e86d08c6B996D7d2",
"to": "0xa41d19F4258a388c639B7CcD938FCE3fb7D05e87",
- "gas": "0x76c0",
- "gasPrice": "0x9184e72a000",
- "value": "0x9184e72a",
- "data": "0x606060..."
},
- "0xAD7C5E",
+ "0x14FCCCA",
{
tracer: 'callTracer',
tracerConfig: {
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/debug_tracetransaction.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/debug_tracetransaction.md
similarity index 92%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/debug_tracetransaction.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/debug_tracetransaction.md
index 88d28960..93bb2aa0 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/debug_tracetransaction.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/debug_tracetransaction.md
@@ -1,13 +1,13 @@
---
title: "debug_tracetransaction"
-slug: "rpc-bsc-debug_tracetransaction"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-debug_tracetransaction"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,11 +22,11 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
-
-const result = await tatum.rpc.debugTraceTransaction('0x6aefbd1a9c9e4c310cadde3bcdd809a14da87caa8fa4f10ca04d9e357a3907e9', {
+const result = await tatum.rpc.debugTraceTransaction('0xa5d9c00750da011be46f6b0d567ffc23536ef820f660ce1398d2534a77370f0a', {
tracer: 'callTracer',
tracerConfig: {
onlyTopCall: true,
@@ -49,7 +49,7 @@ By using the `callTracer` tracer, developers can obtain more detailed informatio
### Parameters
* `transaction_hash` (required): The hash of the transaction to trace.
- * Example: `"0x123f681646d4a755815f9cb19e1acc8565a0c2ac"`
+ * Example: `"0xa5d9c00750da011be46f6b0d567ffc23536ef820f660ce1398d2534a77370f0a"`
* `options` (optional): An object containing configuration options for the tracer.
* `tracer` (required, string): The tracer to use, in this case, `'callTracer'`.
* `tracerConfig` (required, string): object containing `'timeout'` and `'onlyTopCall'` paramter
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_blocknumber.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_blocknumber.md
similarity index 78%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_blocknumber.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_blocknumber.md
index 64929c52..71bd08e9 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_blocknumber.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_blocknumber.md
@@ -1,13 +1,13 @@
---
title: "eth_blocknumber"
-slug: "rpc-bsc-eth_blocknumber"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-eth_blocknumber"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,9 +22,9 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
-
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
const latestBlock = await tatum.rpc.blockNumber()
@@ -74,4 +74,10 @@ The `eth_blockNumber` method returns a single field:
"jsonrpc": "2.0",
"result": "0x4b7" // 1207
}
-```
\ No newline at end of file
+```
+
+In this example, the most recent block number is 1207 (`0x4b7` in hexadecimal notation).
+
+Please note that while this document provides a comprehensive description of the `eth_blockNumber` RPC method, other methods may be needed to obtain full transaction details or perform more complex tasks.
+
+\
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_call.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_call.md
similarity index 74%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_call.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_call.md
index df21d956..6a250248 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_call.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_call.md
@@ -1,13 +1,13 @@
---
title: "eth_call"
-slug: "rpc-bsc-eth_call"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-eth_call"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,13 +22,13 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
-
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
const result = await tatum.rpc.call({
- "to": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d", // Replace with the ERC-20 token contract address
- "data": "0x70a082310000000000000000000000008894E0a0c962CB723c1976a4421c95949bE2D4E3" // The function signature for balanceOf(address), followed by the address tokens
+ "to": "0xD31a59c85aE9D8edEFeC411D448f90841571b89c", // Replace with the ERC-20 token contract address
+ "data": "0x70a08231000000000000000000000000F22981C5bF0A717c98781Af04fdc8213fA789F1C" // The function signature for balanceOf(address), followed by the address
}, "latest")
await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
@@ -74,8 +74,8 @@ Top 5 most commonly used use cases for `eth_call`:
"jsonrpc":"2.0",
"method":"eth_call",
"params":[{
- "to": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d", // Replace with the ERC-20 token contract address in this case USDC on Binance Smart Chain
- "data": "0x70a082310000000000000000000000008894E0a0c962CB723c1976a4421c95949bE2D4E3" // The function signature for balanceOf(address), followed by the address to query in this case holder of USDC tokens
+ "to": "0xD31a59c85aE9D8edEFeC411D448f90841571b89c", // Replace with the ERC-20 token contract address
+ "data": "0x70a08231000000000000000000000000F22981C5bF0A717c98781Af04fdc8213fA789F1C" // The function signature for balanceOf(address), followed by the address to query
},"latest"],
"id":1
}
@@ -87,6 +87,6 @@ Top 5 most commonly used use cases for `eth_call`:
{
"jsonrpc": "2.0",
"id": 1,
- "result": "0x0000000000000000000000000000000000000000002f798bddfae24274770b92"
+ "result": "0x00000000000000000000000000000000000000000000000000001726f9fecc9d"
}
```
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_chainid.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_chainid.md
similarity index 82%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_chainid.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_chainid.md
index 25ce5901..725346ad 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_chainid.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_chainid.md
@@ -1,13 +1,13 @@
---
title: "eth_chainid"
-slug: "rpc-bsc-eth_chainid"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-eth_chainid"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,9 +22,9 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
-
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
const id = await tatum.rpc.chainId()
@@ -36,7 +36,7 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
### Overview
-The `eth_chainId` method is an JSON-RPC method that allows developers to retrieve the currently configured chain ID of the network they are connected to. The chain ID is a unique identifier for different networks, such as mainnet or various testnets.
+The `eth_chainId` method is an JSON-RPC method that allows developers to retrieve the currently configured chain ID of the network they are connected to. The chain ID is a unique identifier for different networks, such as Mainnet or various testnets.
This method is particularly useful when building applications that interact with multiple networks or need to verify the network to prevent replay attacks. By checking the chain ID, an application can ensure it is interacting with the intended network.
@@ -73,3 +73,4 @@ JSON-RPC response:
}
```
+In this example, the returned chain ID is `0xe`, which corresponds to the Mainnet.
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_estimategas.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_estimategas.md
similarity index 90%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_estimategas.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_estimategas.md
index 095b6754..5ffb8a0b 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_estimategas.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_estimategas.md
@@ -1,13 +1,13 @@
---
title: "eth_estimategas"
-slug: "rpc-bsc-eth_estimategas"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-eth_estimategas"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,9 +22,9 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
-
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
const estimate = await tatum.rpc.estimateGas({
"from": "0xa41d19F4258a388c639B7CcD938FCE3fb7D05e86",
@@ -61,7 +61,7 @@ The `eth_estimateGas` method takes a single parameter, an object representing th
* Example: `"gas": "0x76c0"`
* **`gasPrice`** (optional, string): The price of gas in wei.
* Example: `"gasPrice": "0x9184e72a000"`
-* **`value`** (optional, string): The amount of ZEN to send in the transaction, in wei.
+* **`value`** (optional, string): The amount to send in the transaction, in wei.
* Example: `"value": "0xde0b6b3a7640000"`
* **`data`** (optional, string): The data payload of the transaction, typically used for contract function calls or contract deployment.
* Example: `"data": "0x606060..."`
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_gasprice.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_gasprice.md
similarity index 89%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_gasprice.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_gasprice.md
index 13c66a41..a9e56975 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_gasprice.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_gasprice.md
@@ -1,13 +1,13 @@
---
title: "eth_gasprice"
-slug: "rpc-bsc-eth_gasprice"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-eth_gasprice"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,9 +22,9 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
-
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
const gasPrice = await tatum.rpc.gasPrice()
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getbalance.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getbalance.md
similarity index 84%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getbalance.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getbalance.md
index 14e33e3a..9c77c435 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getbalance.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getbalance.md
@@ -1,13 +1,13 @@
---
title: "eth_getbalance"
-slug: "rpc-bsc-eth_getbalance"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-eth_getbalance"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,11 +22,11 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
+const tatum = await TatumSDK.init({network: Network.CELO})
-const balance = await tatum.rpc.getBalance('0x35a84E6896Aa5Ba047221aC405afaF1977A75109')
+const balance = await tatum.rpc.getBalance('0x30ff20cb4A783B5bB97d0aF2e86d08c6B996D7d2')
await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
```
@@ -43,7 +43,7 @@ The `eth_getBalance` method is an JSON-RPC method that allows you to retrieve th
The method requires two parameters:
1. **`address`** (required): The address of the account or contract whose balance you want to query.
- * Example: `"0x35a84E6896Aa5Ba047221aC405afaF1977A75109"`
+ * Example: `"0x30ff20cb4A783B5bB97d0aF2e86d08c6B996D7d2"`
2. **`blockParameter`** (optional): The block number or block identifier to specify the point in time for which you want to query the balance.
* Example: `"latest"` or `"0x1"`
@@ -70,7 +70,7 @@ A full transaction object includes the following fields:
The method returns a single field:
-* `result`: The Flare balance of the specified address in wei, as a hexadecimal string.
+* `result`: The balance of the specified address in wei, as a hexadecimal string.
* Example: `"0x1a2e1a"`, which corresponds to `1,726,666` wei.
### JSON-RPC Request and Response Examples
@@ -83,7 +83,7 @@ The method returns a single field:
"id": 1,
"method": "eth_getBalance",
"params": [
- "0x35a84E6896Aa5Ba047221aC405afaF1977A75109",
+ "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"latest"
]
}
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getblockbyhash.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getblockbyhash.md
similarity index 60%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getblockbyhash.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getblockbyhash.md
index f5af4ccd..1eb3ef69 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getblockbyhash.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getblockbyhash.md
@@ -1,13 +1,13 @@
---
title: "eth_getblockbyhash"
-slug: "rpc-bsc-eth_getblockbyhash"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-eth_getblockbyhash"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,11 +22,11 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
-
-const block = await tatum.rpc.getBlockByHash('0xf6ab52aebd492d20f7d5aef604d3d35111ec3d0ea4387431222429828652c9a1', true)
+const block = await tatum.rpc.getBlockByHash('0x98b066007760fad8c9e3246ac62dc34b96dee7b2a8dd362bc8576e78ee37775d', true)
await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
```
@@ -44,7 +44,7 @@ The `eth_getBlockByHash` method accepts two parameters:
1. **`blockHash`**: The hash of the block you want to retrieve information about.
* Type: `String`
- * Example: `"0xf6ab52aebd492d20f7d5aef604d3d35111ec3d0ea4387431222429828652c9a1"`
+ * Example: `"0x98b066007760fad8c9e3246ac62dc34b96dee7b2a8dd362bc8576e78ee37775d"`
2. **`fullTransactionDetails`**: A boolean value indicating whether to return full transaction details or just transaction hashes.
* Type: `Boolean`
* Example: `true`
@@ -96,7 +96,7 @@ Here are examples of JSON-RPC request and response for the `eth_getBlockByNumber
{
"jsonrpc": "2.0",
"method": "eth_getBlockByHash",
- "params": ["0xf6ab52aebd492d20f7d5aef604d3d35111ec3d0ea4387431222429828652c9a1", true],
+ "params": ["0x078610ca461480e4b78557f20e544084cccc4accb41f5c1b7ef792246b78c94b", true],
"id": 1
}
```
@@ -108,26 +108,43 @@ Here are examples of JSON-RPC request and response for the `eth_getBlockByNumber
"jsonrpc": "2.0",
"id": 1,
"result": {
- "baseFeePerGas": "0x0",
"difficulty": "0x2",
- "extraData": "0xd88301020b846765746888676f312e32302e34856c696e7578000000b19df4a2f8b5830d77ffb86082b4f5f252d14a0114894d1a27ffd744abf6ad2b17ca03aee899d30472cd252fa552a55980b1ad815d100d9a0477068407cdac3e6bdf640a2f4ee08441719d7af44a6851f52b751e97a63f73bbda4b5193e065750c33ff685751e60546be875cf84c8401e3babba01c37c7cbb5104d70b946cb41fa58a4d9233ab8fbb5eb3157e4f47e660a418d098401e3babca0dada7f63e1e688bb4c038c65b59ae516095b530eb0aafa6670b25d79826e77fe80faf5f05a0b8058404f73d37dc8817e4756ce0fc98867164735f94604f43bdb3138fd9441d75eff0276f07ca4ae85aeb112e3cfac9b2a432d0e73e08622ff3d2200",
- "gasLimit": "0x84fe2c6",
- "gasUsed": "0xa41073",
- "hash": "0xf6ab52aebd492d20f7d5aef604d3d35111ec3d0ea4387431222429828652c9a1",
- "logsBloom": "0x34a61a1c00021592286002548f5e940711b04513241c06a91dea45c892210331814498885820b1614e122a82c472000198c3ce0c23027368b67a74209aa03a2bc4566012215e488c25445149a23d022d607290c5a96438ea00540085c62d460d4f0e00e02b22082420c5193a9518189d08523e4bd3686c1662125a11585805b6c00d4864221b10dc078946a41dc50f18402d9685782202a82d2de9c888ead0b202e8121e7b64aa11684834cd0f944620c5a90d2401868404116059253312526c98231546d1090856b060080f09bf52eca0d50dc3f8bbf074213140cb1621e6fc1971e9375b0083e0c38516d495a6ad04ad51840c023e8548732499d4a2ed25d2",
- "miner": "0x9f8ccdafcc39f3c7d6ebf637c9151673cbc36b88",
+ "extraData": "0xd883010114846765746888676f312e31392e36856c696e75780000008279af9a2f9343c00920c795a7abe84303ee56588946383a15d1e9ee422a7df6dcbe199e4ec93511fe1ffa3c3ab10cb5b12459e8f64553ad3a741e9562e1d5e522c336a400",
+ "gasLimit": "0x2faed85",
+ "gasUsed": "0xd81f1",
+ "hash": "0x078610ca461480e4b78557f20e544084cccc4accb41f5c1b7ef792246b78c94b",
+ "logsBloom": "0x0020001000000000000001000000000000000000000000040000000000084000000004000800000000c06100800000000000000000010000200000000024008000004000000000000000001800001000a050000000040004000000000000000000000220020200000000000000400800080008000000000000001010004000400000000000010000000000000000000000002400000008000000008000000021022000000000000000000000000000000000000000000000000000000000010010180003000800000000000000000000000000800000000020000082000060000010000000001002010800000000000000020000080000800000000000000000",
+ "miner": "0x35552c16704d214347f29fa77f77da6d75d7c752",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x0000000000000000",
- "number": "0x1e3babd",
- "parentHash": "0xdada7f63e1e688bb4c038c65b59ae516095b530eb0aafa6670b25d79826e77fe",
- "receiptsRoot": "0xcf29bb7fc17c26f39b86c02b4b08f5b11763e3cc19497b58ef18049978b0c7cc",
+ "number": "0x1b5dd23",
+ "parentHash": "0x41f85649fa6d5e58a4631f76724a96dba8313302323f0834b9cf2b63d0308e0f",
+ "receiptsRoot": "0x81835f75c1f7521016ce3404f19a44f10c4d56b6ab780fad3388d490c154afbe",
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
- "size": "0x65cb",
- "stateRoot": "0x89063043aaf47c7ff87de3e197d3e556c7752fb2e338ec2ab4626d0b60f0f2d8",
- "timestamp": "0x65017610",
- "totalDifficulty": "0x3c12b38",
- "transactions": [],
- "transactionsRoot": "0x28caed6a0174dc936da148dcf519eb66ab912c4a94eacc123a05ca66d03c224b",
+ "size": "0x8e9",
+ "stateRoot": "0xda34eefae13e5940f564f3f6cc63c96fb9a0ee015b66552f01a14c2b002b0f7f",
+ "timestamp": "0x642ea5d2",
+ "totalDifficulty": "0x36908d2",
+ "transactions": [
+ {
+ "blockHash": "0x078610ca461480e4b78557f20e544084cccc4accb41f5c1b7ef792246b78c94b",
+ "blockNumber": "0x1b5dd23",
+ "from": "0xaa25aa7a19f9c426e07dee59b12f944f4d9f1dd3",
+ "gas": "0x5208",
+ "gasPrice": "0x430e23400",
+ "hash": "0x82544cc4cf767ec9d235f2afa72af2cf468b25c682c302b76390cf0830006174",
+ "input": "0x",
+ "nonce": "0x87bf4f",
+ "to": "0x2fc9076c0ebfa453dee1649721010764cbdf18fc",
+ "transactionIndex": "0x0",
+ "value": "0x16345785d8a0000",
+ "type": "0x0",
+ "v": "0xe5",
+ "r": "0x282c0953168acda79a7ec86be5392370bbce08441aa803be0576dfa467a46329",
+ "s": "0x59e528253c8fe85e72c43d84dd13d6fe724899cf3f94c4800761f2414b2b8f1e"
+ }
+ ],
+ "transactionsRoot": "0xc6939e1f42fa4c4a264a1c1617cc0a6ac7122f3cb5c2848e53b3fba35b33f6ad",
"uncles": []
}
}
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getblockbynumber.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getblockbynumber.md
similarity index 96%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getblockbynumber.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getblockbynumber.md
index 4af860d2..c160a6aa 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getblockbynumber.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getblockbynumber.md
@@ -1,13 +1,13 @@
---
title: "eth_getblockbynumber"
-slug: "rpc-bsc-eth_getblockbynumber"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-eth_getblockbynumber"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,9 +22,9 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
-
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
const block = await tatum.rpc.getBlockByNumber('latest', true)
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getblocktransactioncountbyhash.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getblocktransactioncountbyhash.md
similarity index 65%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getblocktransactioncountbyhash.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getblocktransactioncountbyhash.md
index b7949959..06f9d220 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getblocktransactioncountbyhash.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getblocktransactioncountbyhash.md
@@ -1,13 +1,13 @@
---
title: "eth_getblocktransactioncountbyhash"
-slug: "rpc-bsc-eth_getblocktransactioncountbyhash"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-eth_getblocktransactioncountbyhash"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,11 +22,11 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
-
-const response = await tatum.rpc.getBlockTransactionCountByHash('0xd109a2054e3301c446573859bcbdb0fb26107ea1c218d097042b34e3bd8f6d91')
+const response = await tatum.rpc.getBlockTransactionCountByHash('0x98b066007760fad8c9e3246ac62dc34b96dee7b2a8dd362bc8576e78ee37775d')
await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
```
@@ -36,7 +36,7 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
### Overview
-`eth_getBlockTransactionCountByHash` is a RPC method used to fetch the number of transactions in a block by the block's hash. It is useful when you want to know the total number of transactions included in a specific block and don't want to retrieve the entire block data. This method can be used in various scenarios, such as monitoring the network activity or estimating transaction confirmation times.
+`eth_getBlockTransactionCountByHash` is an RPC method used to fetch the number of transactions in a block by the block's hash. It is useful when you want to know the total number of transactions included in a specific block and don't want to retrieve the entire block data. This method can be used in various scenarios, such as monitoring the network activity or estimating transaction confirmation times.
### Parameters
@@ -46,7 +46,7 @@ This method requires a single parameter:
Example of the parameter:
-* `blockHash`: `"0xd109a2054e3301c446573859bcbdb0fb26107ea1c218d097042b34e3bd8f6d91"`
+* `blockHash`: `"0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238"`
### Return
@@ -64,7 +64,7 @@ The method returns a single value:
"jsonrpc": "2.0",
"method": "eth_getBlockTransactionCountByHash",
"params": [
- "0xd109a2054e3301c446573859bcbdb0fb26107ea1c218d097042b34e3bd8f6d91"
+ "0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238"
]
}
```
@@ -75,7 +75,7 @@ The method returns a single value:
{
"id": 1,
"jsonrpc": "2.0",
- "result": "0x147"
+ "result": "0xa"
}
```
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getblocktransactioncountbynumber.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getblocktransactioncountbynumber.md
similarity index 80%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getblocktransactioncountbynumber.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getblocktransactioncountbynumber.md
index f97b5327..204f6dd9 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getblocktransactioncountbynumber.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getblocktransactioncountbynumber.md
@@ -1,13 +1,13 @@
---
title: "eth_getblocktransactioncountbynumber"
-slug: "rpc-bsc-eth_getblocktransactioncountbynumber"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-eth_getblocktransactioncountbynumber"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,11 +22,11 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
-
-const response = await tatum.rpc.getBlockTransactionCountByNumber('0x1E3C1A1')
+const response = await tatum.rpc.getBlockTransactionCountByNumber('0x14FCCCA')
await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
```
@@ -41,13 +41,13 @@ The `eth_getBlockTransactionCountByNumber` JSON-RPC method allows you to retriev
### Parameters
1. **`blockNumber`**: The block number for which the transaction count should be retrieved. It should be a hex-encoded value representing the block number.
- * Example: `"0x1E3C1A1"` (block number 31703457)
+ * Example: `"0x14FCCCA"`
### Return Object
The return object is a hex-encoded value representing the number of transactions in the specified block.
-* Example: `"0x147"` (327 transactions)
+* Example: `"0xa"` (10 transactions)
### JSON-RPC Request and Response Examples
@@ -58,7 +58,7 @@ The return object is a hex-encoded value representing the number of transactions
"jsonrpc": "2.0",
"id": 1,
"method": "eth_getBlockTransactionCountByNumber",
- "params": ["0x1E3C1A1"]
+ "params": ["0x1b4"]
}
```
@@ -68,7 +68,7 @@ The return object is a hex-encoded value representing the number of transactions
{
"jsonrpc": "2.0",
"id": 1,
- "result": "0x147"
+ "result": "0xa"
}
```
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getcode.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getcode.md
similarity index 85%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getcode.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getcode.md
index db1bbfb6..abf6e6e2 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getcode.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getcode.md
@@ -1,13 +1,13 @@
---
title: "eth_getcode"
-slug: "rpc-bsc-eth_getcode"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-eth_getcode"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,11 +22,11 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
-
-const code = await tatum.rpc.getCode('0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c')
+const code = await tatum.rpc.getCode('0xa41d19F4258a388c639B7CcD938FCE3fb7D05e86')
await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
```
@@ -49,7 +49,7 @@ Use cases for this method could include:
The `eth_getCode` method accepts two parameters:
1. **`address`** (string): The address of the contract whose bytecode you want to retrieve. This should be a 20-byte address, formatted as a hex string with a `0x` prefix.
- * Example: `"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"`
+ * Example: `"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"`
2. **`block`** (string): The block number at which you want to retrieve the contract code. This can be specified as a hex string or one of the following special keywords:
* `"earliest"`: The first block in the blockchain
* `"latest"`: The most recent block in the blockchain
@@ -73,7 +73,7 @@ The `eth_getCode` method returns a string representing the contract bytecode. Th
"jsonrpc": "2.0",
"method": "eth_getCode",
"params": [
- "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
+ "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"latest"
]
}
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getlogs.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getlogs.md
similarity index 89%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getlogs.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getlogs.md
index d06943f3..ac9379b3 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getlogs.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getlogs.md
@@ -1,13 +1,13 @@
---
title: "eth_getlogs"
-slug: "rpc-bsc-eth_getlogs"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-eth_getlogs"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,11 +22,11 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
-
-const logs = await tatum.rpc.getLogs({ address : '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c'})
+const logs = await tatum.rpc.getLogs({ address : '0xa41d19F4258a388c639B7CcD938FCE3fb7D05e86'})
await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
```
@@ -49,7 +49,7 @@ The `eth_getLogs` method takes a single input parameter: an object containing th
* **`toBlock`**: (optional) The ending block number for the search. Can be a block number or one of the following strings: `"earliest"`, `"latest"`, or `"pending"`.
* Example: `"toBlock": "0x2"`
* **`address`**: (optional) The address or list of addresses of the contracts to filter logs from. Can be a single address or an array of addresses.
- * Example: `"address": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"`
+ * Example: `"address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"`
* **`topics`**: (optional) An array of up to four 32-byte topics. Topics are order-dependent, and each topic can be an array of topic hashes or `null`.
* Example: `"topics": ["0x123..."]`
* **`blockhash`**: (optional) The block hash to filter logs from. If provided, `fromBlock` and `toBlock` are ignored.
@@ -74,7 +74,7 @@ The `eth_getLogs` method returns an array of log objects. Each log object contai
* **`blockNumber`**: The block number containing the log.
* Example: `"blockNumber": "0x1"`
* **`address`**: The address of the contract that emitted the log.
- * Example: `"address": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"`
+ * Example: `"address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"`
* **`data`**: The data associated with the log.
* Example: `"data":"0x0000000000000000000000000000000000000000000000000000000000000020"`
* **`topics`**: An array of topics (order-dependent) associated with the log.
@@ -93,7 +93,7 @@ The `eth_getLogs` method returns an array of log objects. Each log object contai
{
"fromBlock": "0x1",
"toBlock": "0x2",
- "address": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",
+ "address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"topics": ["0x123..."]
}
]
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getproof.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getproof.md
similarity index 68%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getproof.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getproof.md
index 099e6956..1a80b237 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getproof.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getproof.md
@@ -1,13 +1,13 @@
---
title: "eth_getproof"
-slug: "rpc-bsc-eth_getproof"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-eth_getproof"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,9 +22,9 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
-
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
const result = await tatum.rpc.getProof("0xa41d19F4258a388c639B7CcD938FCE3fb7D05e86",
["0x0000000000000000000000000000000000000000000000000000000000000000"],
@@ -38,13 +38,13 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
### Overview
-The `eth_getProof` is a JSON-RPC method that retrieves the Merkle-Patricia proof for an account, storage key-value pairs, and account transaction count. It allows developers to verify the state of an account or storage value at a specific block without needing the entire state trie. This method is particularly useful for light clients or off-chain applications that require proof of an account's state or specific storage values.
+The `eth_getProof` is an JSON-RPC method that retrieves the Merkle-Patricia proof for an account, storage key-value pairs, and account transaction count. It allows developers to verify the state of an account or storage value at a specific block without needing the entire state trie. This method is particularly useful for light clients or off-chain applications that require proof of an account's state or specific storage values.
### Parameters
1. **`address`** - `Data`, 20 Bytes
* The address of the account.
- * Example: `"0xa41d19F4258a388c639B7CcD938FCE3fb7D05e86"`
+ * Example: `"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"`
2. **`keys`** - `Array` of `Data`
* An array of storage keys for which the proof should be generated.
* Example: `["0x0000000000000000000000000000000000000000000000000000000000000000"]`
@@ -80,7 +80,7 @@ _Request_:
"jsonrpc": "2.0",
"method": "eth_getProof",
"params": [
- "0xa41d19F4258a388c639B7CcD938FCE3fb7D05e86",
+ "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
[
"0x0000000000000000000000000000000000000000000000000000000000000000"
],
@@ -93,16 +93,29 @@ _Response_:
```json
{
- "jsonrpc": "2.0",
"id": 1,
+ "jsonrpc": "2.0",
"result": {
- "address": "0xa41d19f4258a388c639b7ccd938fce3fb7d05e86",
- "accountProof": [],
- "balance": "0x0",
- "codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
- "nonce": "0x0",
- "storageHash": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
- "storageProof": [{}]
+ "accountProof": [
+ "0x...",
+ "0x...",
+ "0x..."
+ ],
+ "balance": "0xde0b6b3a7640000",
+ "codeHash": "0x...",
+ "nonce": "0x1",
+ "storageProof": [
+ {
+ "key": "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "value": "0xde0b6b3a7640000",
+ "proof": [
+ "0x...",
+ "0x...",
+ "0x..."
+ ]
+ }
+ ]
}
}
+
```
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getstorageat.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getstorageat.md
similarity index 90%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getstorageat.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getstorageat.md
index 4a39b113..68129199 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getstorageat.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getstorageat.md
@@ -1,13 +1,13 @@
---
title: "eth_getstorageat"
-slug: "rpc-bsc-eth_getstorageat"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-eth_getstorageat"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,9 +22,9 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
-
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
const response = await tatum.rpc.getStorageAt('0xa41d19F4258a388c639B7CcD938FCE3fb7D05e86', '0x0')
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_gettransactionbyblockhashandindex.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_gettransactionbyblockhashandindex.md
new file mode 100644
index 00000000..6d1f6d0e
--- /dev/null
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_gettransactionbyblockhashandindex.md
@@ -0,0 +1,116 @@
+---
+title: "eth_gettransactionbyblockhashandindex"
+slug: "rpc-celo-eth_gettransactionbyblockhashandindex"
+excerpt: "Celo RPC"
+category: 65c5e93c623cad004b45d505
+hidden: false
+metadata:
+ description: "Celo RPC"
+ image: []
+ keywords: "celo, 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)"
+---
+[block:html]{"html":"\n
Archive Method
\n
Only on the full archive nodes. Complex queries might take longer and incur additional cost
\n
"}[/block]
+
+### How to use it
+
+{% tabs %}
+{% tab title="TypeScript/JavaScript" %}
+{% code overflow="wrap" lineNumbers="true" %}
+```typescript
+// yarn add @tatumio/tatum
+
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
+
+const tx = await tatum.rpc.getTransactionByBlockHashAndIndex('0x98b066007760fad8c9e3246ac62dc34b96dee7b2a8dd362bc8576e78ee37775d', 0)
+
+await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
+```
+{% endcode %}
+{% endtab %}
+{% endtabs %}
+
+### Overview
+
+`eth_getTransactionByBlockHashAndIndex` is an JSON-RPC method that allows you to fetch the transaction details based on the block hash and the index of the transaction within that block. This method can be useful when you want to retrieve transaction details for a specific transaction without knowing its transaction hash.
+
+Use cases for this method may include:
+
+* Inspecting transaction details for debugging purposes
+* Gathering data for transaction analysis
+* Fetching transaction information for specific blocks in a block explorer application
+
+### Parameters
+
+The `eth_getTransactionByBlockHashAndIndex` method accepts two parameters:
+
+1. `blockHash` (required): The hash of the block containing the transaction.
+ * Example: `"0x98b066007760fad8c9e3246ac62dc34b96dee7b2a8dd362bc8576e78ee37775d"`
+2. `transactionIndex` (required): The index of the transaction within the specified block. The index is a hexadecimal value.
+ * Example: `"0x0"`
+
+### Return Object
+
+The method returns a JSON object containing the following fields:
+
+1. `hash`: The transaction hash as a 32-byte hex string.
+2. `nonce`: The number of transactions made by the sender prior to this one.
+3. `blockHash`: The hash of the block in which this transaction is included.
+4. `blockNumber`: The block number in which this transaction is included.
+5. `transactionIndex`: The index of the transaction within the block.
+6. `from`: The address of the sender.
+7. `to`: The address of the recipient. `null` if the transaction is a contract creation transaction.
+8. `value`: The value transferred in wei.
+9. `gasPrice`: The gas price provided by the sender in wei.
+10. `gas`: The gas limit provided by the sender.
+11. `input`: The data sent along with the transaction.
+
+### JSON Examples
+
+Request:
+
+```json
+{
+ "jsonrpc": "2.0",
+ "id": 1,
+ "method": "eth_getTransactionByBlockHashAndIndex",
+ "params": [
+ "0x98b066007760fad8c9e3246ac62dc34b96dee7b2a8dd362bc8576e78ee37775d",
+ "0x0"
+ ]
+}
+```
+
+Response:
+
+```json
+{
+ "jsonrpc": "2.0",
+ "id": 1,
+ "result": {
+ "blockHash": "0x1091a5831b3556e80e53598c24e9d592e104dba0428f47f94c61523eb52d09d8",
+ "blockNumber": "0x316624",
+ "from": "0x37a53636ee68f59d9346aabcfc0d36011d9d5b35",
+ "gas": "0x5b8d80",
+ "gasPrice": "0x59682f0a",
+ "maxFeePerGas": "0x59682f10",
+ "maxPriorityFeePerGas": "0x59682f00",
+ "hash": "0x40a0f78e346d15b05efa1861149e5999ea48197dcf104d69160d45b08b7a5118",
+ "input": "0xb1dc65a4000129d4314ec8c4bafb6468cc9d3c21de025fa54002558c9f76aec833406ab600000000000000000000000000000000000000000000000000000000001ccc01f18333a24416e0a0be9cdb78505c9c3c27fa42bccdbe6456cd6c1fc81bee7c0e00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000003a001000000010100010100010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000003d150000000000000000000000000000000000000000000000000000000000003d17325325668a08b50a9587fd4605ce02dbc5ccefc4883a41b485ff4dc4a4f86f1e0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000a8690000000000000000000000000000000000000000000000000000009d29229e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ba6547e7b549a1f180c5ad4f2e2e7104fecb8373482f3de6574ecbeefdc9be9dfd9f1934768a23584f1508adad8a7bbfbe445a27bed9f1d4538d4e4c9e458b0c5274b6f714f5aee9a8d56aeb8957b6da6b8914e445a46dcd349737b2eb7d72132e41926d07355de577b13e6ec8e55eaaf628b333197a8d1292bed1c375e891e1da1d519aabbebcc6d299b575b7bef506e2db9493de6f0cfdb0436a81597eb155edc63a8ea655a9b405a0c41c923b1734d78b5d9812f36a602ace3d8c5b22beb9519e406f32de9768e518f2b253a95364a9a2838ba5023c52d503fe8fa811c8803399679a19513671b13d4040e46be74e152d39be4f68bfecaa57d27965ba724a09464734faf7230b19e04f4aa581f10066884e2f402af36f0cdbf08de95e190f4f31fd3b718c1317b65fba9e7ea45ef6180e4861839c6395c814214ee8d56b28ba19f47b6b80f43045635432971b30f2bfb3a26a53ca502bf21fa598c5ddb934b000000000000000000000000000000000000000000000000000000000000000b3ab737e679aefe131ad3efc850fd2c50b316aabcdaa4368587d9606df84b3590541698c7c5538111187964e1b3f39fa033033bb7cab30275ea11b912089663ec43243ff37fa9d2cce04dfce25738c3a484d42f8d8a2c6be226627606f75788ee0e777481b5bd100d00d118bddd18e8726f7a54333b6228f57fa3237799079eb56e6e0ac0cb0f334d23f7284e2dcb2f463d8104fc198389e42a9d1bad1dcfe983115d3d85474db611a6e82b2f61b8d93efa77bc039bd5b3b0f02a7fc587d4a12a0daf256c21ecb9664e6c90c2bfb72a753ff008d3306f7cd4c823df6685fc4cba1514ed132d6367a8f99fba241fc6ef6917f5279ebfdd3e05a296e5c4d77a5463037d7c8180d0644d7e90123918c30fca011d710201ceabcae277924f32ff6b9d0e4d285eb59b4b56d3af8d4b2ab1a39ec2d4324e49deea661cbd43f21cbdc76a10a14055ecdd3251a5860c3bb02bcc1f21da5564fc05adbac70c7565fb5f44b8",
+ "nonce": "0xec0",
+ "to": "0x8febc74c26129c8d7e60288c6dccc75eb494aa3c",
+ "transactionIndex": "0x0",
+ "value": "0x0",
+ "type": "0x2",
+ "accessList": [],
+ "chainId": "0xaa36a7",
+ "v": "0x1",
+ "r": "0xccf7b8fd2d63782e651f4d9650c0ed1a430060fd947d97b6504876f8ea16b357",
+ "s": "0x50c56d90105b1b8aa475c9500137e9b7c4f0a331fee076bc395a695dc471dc05"
+ }
+}
+```
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_gettransactionbyblocknumberandindex.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_gettransactionbyblocknumberandindex.md
new file mode 100644
index 00000000..7e32a75f
--- /dev/null
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_gettransactionbyblocknumberandindex.md
@@ -0,0 +1,116 @@
+---
+title: "eth_gettransactionbyblocknumberandindex"
+slug: "rpc-celo-eth_gettransactionbyblocknumberandindex"
+excerpt: "Celo RPC"
+category: 65c5e93c623cad004b45d505
+hidden: false
+metadata:
+ description: "Celo RPC"
+ image: []
+ keywords: "celo, 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)"
+---
+[block:html]{"html":"\n
Archive Method
\n
Only on the full archive nodes. Complex queries might take longer and incur additional cost
\n
"}[/block]
+
+### How to use it
+
+{% tabs %}
+{% tab title="TypeScript/JavaScript" %}
+{% code overflow="wrap" lineNumbers="true" %}
+```typescript
+// yarn add @tatumio/tatum
+
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
+
+const tx = await tatum.rpc.getTransactionByBlockNumberAndIndex('0x14FCCCA', 0)
+
+await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
+```
+{% endcode %}
+{% endtab %}
+{% endtabs %}
+
+### Overview
+
+`eth_getTransactionByBlockHashAndIndex` is an JSON-RPC method that allows you to fetch the transaction details based on the block hash and the index of the transaction within that block. This method can be useful when you want to retrieve transaction details for a specific transaction without knowing its transaction hash.
+
+Use cases for this method may include:
+
+* Inspecting transaction details for debugging purposes
+* Gathering data for transaction analysis
+* Fetching transaction information for specific blocks in a block explorer application
+
+### Parameters
+
+The `eth_getTransactionByBlockHashAndIndex` method accepts two parameters:
+
+1. `blockNumber` (required): The hash of the block containing the transaction.
+ * Example: `"0x316624"`
+2. `transactionIndex` (required): The index of the transaction within the specified block. The index is a hexadecimal value.
+ * Example: `"0x0"`
+
+### Return Object
+
+The method returns a JSON object containing the following fields:
+
+1. `hash`: The transaction hash as a 32-byte hex string.
+2. `nonce`: The number of transactions made by the sender prior to this one.
+3. `blockHash`: The hash of the block in which this transaction is included.
+4. `blockNumber`: The block number in which this transaction is included.
+5. `transactionIndex`: The index of the transaction within the block.
+6. `from`: The address of the sender.
+7. `to`: The address of the recipient. `null` if the transaction is a contract creation transaction.
+8. `value`: The value transferred in wei.
+9. `gasPrice`: The gas price provided by the sender in wei.
+10. `gas`: The gas limit provided by the sender.
+11. `input`: The data sent along with the transaction.
+
+### JSON Examples
+
+Request:
+
+```json
+{
+ "jsonrpc": "2.0",
+ "id": 1,
+ "method": "eth_getTransactionByBlockNumberAndIndex",
+ "params": [
+ "0x316624",
+ "0x0"
+ ]
+}
+```
+
+Response:
+
+```json
+{
+ "jsonrpc": "2.0",
+ "id": 1,
+ "result": {
+ "blockHash": "0x1091a5831b3556e80e53598c24e9d592e104dba0428f47f94c61523eb52d09d8",
+ "blockNumber": "0x316624",
+ "from": "0x37a53636ee68f59d9346aabcfc0d36011d9d5b35",
+ "gas": "0x5b8d80",
+ "gasPrice": "0x59682f0a",
+ "maxFeePerGas": "0x59682f10",
+ "maxPriorityFeePerGas": "0x59682f00",
+ "hash": "0x40a0f78e346d15b05efa1861149e5999ea48197dcf104d69160d45b08b7a5118",
+ "input": "0xb1dc65a4000129d4314ec8c4bafb6468cc9d3c21de025fa54002558c9f76aec833406ab600000000000000000000000000000000000000000000000000000000001ccc01f18333a24416e0a0be9cdb78505c9c3c27fa42bccdbe6456cd6c1fc81bee7c0e00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000003a001000000010100010100010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000003d150000000000000000000000000000000000000000000000000000000000003d17325325668a08b50a9587fd4605ce02dbc5ccefc4883a41b485ff4dc4a4f86f1e0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000a8690000000000000000000000000000000000000000000000000000009d29229e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ba6547e7b549a1f180c5ad4f2e2e7104fecb8373482f3de6574ecbeefdc9be9dfd9f1934768a23584f1508adad8a7bbfbe445a27bed9f1d4538d4e4c9e458b0c5274b6f714f5aee9a8d56aeb8957b6da6b8914e445a46dcd349737b2eb7d72132e41926d07355de577b13e6ec8e55eaaf628b333197a8d1292bed1c375e891e1da1d519aabbebcc6d299b575b7bef506e2db9493de6f0cfdb0436a81597eb155edc63a8ea655a9b405a0c41c923b1734d78b5d9812f36a602ace3d8c5b22beb9519e406f32de9768e518f2b253a95364a9a2838ba5023c52d503fe8fa811c8803399679a19513671b13d4040e46be74e152d39be4f68bfecaa57d27965ba724a09464734faf7230b19e04f4aa581f10066884e2f402af36f0cdbf08de95e190f4f31fd3b718c1317b65fba9e7ea45ef6180e4861839c6395c814214ee8d56b28ba19f47b6b80f43045635432971b30f2bfb3a26a53ca502bf21fa598c5ddb934b000000000000000000000000000000000000000000000000000000000000000b3ab737e679aefe131ad3efc850fd2c50b316aabcdaa4368587d9606df84b3590541698c7c5538111187964e1b3f39fa033033bb7cab30275ea11b912089663ec43243ff37fa9d2cce04dfce25738c3a484d42f8d8a2c6be226627606f75788ee0e777481b5bd100d00d118bddd18e8726f7a54333b6228f57fa3237799079eb56e6e0ac0cb0f334d23f7284e2dcb2f463d8104fc198389e42a9d1bad1dcfe983115d3d85474db611a6e82b2f61b8d93efa77bc039bd5b3b0f02a7fc587d4a12a0daf256c21ecb9664e6c90c2bfb72a753ff008d3306f7cd4c823df6685fc4cba1514ed132d6367a8f99fba241fc6ef6917f5279ebfdd3e05a296e5c4d77a5463037d7c8180d0644d7e90123918c30fca011d710201ceabcae277924f32ff6b9d0e4d285eb59b4b56d3af8d4b2ab1a39ec2d4324e49deea661cbd43f21cbdc76a10a14055ecdd3251a5860c3bb02bcc1f21da5564fc05adbac70c7565fb5f44b8",
+ "nonce": "0xec0",
+ "to": "0x8febc74c26129c8d7e60288c6dccc75eb494aa3c",
+ "transactionIndex": "0x0",
+ "value": "0x0",
+ "type": "0x2",
+ "accessList": [],
+ "chainId": "0xaa36a7",
+ "v": "0x1",
+ "r": "0xccf7b8fd2d63782e651f4d9650c0ed1a430060fd947d97b6504876f8ea16b357",
+ "s": "0x50c56d90105b1b8aa475c9500137e9b7c4f0a331fee076bc395a695dc471dc05"
+ }
+}
+```
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_gettransactionbyhash.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_gettransactionbyhash.md
similarity index 61%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_gettransactionbyhash.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_gettransactionbyhash.md
index dbb9fde6..18219852 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_gettransactionbyhash.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_gettransactionbyhash.md
@@ -1,13 +1,13 @@
---
title: "eth_gettransactionbyhash"
-slug: "rpc-bsc-eth_gettransactionbyhash"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-eth_gettransactionbyhash"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,11 +22,11 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
-
-const tx = await tatum.rpc.getTransactionByHash('0xc5e257842e8fb62e286350d4bdddcaf24cb30dae4b8ec25ad3e52f463e16e656')
+const tx = await tatum.rpc.getTransactionByHash('0xa5d9c00750da011be46f6b0d567ffc23536ef820f660ce1398d2534a77370f0a')
await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
```
@@ -43,7 +43,7 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
The `eth_getTransactionByHash` method takes one parameter:
* **`transactionHash`**: The hash of the transaction you want to retrieve. This should be a 32-byte hash string with a `0x` prefix.
- * Example: `"0xa536596d043c03d709aaccbc53f421963fe3537274e86444cd984404cf9ecb13"`
+ * Example: `"0xa5d9c00750da011be46f6b0d567ffc23536ef820f660ce1398d2534a77370f0a"`
### Return Object
@@ -71,7 +71,7 @@ Request:
{
"jsonrpc": "2.0",
"method": "eth_getTransactionByHash",
- "params": ["0xa536596d043c03d709aaccbc53f421963fe3537274e86444cd984404cf9ecb13"],
+ "params": ["0xa5d9c00750da011be46f6b0d567ffc23536ef820f660ce1398d2534a77370f0a"],
"id": 1
}
```
@@ -80,25 +80,26 @@ Response:
```json
{
- jsonrpc: '2.0',
- id: 1,
- result: {
- blockHash: '0x283da208c3429f3c3c38fc2c0a94bc767c9c2197962393cd4d79c6d6f2938b48',
- blockNumber: '0x1e3bb30',
- from: '0x35a84e6896aa5ba047221ac405afaf1977a75109',
- gas: '0x5208',
- gasPrice: '0xb2d05e00',
- hash: '0xc5e257842e8fb62e286350d4bdddcaf24cb30dae4b8ec25ad3e52f463e16e656',
- input: '0x',
- nonce: '0x4',
- to: '0x8aca17bcb5eed52e9854528d131d830149e9cdc0',
- transactionIndex: '0x35',
- value: '0x2386f26fc10000',
- type: '0x0',
- v: '0x94',
- r: '0xdb1edfd341493c5309952a880db14f291820940f78cedfe0639a65babe564c5a',
- s: '0x334ba27525743ff412e66b07bcb3683d0ed565edbad5a3e30ddd5d7f46233818'
- }
+ "jsonrpc": "2.0",
+ "id": 1,
+ "result": {
+ "blockHash": "0x1091a5831b3556e80e53598c24e9d592e104dba0428f47f94c61523eb52d09d8",
+ "blockNumber": "0x316624",
+ "from": "0x53e8577c4347c365e4e0da5b57a589cb6f2ab848",
+ "gas": "0x3c524",
+ "gasPrice": "0x306dc421e",
+ "hash": "0xa536596d043c03d709aaccbc53f421963fe3537274e86444cd984404cf9ecb13",
+ "input": "0x50bb4e7f00000000000000000000000074b4551c177592a908c6ab9ce671bfe8c1b5bd40000000000000000000000000000000000000000000000000000056b990e70e000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000006068747470733a2f2f6574682d6d61696e6e65742e672e616c6368656d792e636f6d2f76322f72646f704c505054424a31536f786b2d555179306b7464676f4b45326146637a2f6765744e4654732f3f6f776e65723d766974616c696b2e657468",
+ "nonce": "0xc97",
+ "to": "0x211500d1960bdb7ba3390347ffd8ad486b897a18",
+ "transactionIndex": "0x4",
+ "value": "0x0",
+ "type": "0x0",
+ "chainId": "0xaa36a7",
+ "v": "0x1546d71",
+ "r": "0xf89098451217613aa4abbb3f8988e75e20ae948d07bf8b26c472bc9bda50c9d9",
+ "s": "0x15cfb5b34bcb23730aeadc28df3b66fa9cf28103ffc8b557d76f0c1df078028e"
+ }
}
```
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_gettransactioncount.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_gettransactioncount.md
similarity index 83%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_gettransactioncount.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_gettransactioncount.md
index 3243dfe6..37669558 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_gettransactioncount.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_gettransactioncount.md
@@ -1,13 +1,13 @@
---
title: "eth_gettransactioncount"
-slug: "rpc-bsc-eth_gettransactioncount"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-eth_gettransactioncount"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,11 +22,11 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
-
-const result = await tatum.rpc.getTransactionCount('0x35a84E6896Aa5Ba047221aC405afaF1977A75109', 'latest')
+const result = await tatum.rpc.getTransactionCount('0x30ff20cb4A783B5bB97d0aF2e86d08c6B996D7d2', 'latest')
await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
```
@@ -49,7 +49,7 @@ Use cases for this method include:
The `eth_getTransactionCount` method accepts two parameters:
1. **`address`** - The address whose transaction count will be retrieved.
- * Example: `"0x35a84E6896Aa5Ba047221aC405afaF1977A75109"`
+ * Example: `"0x30ff20cb4A783B5bB97d0aF2e86d08c6B996D7d2"`
2. **`blockParameter`** - A string indicating the block number or block state to consider when retrieving the transaction count.
* Possible values: `"earliest"`, `"latest"`, `"pending"`, or a specific block number in hexadecimal format
* Example: `"latest"`
@@ -71,7 +71,7 @@ _Request_:
"id": 1,
"method": "eth_getTransactionCount",
"params": [
- "0x35a84E6896Aa5Ba047221aC405afaF1977A75109",
+ "0x30ff20cb4A783B5bB97d0aF2e86d08c6B996D7d2",
"latest"
]
}
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_gettransactionreceipt.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_gettransactionreceipt.md
similarity index 89%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_gettransactionreceipt.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_gettransactionreceipt.md
index 3db470cc..d36cb8f7 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_gettransactionreceipt.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_gettransactionreceipt.md
@@ -1,13 +1,13 @@
---
title: "eth_gettransactionreceipt"
-slug: "rpc-bsc-eth_gettransactionreceipt"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-eth_gettransactionreceipt"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,11 +22,11 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
-
-const tx = await tatum.rpc.getTransactionReceipt('0xc5e257842e8fb62e286350d4bdddcaf24cb30dae4b8ec25ad3e52f463e16e656')
+const tx = await tatum.rpc.getTransactionReceipt('0xa5d9c00750da011be46f6b0d567ffc23536ef820f660ce1398d2534a77370f0a')
await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
```
@@ -43,7 +43,7 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
This method requires a single parameter:
* **`transactionHash`**: The hash of the transaction for which you want to obtain the receipt.
- * Example: `"0xa536596d043c03d709aaccbc53f421963fe3537274e86444cd984404cf9ecb13"`
+ * Example: `"0xa5d9c00750da011be46f6b0d567ffc23536ef820f660ce1398d2534a77370f0a"`
### Return Object
@@ -72,7 +72,7 @@ Request:
"id": 1,
"method": "eth_getTransactionReceipt",
"params": [
- "0xa536596d043c03d709aaccbc53f421963fe3537274e86444cd984404cf9ecb13"
+ "0xa5d9c00750da011be46f6b0d567ffc23536ef820f660ce1398d2534a77370f0a"
]
}
```
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getunclecountbyblockhash.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getunclecountbyblockhash.md
similarity index 79%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getunclecountbyblockhash.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getunclecountbyblockhash.md
index fa7a12ec..6fe93056 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getunclecountbyblockhash.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getunclecountbyblockhash.md
@@ -1,13 +1,13 @@
---
title: "eth_getunclecountbyblockhash"
-slug: "rpc-bsc-eth_getunclecountbyblockhash"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-eth_getunclecountbyblockhash"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,11 +22,11 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
-
-const result = await tatum.rpc.getUncleCountByBlockHash('0xd109a2054e3301c446573859bcbdb0fb26107ea1c218d097042b34e3bd8f6d91')
+const result = await tatum.rpc.getUncleCountByBlockHash('0x98b066007760fad8c9e3246ac62dc34b96dee7b2a8dd362bc8576e78ee37775d')
await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
```
@@ -45,7 +45,7 @@ Uncles are blocks that are not included in the main blockchain but are still val
The `eth_getUncleCountByBlockHash` method takes one parameter:
* `blockHash`: The hash of the block for which you want to get the uncle count.
- * Example value: `"0xd109a2054e3301c446573859bcbdb0fb26107ea1c218d097042b34e3bd8f6d91"`
+ * Example value: `"0x98b066007760fad8c9e3246ac62dc34b96dee7b2a8dd362bc8576e78ee37775d"`
### Return Object
@@ -65,7 +65,7 @@ Here is an example JSON-RPC request and response for the `eth_getUncleCountByBlo
"jsonrpc": "2.0",
"method": "eth_getUncleCountByBlockHash",
"params": [
- "0xd109a2054e3301c446573859bcbdb0fb26107ea1c218d097042b34e3bd8f6d91"
+ "0x3a3e528dcd6e05a614c9241b0a9296db961fa6a92e05af9f6c0d7d2f6bc92f7a"
]
}
```
@@ -74,9 +74,9 @@ Here is an example JSON-RPC request and response for the `eth_getUncleCountByBlo
```json
{
- "jsonrpc": "2.0",
"id": 1,
- "result": "0x0"
+ "jsonrpc": "2.0",
+ "result": "0x1"
}
```
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getunclecountbyblocknumber.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getunclecountbyblocknumber.md
similarity index 85%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getunclecountbyblocknumber.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getunclecountbyblocknumber.md
index 3a5d8ac9..27b2a8fc 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_getunclecountbyblocknumber.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_getunclecountbyblocknumber.md
@@ -1,13 +1,13 @@
---
title: "eth_getunclecountbyblocknumber"
-slug: "rpc-bsc-eth_getunclecountbyblocknumber"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-eth_getunclecountbyblocknumber"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,11 +22,11 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
-
-const result = await tatum.rpc.getUncleCountByBlockNumber('0xAD7C5E')
+const result = await tatum.rpc.getUncleCountByBlockNumber('0x14FCCCA')
await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
```
@@ -45,7 +45,7 @@ Uncles are blocks that are not included in the main blockchain but are still val
The `eth_getUncleCountByBlockHash` method takes one parameter:
* `blockNumber`: The number of the block for which you want to get the uncle count.
- * Example value: `"0xAD7C5E"`
+ * Example value: `"0x14FCCCA"`
### Return Object
@@ -65,7 +65,7 @@ Here is an example JSON-RPC request and response for the `eth_getUncleCountByBlo
"jsonrpc": "2.0",
"method": "eth_getUncleCountByBlockNumber",
"params": [
- "0xAD7C5E"
+ "0x14FCCCA"
]
}
```
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_maxpriorityfeepergas.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_maxpriorityfeepergas.md
similarity index 87%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_maxpriorityfeepergas.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_maxpriorityfeepergas.md
index 1bb53b7f..57ebba0d 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_maxpriorityfeepergas.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_maxpriorityfeepergas.md
@@ -1,13 +1,13 @@
---
title: "eth_maxpriorityfeepergas"
-slug: "rpc-bsc-eth_maxpriorityfeepergas"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-eth_maxpriorityfeepergas"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,9 +22,9 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
-
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
const gasPrice = await tatum.rpc.maxPriorityFeePerGas()
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_sendrawtransaction.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_sendrawtransaction.md
similarity index 84%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_sendrawtransaction.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_sendrawtransaction.md
index 31a22e64..aa57e586 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/eth_sendrawtransaction.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/eth_sendrawtransaction.md
@@ -1,13 +1,13 @@
---
title: "eth_sendrawtransaction"
-slug: "rpc-bsc-eth_sendrawtransaction"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-eth_sendrawtransaction"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,9 +22,9 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
-
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
const gasPrice = await tatum.rpc.sendRawTransaction('0x0000.......')
@@ -36,7 +36,7 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
### Overview
-The `eth_sendRawTransaction` RPC method is used to send a signed and serialized transaction to the network. This method is particularly useful when you want to have full control over the signing process, e.g., when using hardware wallets, cold storage, or custom signing libraries. It can be utilized in various use cases, such as transferring, interacting with smart contracts, or deploying new contracts.
+The `eth_sendRawTransaction` RPC method is used to send a signed and serialized transaction to the network. This method is particularly useful when you want to have full control over the signing process, e.g., when using hardware wallets, cold storage, or custom signing libraries. It can be utilized in various use cases, such as transferring currency, interacting with smart contracts, or deploying new contracts.
### Parameters
diff --git a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/web3_clientversion.md b/v1.0/RPC Nodes/rpc-evm/rpc-celo/web3_clientversion.md
similarity index 85%
rename from v1.0/RPC Nodes/rpc-evm/rpc-bsc/web3_clientversion.md
rename to v1.0/RPC Nodes/rpc-evm/rpc-celo/web3_clientversion.md
index 9f7c3701..d3077107 100644
--- a/v1.0/RPC Nodes/rpc-evm/rpc-bsc/web3_clientversion.md
+++ b/v1.0/RPC Nodes/rpc-evm/rpc-celo/web3_clientversion.md
@@ -1,13 +1,13 @@
---
title: "web3_clientversion"
-slug: "rpc-bsc-web3_clientversion"
-excerpt: "Bsc RPC"
+slug: "rpc-celo-web3_clientversion"
+excerpt: "Celo RPC"
category: 65c5e93c623cad004b45d505
hidden: false
metadata:
- description: "Bsc RPC"
+ description: "Celo RPC"
image: []
- keywords: "bsc, rpc"
+ keywords: "celo, 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)"
@@ -22,9 +22,9 @@ updatedAt: "Tue Apr 02 2024 08:40:59 GMT+0000 (Coordinated Universal Time)"
```typescript
// yarn add @tatumio/tatum
-import { TatumSDK, BinanceSmartChain, Network } from '@tatumio/tatum'
-
-const tatum = await TatumSDK.init({network: Network.BINANCE_SMART_CHAIN})
+import { TatumSDK, Celo, Network } from '@tatumio/tatum'
+
+const tatum = await TatumSDK.init({network: Network.CELO})
const version = await tatum.rpc.clientVersion()
@@ -71,7 +71,8 @@ The `web3_clientVersion` method returns a string representing the version of the
{
"jsonrpc": "2.0",
"id": 67,
- "result": "v0.9.0"
+ "result": "v0.8.15"
}
```
+In the above example, the client software being used is in version 0.8.18..