mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-24 22:59:58 -07:00
server: moved params from brk_types
This commit is contained in:
10
crates/brk_server/src/params/addr_param.rs
Normal file
10
crates/brk_server/src/params/addr_param.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
use schemars::JsonSchema;
|
||||
use serde::Deserialize;
|
||||
|
||||
use brk_types::Addr;
|
||||
|
||||
#[derive(Deserialize, JsonSchema)]
|
||||
pub struct AddrParam {
|
||||
#[serde(rename = "address")]
|
||||
pub addr: Addr,
|
||||
}
|
||||
Reference in New Issue
Block a user