Skip to content

Commit

Permalink
Added Codepens to All Chains
Browse files Browse the repository at this point in the history
  • Loading branch information
productshiv committed Apr 10, 2024
1 parent 18196d6 commit bce4e43
Show file tree
Hide file tree
Showing 178 changed files with 2,136 additions and 178 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,18 @@ The `eth_getUncleCountByBlockHash` method returns the number of uncles in a spec

Uncles are blocks that are not included in the main blockchain but are still valid, and they contribute to the overall security and decentralisation of the network. The inclusion of uncles helps prevent centralisation and ensures the mining process remains competitive.

{% embed url="<https://codepen.io/Jan-Musil-the-lessful/pen/vYQPXer"> %}
[block:embed]
{
"html": false,
"url": "https://codepen.io/Jan-Musil-the-lessful/pen/vYQPXer",
"href": "https://codepen.io/Jan-Musil-the-lessful/pen/vYQPXer",
"typeOfEmbed": "iframe",
"height": "300px",
"width": "100%",
"iframe": true,
"provider": "codepen.io"
}
[/block]

### Parameters

Expand Down
13 changes: 12 additions & 1 deletion v1.0/RPC Nodes/rpc-evm/rpc-haqq/rpc-haqq-eth_blocknumber.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,18 @@ Use cases for `eth_blockNumber` include:
- Checking the status of a transaction by comparing its block number to the current block number
- Determining the current network state for smart contract interactions\\

{% embed url="<https://codepen.io/Jan-Musil-the-lessful/pen/ZEmwwYX"> %}
[block:embed]
{
"html": false,
"url": "https://codepen.io/Jan-Musil-the-lessful/pen/ZEmwwYX",
"href": "https://codepen.io/Jan-Musil-the-lessful/pen/ZEmwwYX",
"typeOfEmbed": "iframe",
"height": "300px",
"width": "100%",
"iframe": true,
"provider": "codepen.io"
}
[/block]

### Parameters

Expand Down
13 changes: 12 additions & 1 deletion v1.0/RPC Nodes/rpc-evm/rpc-haqq/rpc-haqq-eth_chainid.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,18 @@ The `eth_chainId` method is an Haqq JSON-RPC method that allows developers to re

This method is particularly useful when building applications that interact with multiple Haqq 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.

{% embed url="<https://codepen.io/tatum-devrel/pen/NWEQVzo"> %}
[block:embed]
{
"html": false,
"url": "https://codepen.io/tatum-devrel/pen/NWEQVzo",
"href": "https://codepen.io/tatum-devrel/pen/NWEQVzo",
"typeOfEmbed": "iframe",
"height": "300px",
"width": "100%",
"iframe": true,
"provider": "codepen.io"
}
[/block]

### Parameters

Expand Down
13 changes: 12 additions & 1 deletion v1.0/RPC Nodes/rpc-evm/rpc-haqq/rpc-haqq-eth_estimategas.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,18 @@ Use cases for `eth_estimateGas` include:
- Estimating gas costs for contract function calls
- Estimating gas costs for standard ether transfers

{% embed url="<https://codepen.io/Jan-Musil-the-lessful/pen/abQXrEQ"> %}
[block:embed]
{
"html": false,
"url": "https://codepen.io/Jan-Musil-the-lessful/pen/abQXrEQ",
"href": "https://codepen.io/Jan-Musil-the-lessful/pen/abQXrEQ",
"typeOfEmbed": "iframe",
"height": "300px",
"width": "100%",
"iframe": true,
"provider": "codepen.io"
}
[/block]

### Parameters

Expand Down
13 changes: 12 additions & 1 deletion v1.0/RPC Nodes/rpc-evm/rpc-haqq/rpc-haqq-eth_gasprice.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,18 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs

The `eth_gasPrice` method is an Haqq JSON-RPC method used to estimate the average gas price required for transactions in the Haqq network. This method provides a suggestion for the gas price to be used in a transaction to increase the likelihood of it being mined and included in a block in a reasonable amount of time. The `eth_gasPrice` method is particularly useful for developers and users who want to create and send transactions, as it helps them estimate the appropriate gas price to ensure timely processing.

{% embed url="<https://codepen.io/Jan-Musil-the-lessful/pen/OJadYzX"> %}
[block:embed]
{
"html": false,
"url": "https://codepen.io/Jan-Musil-the-lessful/pen/OJadYzX",
"href": "https://codepen.io/Jan-Musil-the-lessful/pen/OJadYzX",
"typeOfEmbed": "iframe",
"height": "300px",
"width": "100%",
"iframe": true,
"provider": "codepen.io"
}
[/block]

### Parameters

Expand Down
13 changes: 12 additions & 1 deletion v1.0/RPC Nodes/rpc-evm/rpc-haqq/rpc-haqq-eth_getbalance.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,18 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
The `eth_getBalance` method is an Haqq JSON-RPC method that allows you to retrieve the Haqq balance of a specified address. This method can be used to query the balance of any Haqq address, whether it is a contract or an externally owned account (EOA). A common use case for this method is to display the current balance of a user's account in a wallet application or a decentralized application (DApp).
{% embed url="<https://codepen.io/Jan-Musil-the-lessful/pen/ZEmwZvp?editors=1111"> %}
[block:embed]
{
"html": false,
"url": "https://codepen.io/Jan-Musil-the-lessful/pen/ZEmwZvp?editors=1111",
"href": "https://codepen.io/Jan-Musil-the-lessful/pen/ZEmwZvp?editors=1111",
"typeOfEmbed": "iframe",
"height": "300px",
"width": "100%",
"iframe": true,
"provider": "codepen.io"
}
[/block]
### Parameters
Expand Down
13 changes: 12 additions & 1 deletion v1.0/RPC Nodes/rpc-evm/rpc-haqq/rpc-haqq-eth_getblockbyhash.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,18 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs

`eth_getBlockByHash` is an Haqq JSON-RPC method that allows developers to query a specific block in the Haqq blockchain by its block hash. This method can be used in various scenarios, such as analyzing historical transactions, validating the state of the blockchain, or monitoring the progress of mining activities.

{% embed url="<https://codepen.io/tatum-devrel/pen/JjegqOb"> %}
[block:embed]
{
"html": false,
"url": "https://codepen.io/tatum-devrel/pen/JjegqOb",
"href": "https://codepen.io/tatum-devrel/pen/JjegqOb",
"typeOfEmbed": "iframe",
"height": "300px",
"width": "100%",
"iframe": true,
"provider": "codepen.io"
}
[/block]

### Parameters

Expand Down
13 changes: 12 additions & 1 deletion v1.0/RPC Nodes/rpc-evm/rpc-haqq/rpc-haqq-eth_getblockbynumber.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,18 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs

`eth_getBlockByNumber` is an Haqq JSON-RPC method that allows developers to query a specific block in the Haqq blockchain by its block number. This method can be used in various scenarios, such as analyzing historical transactions, validating the state of the blockchain, or monitoring the progress of mining activities.

{% embed url="<https://codepen.io/tatum-devrel/pen/KKrOLvY"> %}
[block:embed]
{
"html": false,
"url": "https://codepen.io/tatum-devrel/pen/KKrOLvY",
"href": "https://codepen.io/tatum-devrel/pen/KKrOLvY",
"typeOfEmbed": "iframe",
"height": "300px",
"width": "100%",
"iframe": true,
"provider": "codepen.io"
}
[/block]

### Parameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,18 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
`eth_getBlockTransactionCountByHash` is an Haqq 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.
{% embed url="<https://codepen.io/tatum-devrel/pen/wvQVbyY"> %}
[block:embed]
{
"html": false,
"url": "https://codepen.io/tatum-devrel/pen/wvQVbyY",
"href": "https://codepen.io/tatum-devrel/pen/wvQVbyY",
"typeOfEmbed": "iframe",
"height": "300px",
"width": "100%",
"iframe": true,
"provider": "codepen.io"
}
[/block]
### Parameters
Expand Down
13 changes: 12 additions & 1 deletion v1.0/RPC Nodes/rpc-evm/rpc-haqq/rpc-haqq-eth_getcode.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,18 @@ Use cases for this method could include:
- Verifying the integrity of a deployed contract
- Analyzing contract bytecode for security vulnerabilities
{% embed url="<https://codepen.io/tatum-devrel/pen/rNQXgJV"> %}
[block:embed]
{
"html": false,
"url": "https://codepen.io/tatum-devrel/pen/rNQXgJV",
"href": "https://codepen.io/tatum-devrel/pen/rNQXgJV",
"typeOfEmbed": "iframe",
"height": "300px",
"width": "100%",
"iframe": true,
"provider": "codepen.io"
}
[/block]
### Parameters
Expand Down
13 changes: 12 additions & 1 deletion v1.0/RPC Nodes/rpc-evm/rpc-haqq/rpc-haqq-eth_getlogs.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,18 @@ The `eth_getLogs` method is an Haqq JSON-RPC method that allows developers to qu
This method is particularly useful when building decentralized applications (dApps) that rely on events emitted by smart contracts, as it enables developers to retrieve logs based on specific filter criteria. By using `eth_getLogs`, developers can efficiently track and react to events happening on the Haqq blockchain.
{% embed url="<https://codepen.io/tatum-devrel/pen/JjegqMb"> %}
[block:embed]
{
"html": false,
"url": "https://codepen.io/tatum-devrel/pen/JjegqMb",
"href": "https://codepen.io/tatum-devrel/pen/JjegqMb",
"typeOfEmbed": "iframe",
"height": "300px",
"width": "100%",
"iframe": true,
"provider": "codepen.io"
}
[/block]
### Parameters
Expand Down
13 changes: 12 additions & 1 deletion v1.0/RPC Nodes/rpc-evm/rpc-haqq/rpc-haqq-eth_getproof.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,18 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs

The `eth_getProof` is an Haqq 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 Haqq 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.

{% embed url="<https://codepen.io/tatum-devrel/pen/poQMmVM"> %}
[block:embed]
{
"html": false,
"url": "https://codepen.io/tatum-devrel/pen/poQMmVM",
"href": "https://codepen.io/tatum-devrel/pen/poQMmVM",
"typeOfEmbed": "iframe",
"height": "300px",
"width": "100%",
"iframe": true,
"provider": "codepen.io"
}
[/block]

### Parameters

Expand Down
13 changes: 12 additions & 1 deletion v1.0/RPC Nodes/rpc-evm/rpc-haqq/rpc-haqq-eth_getstorageat.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,18 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
`eth_getStorageAt` is an Haqq JSON-RPC method that allows you to query the storage value of a contract at a given position. It can be used to inspect the internal state of a smart contract. This method is particularly useful for developers, auditors, and analysts who want to examine contract storage values for various purposes, such as debugging, verifying contract behavior, or analyzing data.
{% embed url="<https://codepen.io/tatum-devrel/pen/yLQmWjB"> %}
[block:embed]
{
"html": false,
"url": "https://codepen.io/tatum-devrel/pen/yLQmWjB",
"href": "https://codepen.io/tatum-devrel/pen/yLQmWjB",
"typeOfEmbed": "iframe",
"height": "300px",
"width": "100%",
"iframe": true,
"provider": "codepen.io"
}
[/block]
### Parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,18 @@ Use cases for this method may include:
- Gathering data for transaction analysis
- Fetching transaction information for specific blocks in a block explorer application
{% embed url="<https://codepen.io/tatum-devrel/pen/vYQowjp"> %}
[block:embed]
{
"html": false,
"url": "https://codepen.io/tatum-devrel/pen/vYQowjp",
"href": "https://codepen.io/tatum-devrel/pen/vYQowjp",
"typeOfEmbed": "iframe",
"height": "300px",
"width": "100%",
"iframe": true,
"provider": "codepen.io"
}
[/block]
### Parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,18 @@ Use cases for this method may include:
- Gathering data for transaction analysis
- Fetching transaction information for specific blocks in a block explorer application
{% embed url="<https://codepen.io/Jan-Musil-the-lessful/pen/RwqvOdd"> %}
[block:embed]
{
"html": false,
"url": "https://codepen.io/Jan-Musil-the-lessful/pen/RwqvOdd",
"href": "https://codepen.io/Jan-Musil-the-lessful/pen/RwqvOdd",
"typeOfEmbed": "iframe",
"height": "300px",
"width": "100%",
"iframe": true,
"provider": "codepen.io"
}
[/block]
### Parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,18 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs

`eth_getTransactionByHash` is an Haqq JSON-RPC method that allows you to query transaction details based on its hash. This method is useful when you want to retrieve information about a specific transaction, such as its sender, receiver, value, and more. Common use cases include tracking transaction status, monitoring incoming transactions, or analyzing historical transaction data.

{% embed url="<https://codepen.io/Jan-Musil-the-lessful/pen/MWzLxGd?editors=1111"> %}
[block:embed]
{
"html": false,
"url": "https://codepen.io/Jan-Musil-the-lessful/pen/MWzLxGd?editors=1111",
"href": "https://codepen.io/Jan-Musil-the-lessful/pen/MWzLxGd?editors=1111",
"typeOfEmbed": "iframe",
"height": "300px",
"width": "100%",
"iframe": true,
"provider": "codepen.io"
}
[/block]

### Parameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,18 @@ Use cases for this method include:
- Monitoring the number of transactions sent by an address to observe its activity
- Troubleshooting transaction issues and verifying if a transaction was submitted successfully

{% embed url="<https://codepen.io/Jan-Musil-the-lessful/pen/RwqvOmO?editors=1111"> %}
[block:embed]
{
"html": false,
"url": "https://codepen.io/Jan-Musil-the-lessful/pen/RwqvOmO?editors=1111",
"href": "https://codepen.io/Jan-Musil-the-lessful/pen/RwqvOmO?editors=1111",
"typeOfEmbed": "iframe",
"height": "300px",
"width": "100%",
"iframe": true,
"provider": "codepen.io"
}
[/block]

### Parameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,18 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs
`eth_getTransactionReceipt` is an Haqq JSON-RPC method that retrieves the transaction receipt of a given transaction hash. This method is particularly useful when you need to obtain detailed information about a transaction's execution, such as its status (success or failure), gas usage, and logs (events). Common use cases include checking the status of a transaction after it has been mined or inspecting the events emitted by a smart contract during a specific transaction.
{% embed url="<https://codepen.io/Jan-Musil-the-lessful/pen/XWyOQMN"> %}
[block:embed]
{
"html": false,
"url": "https://codepen.io/Jan-Musil-the-lessful/pen/XWyOQMN",
"href": "https://codepen.io/Jan-Musil-the-lessful/pen/XWyOQMN",
"typeOfEmbed": "iframe",
"height": "300px",
"width": "100%",
"iframe": true,
"provider": "codepen.io"
}
[/block]
### Parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,18 @@ The `eth_getUncleCountByBlockHash` method is an Haqq JSON-RPC method that return

Uncles are blocks that are not included in the main blockchain but are still valid, and they contribute to the overall security and decentralization of the Haqq network. The inclusion of uncles helps prevent centralization and ensures the mining process remains competitive.

{% embed url="<https://codepen.io/Jan-Musil-the-lessful/pen/xxQMNxz?editors=1111"> %}
[block:embed]
{
"html": false,
"url": "https://codepen.io/Jan-Musil-the-lessful/pen/xxQMNxz?editors=1111",
"href": "https://codepen.io/Jan-Musil-the-lessful/pen/xxQMNxz?editors=1111",
"typeOfEmbed": "iframe",
"height": "300px",
"width": "100%",
"iframe": true,
"provider": "codepen.io"
}
[/block]

### Parameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,18 @@ The `eth_getUncleCountByBlockHash` method is an Haqq JSON-RPC method that return

Uncles are blocks that are not included in the main blockchain but are still valid, and they contribute to the overall security and decentralization of the Haqq network. The inclusion of uncles helps prevent centralization and ensures the mining process remains competitive.

{% embed url="<https://codepen.io/Lukas-Kotol/pen/wvQOGYg?editors=1111"> %}
[block:embed]
{
"html": false,
"url": "https://codepen.io/Lukas-Kotol/pen/wvQOGYg?editors=1111",
"href": "https://codepen.io/Lukas-Kotol/pen/wvQOGYg?editors=1111",
"typeOfEmbed": "iframe",
"height": "300px",
"width": "100%",
"iframe": true,
"provider": "codepen.io"
}
[/block]

### Parameters

Expand Down
Loading

0 comments on commit bce4e43

Please sign in to comment.