📘See the Litecoin RPC API connection guide.
| Method | Notes | Compute Unit Value |
|---|
getbestblockhash | Returns the hash of the best block in the active chain. | 1 |
getblock | Returns a block identified by hash, with detail controlled by the verbosity parameter. | 5 |
getblockchaininfo | Returns the node's current blockchain-processing state. | 1 |
getblockcount | Returns the height of the active chain. | 1 |
getblockfilter | Returns the compact block filter and its header for a block hash. | 5 |
getblockhash | Returns the block hash at a specified height. | 1 |
getblockheader | Returns the header for a block hash. | 5 |
getblockstats | Returns calculated statistics for a specified block. | 50 |
getchaintips | Returns information about known blockchain tips. | 50 |
getchaintxstats | Returns transaction-count and rate statistics for a block range. | 5 |
getdifficulty | Returns the current proof-of-work difficulty. | 1 |
getmempoolancestors | Returns the in-mempool ancestors of a transaction. | 5 |
getmempooldescendants | Returns the in-mempool descendants of a transaction. | 5 |
getmempoolentry | Returns metadata for a transaction in the mempool. | 5 |
getmempoolinfo | Returns aggregate mempool information. | 5 |
getnetworkhashps | Estimates the network hash rate over a requested block interval. | 1 |
getrawmempool | Returns transaction IDs or detailed entries from the mempool. | 10 |
gettxout | Returns information about an unspent transaction output. | 5 |
gettxoutproof | Returns a serialized proof that transactions are included in a block. | 10 |
gettxoutsetinfo | Returns statistics about the current unspent-output set. | 100 |
| Method | Notes | Compute Unit Value |
|---|
createrawtransaction | Creates an unsigned serialized transaction from supplied inputs and outputs. | 10 |
decoderawtransaction | Decodes a serialized transaction without broadcasting it. | 10 |
decodescript | Decodes a hexadecimal script into a JSON description. | 10 |
getrawtransaction | Returns a raw transaction by transaction ID. | 10 |
sendrawtransaction | Submits a serialized transaction to the network. | 100 |
testmempoolaccept | Tests whether raw transactions would be accepted into the mempool without submitting them. | 5 |
| Method | Notes | Compute Unit Value |
|---|
estimatefee | Returns an estimated fee rate for confirmation within a target number of blocks. | 50 |
estimatesmartfee | Returns a smart fee-rate estimate for a target confirmation time. | 50 |
validateaddress | Returns validation and metadata information for an address. | 1 |
verifymessage | Verifies that a message signature was produced by an address. | 1 |