1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Response types for REST endpoints that aren't in
//! [`bitcoincore_rpc_json`].

use bitcoin::Txid;
use serde::{Deserialize, Serialize};

pub mod deployment_info;
pub mod get_utxos;

/// Response from `get_mempool_txids_and_sequence`
#[derive(Clone, PartialEq, Eq, Debug, Deserialize, Serialize)]
pub struct GetMempoolTxidsAndSequenceResult {
    pub txids: Vec<Txid>,
    pub mempool_sequence: u64,
}