diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin.md b/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin.md deleted file mode 100644 index 2c1a5006..00000000 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: "Litecoin" -slug: "rpc-litecoin" -excerpt: "" -hidden: false -createdAt: "Wed Mar 06 2024 10:39:28 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 12:59:43 GMT+0000 (Coordinated Universal Time)" ---- diff --git a/v1.0/RPC Nodes/rpc-utxo/zcash.md b/v1.0/RPC Nodes/rpc-utxo/zcash.md new file mode 100644 index 00000000..3465a734 --- /dev/null +++ b/v1.0/RPC Nodes/rpc-utxo/zcash.md @@ -0,0 +1,8 @@ +--- +title: "Zcash" +slug: "zcash" +excerpt: "" +hidden: false +createdAt: "Sat Apr 06 2024 07:33:40 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 12:59:42 GMT+0000 (Coordinated Universal Time)" +--- diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-createrawtransaction.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-createrawtransaction.md similarity index 85% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-createrawtransaction.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-createrawtransaction.md index 12a81577..e2183289 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-createrawtransaction.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-createrawtransaction.md @@ -1,15 +1,15 @@ --- title: "createrawtransaction" -slug: "rpc-litecoin-createrawtransaction" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-createrawtransaction" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 13:09:04 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 13:09:06 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 13:09:04 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.createRawTransaction([ { @@ -50,9 +50,7 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs ### Overview -The `createrawtransaction` RPC method creates an unsigned raw transaction that spends a set of previous transaction outputs to a set of new addresses with specific amounts. The method can be used to create custom transactions, which can then be signed and broadcast to the Litecoin network. - -{% embed url=" %} +The `createrawtransaction` RPC method creates an unsigned raw transaction that spends a set of previous transaction outputs to a set of new addresses with specific amounts. The method can be used to create custom transactions, which can then be signed and broadcasted to the network. ### Parameters @@ -60,7 +58,7 @@ The `createrawtransaction` RPC method creates an unsigned raw transaction that s - `txid`: (string, required) The transaction ID of the previous transaction output to spend. - `vout`: (numeric, required) The index of the output to spend from the previous transaction. - `sequence`: (numeric, optional) default=depends on the value of the 'replaceable' and 'locktime' arguments) The sequence number -- `outputs`: (object, required) An object with the key-value pairs representing the receiving address and the amount to be sent (in BTC). +- `outputs`: (object, required) An object with the key-value pairs representing the receiving address and the amount to be sent. - `locktime`: (numeric, optional, default=0) The lock time for the transaction. It can be used to specify the earliest time or block height at which the transaction can be included in a block. - `replaceable`: (boolean, optional, default=false) **Marks this transaction as BIP125-replaceable.** Allows this transaction to be replaced by a transaction with higher fees. If provided, it is an error if explicit sequence numbers are incompatible. diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-decoderawtransaction.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-decoderawtransaction.md similarity index 88% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-decoderawtransaction.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-decoderawtransaction.md index 2beb281d..21445762 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-decoderawtransaction.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-decoderawtransaction.md @@ -1,15 +1,15 @@ --- title: "decoderawtransaction" -slug: "rpc-litecoin-decoderawtransaction" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-decoderawtransaction" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 13:09:06 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 13:09:05 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 13:09:06 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.decodeRawTransaction("02000000013412cdab3412cdab3412cdab3412cdab3412cdab3412cdab3412cdab3412cdab0000000000fdffffff0140420f00000000001976a91462e907b15cbf27d5425399ebf6f0fb50ebb88f1888ac00000000") @@ -42,9 +42,7 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs ### Overview -The `decoderawtransaction` RPC method decodes a serialized (hex-encoded) raw transaction and displays its information in a human-readable format. This method is useful for inspecting raw transactions before broadcasting them to the Litecoin network or for debugging purposes. - -{% embed url=" %} +The `decoderawtransaction` RPC method decodes a serialized (hex-encoded) raw transaction and displays its information in a human-readable format. This method is useful for inspecting raw transactions before broadcasting them to the network or for debugging purposes. ### Parameters @@ -76,7 +74,7 @@ An object containing the decoded raw transaction information: - `hex`: (string) The hex-encoded script. - `reqSigs`: (numeric) The required number of signatures. - `type`: (string) The type of the script (e.g., 'pubkeyhash'). - - `addresses`: (array) An array of Litecoin addresses associated with the output. + - `addresses`: (array) An array of addresses associated with the output. ### JSON Examples diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-decodescript.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-decodescript.md similarity index 84% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-decodescript.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-decodescript.md index 5554ab9f..752e289a 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-decodescript.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-decodescript.md @@ -1,15 +1,15 @@ --- title: "decodescript" -slug: "rpc-litecoin-decodescript" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-decodescript" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 13:09:06 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 12:59:48 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 13:09:06 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.decodeScript("3044022070cc08500b2203b6ebe7c8285295bc1914a9d252504416e1cde4de4a7dc6c3c8022079af2be6db34efcf147e86a4cbf61cf9995106e5b5e95270d47c40b082052c8501") @@ -44,8 +44,6 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs The `decodescript` RPC method decodes a serialized (hex-encoded) script and provides information about the script in a human-readable format. This method is useful for inspecting scripts for debugging purposes or for understanding their structure. -{% embed url=" %} - ### Parameters - `hex_string`: (string, required) The serialized script in hex format. @@ -58,7 +56,7 @@ An object containing the decoded script information: - `hex`: (string) The hex-encoded script. - `type`: (string) The type of the script (e.g., 'pubkeyhash', 'multisig'). - `reqSigs`: (numeric, optional) The required number of signatures if the script is a multisig script. -- `addresses`: (array, optional) An array of Litecoin addresses associated with the script if applicable. +- `addresses`: (array, optional) An array of addresses associated with the script if applicable. - `p2sh`: (string, optional) The P2SH address for this script if applicable. ### JSON Examples diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-estimatesmartfee.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-estimatesmartfee.md similarity index 77% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-estimatesmartfee.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-estimatesmartfee.md index e0f5e4fb..e0bd35ca 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-estimatesmartfee.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-estimatesmartfee.md @@ -1,15 +1,15 @@ --- title: "estimatesmartfee" -slug: "rpc-litecoin-estimatesmartfee" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-estimatesmartfee" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 13:09:05 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 13:09:06 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 13:09:05 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.estimateSmartFee(20) @@ -42,12 +42,10 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs ### Overview -The `estimatesmartfee` method provides an estimated fee rate (in BTC/kB) for a transaction to be confirmed within a certain number of blocks. The estimation is based on recent transactions in the Litecoin network. +The `estimatesmartfee` method provides an estimated fee rate for a transaction to be confirmed within a certain number of blocks. The estimation is based on recent transactions in the network. This method can be useful for users or applications trying to decide on an appropriate fee for their transactions, based on the desired confirmation speed. -{% embed url=" %} - ### Parameters The `estimatesmartfee` method accepts the following parameters: diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getbestblockhash.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getbestblockhash.md similarity index 68% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getbestblockhash.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getbestblockhash.md index 8cf5d824..429c62ca 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getbestblockhash.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getbestblockhash.md @@ -1,15 +1,15 @@ --- title: "getbestblockhash" -slug: "rpc-litecoin-getbestblockhash" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-getbestblockhash" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 13:09:06 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 12:59:44 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 13:09:06 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.getBestBlockHash() @@ -42,9 +42,7 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs ### Overview -`getbestblockhash` is a Litecoin RPC method that returns the hash of the best (tip) block in the longest blockchain. This method is useful for obtaining the latest block hash, which can be used to fetch block details or confirmations for transactions. - -{% embed url=" %} +`getbestblockhash` is a method that returns the hash of the best (tip) block in the longest blockchain. This method is useful for obtaining the latest block hash, which can be used to fetch block details or confirmations for transactions. ### Parameters diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getblock.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getblock.md similarity index 84% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getblock.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getblock.md index 38ba3134..7f3234d9 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getblock.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getblock.md @@ -1,15 +1,15 @@ --- title: "getblock" -slug: "rpc-litecoin-getblock" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-getblock" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 13:09:07 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 12:59:41 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 13:09:07 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.getBlock('000000000000000000013d0a85b72c591500abe074a7f9175c596a194f67b82d') @@ -42,9 +42,7 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs ### Overview -`getblock` is a Litecoin RPC method that returns information about a specified block. This method is useful for obtaining block details such as the hash, height, transactions, and other metadata. It can be used for various purposes, including validating transactions, monitoring the blockchain, and analyzing the network. - -{% embed url=" %} +`getblock` is a method that returns information about a specified block. This method is useful for obtaining block details such as the hash, height, transactions, and other metadata. It can be used for various purposes, including validating transactions, monitoring the blockchain, and analyzing the network. ### Parameters diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getblockchaininfo.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getblockchaininfo.md similarity index 78% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getblockchaininfo.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getblockchaininfo.md index 1584cc71..55148e44 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getblockchaininfo.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getblockchaininfo.md @@ -1,15 +1,15 @@ --- title: "getblockchaininfo" -slug: "rpc-litecoin-getblockchaininfo" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-getblockchaininfo" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 13:09:03 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 12:59:44 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 13:09:03 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.getBlockChainInfo() @@ -42,9 +42,7 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs ### Overview -`getblockchaininfo` is a Litecoin RPC method that provides general information about the current state of the blockchain. This method is useful for obtaining an overview of the blockchain, including the best block hash, chain height, difficulty, and network protocol version. It can be used for various purposes, such as monitoring the blockchain, tracking network upgrades, and assessing the current mining difficulty. - -{% embed url=" %} +`getblockchaininfo` is a method that provides general information about the current state of the blockchain. This method is useful for obtaining an overview of the blockchain, including the best block hash, chain height, difficulty, and network protocol version. It can be used for various purposes, such as monitoring the blockchain, tracking network upgrades, and assessing the current mining difficulty. ### Parameters diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getblockcount.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getblockcount.md similarity index 65% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getblockcount.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getblockcount.md index c4f9eb67..e7dcd1a5 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getblockcount.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getblockcount.md @@ -1,12 +1,12 @@ --- title: "getblockcount" -slug: "rpc-litecoin-getblockcount" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-getblockcount" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" updatedAt: "Sat Apr 06 2024 13:09:06 GMT+0000 (Coordinated Universal Time)" @@ -25,11 +25,11 @@ updatedAt: "Sat Apr 06 2024 13:09:06 GMT+0000 (Coordinated Universal Time)" {% code overflow="wrap" lineNumbers="true" %} ```typescript -// yarn add @@tatumio/tatum +// yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.getBlockCount() @@ -42,9 +42,7 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs ### Overview -`getblockcount` is a Litecoin RPC method that returns the number of blocks in the local best blockchain. This method is useful for obtaining the current height of the blockchain, which can be used for various purposes, such as monitoring the blockchain, determining the number of confirmations for a transaction, or assessing the progress of the blockchain's growth. - -{% embed url=" %} +`getblockcount` is a method that returns the number of blocks in the local best blockchain. This method is useful for obtaining the current height of the blockchain, which can be used for various purposes, such as monitoring the blockchain, determining the number of confirmations for a transaction, or assessing the progress of the blockchain's growth. ### Parameters diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getblockhash.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getblockhash.md similarity index 67% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getblockhash.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getblockhash.md index 9e047a82..df6f425f 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getblockhash.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getblockhash.md @@ -1,15 +1,15 @@ --- title: "getblockhash" -slug: "rpc-litecoin-getblockhash" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-getblockhash" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 13:09:05 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 13:09:07 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 13:09:05 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.getBlockHash(587123) @@ -42,9 +42,7 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs ### Overview -`getblockhash` is a Litecoin RPC method that returns the block hash for a specified block height in the local best blockchain. This method is useful for obtaining the hash of a specific block, which can then be used to query for more detailed information about that block using other RPC methods, such as `getblock`. - -{% embed url=" %} +`getblockhash` is a method that returns the block hash for a specified block height in the local best blockchain. This method is useful for obtaining the hash of a specific block, which can then be used to query for more detailed information about that block using other RPC methods, such as `getblock`. ### Parameters diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getblockheader.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getblockheader.md similarity index 83% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getblockheader.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getblockheader.md index 01947fd7..38719159 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getblockheader.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getblockheader.md @@ -1,15 +1,15 @@ --- title: "getblockheader" -slug: "rpc-litecoin-getblockheader" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-getblockheader" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 13:09:04 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 13:09:06 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 13:09:04 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.getBlockHeader("0000000000000000001b4fedbfb3672963c37f965686c2bf6350e32e77f9941f", true) @@ -42,9 +42,7 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs ### Overview -`getblockheader` is a Litecoin RPC method that returns information about a specified block header. This method is useful for obtaining a high-level view of a specific block, including its hash, previous block hash, merkle root, timestamp, difficulty target, and nonce, without having to fetch the entire block's contents. - -{% embed url=" %} +`getblockheader` is a method that returns information about a specified block header. This method is useful for obtaining a high-level view of a specific block, including its hash, previous block hash, merkle root, timestamp, difficulty target, and nonce, without having to fetch the entire block's contents. ### Parameters diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getblockstats.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getblockstats.md similarity index 83% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getblockstats.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getblockstats.md index cdef33f9..befd6ed6 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getblockstats.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getblockstats.md @@ -1,15 +1,15 @@ --- title: "getblockstats" -slug: "rpc-litecoin-getblockstats" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-getblockstats" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 13:09:06 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 13:09:03 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,11 +27,11 @@ updatedAt: "Sat Apr 06 2024 13:09:06 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) -const result = await tatum.rpc.getBlockStats("614c1c4c6336a2ac9aba7b3c91f21fc89b974a38f7844a230accb2165e61a128") +const result = await tatum.rpc.getBlockStats("0000000000000000001b4fedbfb3672963c37f965686c2bf6350e32e77f9941f") await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs ``` @@ -42,9 +42,7 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs ### Overview -`getblockstats` is a Litecoin RPC method that returns various statistics about a specified block. This method is useful for obtaining detailed information about a block, including the number of transactions, transaction volume, fees, and other related data. The results can be used for data analysis, monitoring, and understanding the state of the Litecoin network at a specific block height. - -{% embed url=" %} +`getblockstats` is a method that returns various statistics about a specified block. This method is useful for obtaining detailed information about a block, including the number of transactions, transaction volume, fees, and other related data. The results can be used for data analysis, monitoring, and understanding the state of the network at a specific block height. ### Parameters diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getchaintips.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getchaintips.md similarity index 91% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getchaintips.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getchaintips.md index 6676157d..e7b7a26e 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getchaintips.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getchaintips.md @@ -1,15 +1,15 @@ --- title: "getchaintips" -slug: "rpc-litecoin-getchaintips" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-getchaintips" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 13:09:02 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 13:09:07 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 13:09:02 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatums' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.getChainTips() @@ -42,9 +42,7 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs ### Overview -`getchaintips` is a Litecoin RPC method that returns information about all known tips in the block tree. This method is useful for identifying and analyzing potential forks or alternative chains in the Litecoin network. It can be used to monitor the health and status of the network or to investigate discrepancies in blockchain data. - -{% embed url=" %} +`getchaintips` is a method that returns information about all known tips in the block tree. This method is useful for identifying and analyzing potential forks or alternative chains in the network. It can be used to monitor the health and status of the network or to investigate discrepancies in blockchain data. ### Parameters diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getdifficulty.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getdifficulty.md similarity index 66% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getdifficulty.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getdifficulty.md index 8e20658f..8a57acdd 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getdifficulty.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getdifficulty.md @@ -1,12 +1,12 @@ --- title: "getdifficulty" -slug: "rpc-litecoin-getdifficulty" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-getdifficulty" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" updatedAt: "Sat Apr 06 2024 13:09:06 GMT+0000 (Coordinated Universal Time)" @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 13:09:06 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.getDifficulty() @@ -42,9 +42,7 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs ### Overview -`getdifficulty` is a Litecoin RPC method that returns the current mining difficulty. The mining difficulty is a measure of how difficult it is to find a new block compared to the easiest it can ever be. This method can be used to monitor the mining difficulty, which adjusts every 2016 blocks to maintain a consistent block creation rate of approximately 10 minutes per block. - -{% embed url=" %} +`getdifficulty` is a method that returns the current mining difficulty. The mining difficulty is a measure of how difficult it is to find a new block compared to the easiest it can ever be. This method can be used to monitor the mining difficulty, which adjusts every 2016 blocks to maintain a consistent block creation rate of approximately 10 minutes per block. ### Parameters diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getmempoolancestors.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getmempoolancestors.md similarity index 75% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getmempoolancestors.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getmempoolancestors.md index eb7ee995..257bd983 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getmempoolancestors.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getmempoolancestors.md @@ -1,15 +1,15 @@ --- title: "getmempoolancestors" -slug: "rpc-litecoin-getmempoolancestors" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-getmempoolancestors" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 13:09:06 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 13:09:05 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 13:09:06 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.getMempoolAncestors("3b3c3bc559deddb0991e1fe9fb6d9f10c1c4a0dab4a18c12e8566b37ad4f06e4") @@ -42,7 +42,7 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs ### Overview -`getmempoolancestors` is a Litecoin RPC method that returns information about the ancestors of a transaction in the memory pool. This method can be used to analyze the dependency relationships between unconfirmed transactions and to investigate potential transaction issues, such as chains of unconfirmed transactions or transactions that depend on others with a low fee. +`getmempoolancestors` is a method that returns information about the ancestors of a transaction in the memory pool. This method can be used to analyze the dependency relationships between unconfirmed transactions and to investigate potential transaction issues, such as chains of unconfirmed transactions or transactions that depend on others with a low fee. ### Parameters diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getmempooldescendants.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getmempooldescendants.md similarity index 88% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getmempooldescendants.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getmempooldescendants.md index acfdff96..896a1c20 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getmempooldescendants.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getmempooldescendants.md @@ -1,15 +1,15 @@ --- title: "getmempooldescendants" -slug: "rpc-litecoin-getmempooldescendants" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-getmempooldescendants" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 13:09:05 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 13:09:03 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 13:09:05 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.getMempoolDescendants("3b3c3bc559deddb0991e1fe9fb6d9f10c1c4a0dab4a18c12e8566b37ad4f06e4") diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getmempoolentry.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getmempoolentry.md similarity index 91% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getmempoolentry.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getmempoolentry.md index 23a7a3ea..493de510 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getmempoolentry.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getmempoolentry.md @@ -1,15 +1,15 @@ --- title: "getmempoolentry" -slug: "rpc-litecoin-getmempoolentry" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-getmempoolentry" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 13:09:03 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 13:09:05 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 13:09:03 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.getMempoolEntry("c7ad51e46a39d136adc2bb7536a236136cc206ab3c8dabcd4277d4cadcf674f2") diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getmempoolinfo.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getmempoolinfo.md similarity index 78% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getmempoolinfo.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getmempoolinfo.md index c19fa3ae..33f65b42 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getmempoolinfo.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getmempoolinfo.md @@ -1,15 +1,15 @@ --- title: "getmempoolinfo" -slug: "rpc-litecoin-getmempoolinfo" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-getmempoolinfo" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 12:59:43 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 13:09:04 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 12:59:43 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.getMempoolInfo() @@ -44,8 +44,6 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs The `getmempoolinfo` RPC method allows you to retrieve general information about the current memory pool. This method is useful for monitoring the state of the memory pool, such as its size, the total transaction fees, and the minimum fee rate required for transactions to be included in the next block. -{% embed url=" %} - ### Parameters This method does not require any parameters. @@ -60,8 +58,8 @@ The return object will be an object containing general information about the cur - `bytes`: (numeric) The total size of all transactions in the memory pool, in bytes. - `usage`: (numeric) The total memory usage of the memory pool, in bytes. - `maxmempool`: (numeric) The maximum memory usage of the memory pool, in bytes. -- `mempoolminfee`: (numeric) The minimum fee rate (in BTC/kB) required for transactions to be included in the memory pool. -- `minrelaytxfee`: (numeric) The minimum fee rate (in BTC/kB) required for transactions to be relayed across the network. +- `mempoolminfee`: (numeric) The minimum fee rate required for transactions to be included in the memory pool. +- `minrelaytxfee`: (numeric) The minimum fee rate required for transactions to be relayed across the network. ### JSON Examples diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getrawmempool.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getrawmempool.md similarity index 92% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getrawmempool.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getrawmempool.md index 750722de..536fdf49 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getrawmempool.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getrawmempool.md @@ -1,15 +1,15 @@ --- title: "getrawmempool" -slug: "rpc-litecoin-getrawmempool" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-getrawmempool" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 12:59:44 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 13:09:02 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 12:59:44 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.getRawMemPool(true) diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getrawtransaction.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getrawtransaction.md similarity index 89% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getrawtransaction.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getrawtransaction.md index 51c0f53e..c1dbbd4a 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-getrawtransaction.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-getrawtransaction.md @@ -1,15 +1,15 @@ --- title: "getrawtransaction" -slug: "rpc-litecoin-getrawtransaction" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-getrawtransaction" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 13:09:06 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 13:09:05 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 13:09:06 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.getRawTransaction("c7ad51e46a39d136adc2bb7536a236136cc206ab3c8dabcd4277d4cadcf674f2") @@ -44,8 +44,6 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs The `getrawtransaction` RPC method retrieves a raw transaction from the blockchain or mempool. It returns the serialized (hex-encoded) transaction data. This method can be used to inspect a transaction's content before it's included in a block or to decode the transaction for further analysis. -{% embed url=" %} - ### Parameters - `txid`: (string, required) The transaction ID of the transaction to fetch. @@ -63,19 +61,19 @@ If `verbose` is `false`, the method returns a hex-encoded string representing th - `weight`: (numeric) The transaction's weight. - `locktime`: (numeric) The transaction locktime. - `vin`: (array) The transaction inputs. Each object within the array has the following properties: - 1. `txid`: A string representing the transaction ID of the output being spent. This refers to the transaction where the LTC being spent in the current transaction was received. + 1. `txid`: A string representing the transaction ID of the output being spent. This refers to the transaction where the amount being spent in the current transaction was received. 2. `vout`: An integer representing the index of the output in the transaction specified by `txid`. This is the position of the output in that transaction's `vout` array. - 3. `scriptSig`: An object containing two fields, `asm` and `hex`, which represents the unlocking script that satisfies the conditions of the spent output's locking script. `asm` contains the assembly representation of the script while `hex` containing the hexadecimal representation. + 3. `scriptSig`: An object containing two fields, `asm` and `hex`, which represent the unlocking script that satisfies the conditions of the spent output's locking script. `asm` contains the assembly representation of the script, while `hex` contains the hexadecimal representation. 4. `sequence`: A number representing the sequence number of the input. It can be used to signal relative locktime constraints on the transaction. - `vout`: (array) The transaction outputs. Each object within the array has the following properties: - 1. `value`: A decimal number representing the amount of litecoin being sent to the output's address. This value is expressed in litecoins (LTC). + 1. `value`: A decimal number representing the amount of amount being sent to the output's address. 2. `n`: An integer representing the index of the output in the transaction's `vout` array. 3. `scriptPubKey`: An object containing information about the locking script used to lock the output. The object has the following fields: - `asm`: The assembly representation of the locking script. - `hex`: The hexadecimal representation of the locking script. - `reqSigs`: The number of required signatures to unlock the output (relevant for multisig addresses). - `type`: The type of the locking script (e.g., 'pubkeyhash', 'scripthash', 'multisig', etc.). - - `addresses`: An array of Litecoin addresses associated with the output. + - `addresses`: An array of addresses associated with the output. - `hex`: (string) The serialized transaction data in hex format. - `blockhash`: (string, optional) The block hash containing the transaction. - `confirmations`: (numeric, optional) The number of confirmations the transaction has. diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-gettxout.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-gettxout.md similarity index 87% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-gettxout.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-gettxout.md index 8f56c12d..c7b87387 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-gettxout.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-gettxout.md @@ -1,15 +1,15 @@ --- title: "gettxout" -slug: "rpc-litecoin-gettxout" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-gettxout" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 12:59:41 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 13:09:06 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 12:59:41 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.getTxOut("c7ad51e46a39d136adc2bb7536a236136cc206ab3c8dabcd4277d4cadcf674f2", 1) @@ -44,8 +44,6 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs The `gettxout` RPC method returns details about an unspent transaction output (UTXO). This method can be used to check if a specific transaction output is still unspent and obtain its details such as the value and scriptPubKey. -{% embed url=" %} - ### Parameters - `txid` (string, required): The transaction ID of the output. @@ -69,7 +67,7 @@ The return object contains the following fields: - `asm`: (string) The assembly representation of the script. - `hex`: (string) The hex representation of the script. - `type`: (string) The type of the script (e.g., `pubkeyhash`, `scripthash`). - - `addresses`: (array) The Litecoin addresses associated with this output. + - `addresses`: (array) The addresses associated with this output. - `coinbase`: (boolean) Whether the transaction is a coinbase transaction. - `version`: (numeric) The transaction version. - `height`: (numeric) The height of the block containing this output. diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-gettxoutproof.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-gettxoutproof.md similarity index 89% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-gettxoutproof.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-gettxoutproof.md index 0fadc451..be430f62 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-gettxoutproof.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-gettxoutproof.md @@ -1,15 +1,15 @@ --- title: "gettxoutproof" -slug: "rpc-litecoin-gettxoutproof" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-gettxoutproof" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 12:59:43 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 13:09:04 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 12:59:43 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.getTxOutProof(["c7ad51e46a39d136adc2bb7536a236136cc206ab3c8dabcd4277d4cadcf674f2"], "00000000000000000004c6125026f00b76e7b762e645a0b0b7ecfa7a7dafdba2") @@ -44,8 +44,6 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs The `gettxoutproof` RPC method returns a hex-encoded proof that the specified transaction(s) were included in a block. This method can be used to provide proof of inclusion for one or more transactions in the blockchain. -{% embed url=" %} - ### Parameters - `txids` (array, required): An array of transaction IDs to create a proof for. diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-sendrawtransaction.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-sendrawtransaction.md similarity index 76% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-sendrawtransaction.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-sendrawtransaction.md index 9e2bbd3e..1cfdde63 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-sendrawtransaction.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-sendrawtransaction.md @@ -1,15 +1,15 @@ --- title: "sendrawtransaction" -slug: "rpc-litecoin-sendrawtransaction" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-sendrawtransaction" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 13:09:07 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 13:09:06 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 13:09:07 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.sendRawTransaction("02000000013412cdab3412cdab3412cdab3412cdab3412cdab3412cdab3412cdab3412cdab0000000000fdffffff0140420f00000000001976a91462e907b15cbf27d5425399ebf6f0fb50ebb88f1888ac00000000") @@ -42,9 +42,9 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs ### Overview -The `sendrawtransaction` method submits a serialized raw transaction to the Litecoin network. If the transaction is well-formed and valid, it will be propagated to the network and included in a mined block. +The `sendrawtransaction` method submits a serialized raw transaction to the network. If the transaction is well-formed and valid, it will be propagated to the network and included in a mined block. -This method is commonly used in conjunction with [`createrawtransaction`](../../bitcoin-rpc-documentation/transactions/createrawtransaction.md), or other methods to construct and sign raw transactions before broadcasting them. +This method is commonly used in conjunction with [`createrawtransaction`](createrawtransaction.md), or other methods to construct and sign raw transactions before broadcasting them. ### Parameters diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-validateaddress.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-validateaddress.md similarity index 74% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-validateaddress.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-validateaddress.md index 5d3bd71d..9bcab4ee 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-validateaddress.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-validateaddress.md @@ -1,15 +1,15 @@ --- title: "validateaddress" -slug: "rpc-litecoin-validateaddress" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-validateaddress" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 12:59:42 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 13:09:04 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 12:59:42 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.validateAddress("1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa") @@ -42,22 +42,20 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs ### Overview -`validateaddress` is an Litecoin RPC method that enables users to verify if a given Litecoin address is valid. This method provides important information about the address, such as its type and whether it's a spendable or watch-only address. It can be particularly useful in applications where address validation is necessary before performing transactions or when dealing with user-generated addresses to ensure their validity. - -{% embed url=" %} +`validateaddress` is a method that enables users to verify if a given address is valid. This method provides important information about the address, such as its type and whether it's a spendable or watch-only address. It can be particularly useful in applications where address validation is necessary before performing transactions or when dealing with user-generated addresses to ensure their validity. ### Parameters The `validateaddress` method accepts one required parameter: -- `address` (string, required): The Litecoin address to be validated. +- `address` (string, required): The address to be validated. ### Return Object The `validateaddress` method returns an object with the following fields: - `isvalid` (boolean): Indicates if the supplied address is valid. -- `address` (string): The validated Litecoin address. +- `address` (string): The validated address. - `scriptPubKey` (string): The hex-encoded scriptPubKey generated by the address. - `isscript` (boolean): Indicates if the address is a script address (P2SH). - `iswitness` (boolean): Indicates if the address is a witness address (P2WPKH or P2WSH). diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-verifymessage.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-verifymessage.md similarity index 73% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-verifymessage.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-verifymessage.md index 41d61e60..a78b9435 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-verifymessage.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-verifymessage.md @@ -1,12 +1,12 @@ --- title: "verifymessage" -slug: "rpc-litecoin-verifymessage" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-verifymessage" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" updatedAt: "Sat Apr 06 2024 13:09:05 GMT+0000 (Coordinated Universal Time)" @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 13:09:05 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.verifyMessage( "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa", "HxK7Mw0K6Uox7iGcOe9v9Ll+OZzG7TjTkeTJCD7VHw4yKP4O4a4gFtgm9XNmxfH1tK7JRgYrP/+20xP/ek8iQ2E=", "Hello, this is a signed message.") @@ -42,13 +42,13 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs ### Overview -`verifymessage` is an Litecoin RPC method that allows users to verify a signed message using a Litecoin address. This method can be used to confirm the authenticity of a message by verifying that the signature was created by the owner of the address, without revealing the private key. Use cases include proving ownership of an address, verifying the content of a message, or validating communications within a trustless system. +`verifymessage` is a method that allows users to verify a signed message using a address. This method can be used to confirm the authenticity of a message by verifying that the signature was created by the owner of the address, without revealing the private key. Use cases include proving ownership of an address, verifying the content of a message, or validating communications within a trustless system. ### Parameters The `verifymessage` method accepts three required parameters: -- `address` (string, required): The Litecoin address that supposedly signed the message. +- `address` (string, required): The address that supposedly signed the message. - `signature` (string, required): The base64-encoded signature of the message. - `message` (string, required): The message that was signed. diff --git a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-verifytxoutproof.md b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-verifytxoutproof.md similarity index 84% rename from v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-verifytxoutproof.md rename to v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-verifytxoutproof.md index 88766503..9667fedf 100644 --- a/v1.0/RPC Nodes/rpc-utxo/rpc-litecoin/rpc-litecoin-verifytxoutproof.md +++ b/v1.0/RPC Nodes/rpc-utxo/zcash/rpc-zcash-verifytxoutproof.md @@ -1,15 +1,15 @@ --- title: "verifytxoutproof" -slug: "rpc-litecoin-verifytxoutproof" -excerpt: "Litecoin RPC" +slug: "rpc-zcash-verifytxoutproof" +excerpt: "Zcash RPC" hidden: false metadata: - description: "Litecoin RPC" + description: "Zcash RPC" image: [] - keywords: "litecoin, rpc" + keywords: "zcash, rpc" robots: "index" createdAt: "Wed Mar 06 2024 10:35:44 GMT+0000 (Coordinated Universal Time)" -updatedAt: "Sat Apr 06 2024 12:59:44 GMT+0000 (Coordinated Universal Time)" +updatedAt: "Sat Apr 06 2024 13:09:05 GMT+0000 (Coordinated Universal Time)" --- [block:html] { @@ -27,9 +27,9 @@ updatedAt: "Sat Apr 06 2024 12:59:44 GMT+0000 (Coordinated Universal Time)" ```typescript // yarn add @tatumio/tatum -import { TatumSDK, Litecoin, Network } from '@tatumio/tatum' +import { TatumSDK, ZCash, Network } from '@tatumio/tatum' -const tatum = await TatumSDK.init({network: Network.LITECOIN}) +const tatum = await TatumSDK.init({network: Network.ZCASH}) const result = await tatum.rpc.verifyTxOutProof("") @@ -44,8 +44,6 @@ await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs The `verifytxoutproof` RPC method verifies the given transaction proof (in the form of a Merkle block) and returns an array of transaction hashes contained in the verified Merkle block. This method can be used to confirm that specific transactions are included in a block without having to download the entire block. -{% embed url=" %} - ### Parameters - `proof`: (string, required) The hex-encoded proof generated by the `gettxoutproof` RPC method.