1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//! Platform DAPI requests.

// TODO: dash-platform-sdk should define a proper user-facing API hiding transport and serialization
// details, however we don't have any data model yet, so for now it will re-export proto
// generated types. Later these re-exports could be swapped with actual dash-platform-sdk's requests
// and while it will change the substance, the API structure will remain the same.

pub mod block_info_from_metadata;
mod delegate;
mod document_query;
mod fetch;
pub mod fetch_current_no_parameters;
mod fetch_many;
mod identities_contract_keys_query;
mod query;
pub mod transition;
pub mod types;

pub use dapi_grpc::platform::v0::{self as proto};
pub use dpp::{
    self as dpp,
    document::Document,
    prelude::{DataContract, Identifier, Identity, IdentityPublicKey, Revision},
};
pub use drive::query::DriveDocumentQuery;
pub use drive_proof_verifier::ContextProvider;
#[cfg(feature = "mocks")]
pub use drive_proof_verifier::MockContextProvider;
pub use rs_dapi_client as dapi;
pub use {
    document_query::DocumentQuery,
    fetch::Fetch,
    fetch_many::FetchMany,
    query::{LimitQuery, Query, QueryStartInfo, DEFAULT_EPOCH_QUERY_LIMIT},
};