Expand description
Zebra supported RPC methods.
Based on the zcashd
RPC methods
as used by lightwalletd.
Some parts of the zcashd
RPC documentation are outdated.
So this implementation follows the zcashd
server and lightwalletd
client implementations.
Re-exports§
pub use get_block_template_rpcs::GetBlockTemplateRpc;
pub use get_block_template_rpcs::GetBlockTemplateRpcImpl;
Modules§
- errors 🔒Error conversions for Zebra’s RPC methods.
- RPC methods related to mining only available with
getblocktemplate-rpcs
rust feature. - Deserializes hex-encoded inputs such as the one required for the
submitblock
RPC method. - Types and functions for note commitment tree RPCs.
- Types used in RPC methods.
Structs§
- The transparent balance of a set of addresses.
- A wrapper type with a list of transparent address strings.
- A hex-encoded
ConsensusBranchId
string. - A struct to use as parameter of the
getaddresstxids
. - Response to a
getaddressutxos
RPC request. - Response to a
getblockchaininfo
RPC request. - Response to a
getbestblockhash
andgetblockhash
RPC request. - Verbose response to a
getblockheader
RPC request. - Response to a
getbestblockheightandhash
RPC request. - Information about the sapling and orchard note commitment trees if any.
- Response to a
getinfo
RPC request. - Information about
NetworkUpgrade
activation. - Orchard note commitment tree information.
- RPC method implementations.
- Sapling note commitment tree information.
- Response to a
sendrawtransaction
RPC request. - The
ConsensusBranchId
s for the tip and the next block.
Enums§
- Response to a
getblock
RPC request. - Response to a
getblockheader
RPC request. - Response to a
getrawtransaction
RPC request. - The activation status of a
NetworkUpgrade
.
Traits§
- RPC method signatures.
Functions§
- Returns the best chain tip height of
latest_chain_tip
, or an RPC error if there are no blocks in the state. - Check if provided height range is valid for address indexes.
- Given a potentially negative index, find the corresponding
Height
.