cryptoapis/models/list_unconfirmed_transactions_by_address_ribsl_script_sig.rs
1/*
2 * CryptoAPIs
3 *
4 * Crypto APIs is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more.
5 *
6 * The version of the OpenAPI document: 2021-03-20
7 * Contact: developers@cryptoapis.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11/// ListUnconfirmedTransactionsByAddressRibslScriptSig : Specifies the required signatures.
12
13
14
15#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
16pub struct ListUnconfirmedTransactionsByAddressRibslScriptSig {
17 /// The asm strands for assembly, which is the symbolic representation of the Bitcoin's Script language op-codes.
18 #[serde(rename = "asm")]
19 pub asm: String,
20 /// String array representation of the hex
21 #[serde(rename = "hex")]
22 pub hex: String,
23 /// Represents the script type of the reference transaction identifier.
24 #[serde(rename = "type")]
25 pub _type: String,
26}
27
28impl ListUnconfirmedTransactionsByAddressRibslScriptSig {
29 /// Specifies the required signatures.
30 pub fn new(asm: String, hex: String, _type: String) -> ListUnconfirmedTransactionsByAddressRibslScriptSig {
31 ListUnconfirmedTransactionsByAddressRibslScriptSig {
32 asm,
33 hex,
34 _type,
35 }
36 }
37}
38
39