Expand description
Sdk entrypoint to Dash Platform.
Structs§
- Address
- DAPI address.
- Address
BanInfo - An owned, cloned snapshot of a single address’ ban state, returned
from
crate::AddressList::ban_info. - Address
List - A structure to manage DAPI addresses to select from for DapiRequest execution.
- Protocol
Version Info - A local view of the authenticated network observation and this SDK’s version tables. This is informational: a newer network version does not disable operations.
- Request
Settings - DAPI request settings.
- Sdk
- Dash Platform SDK
- SdkBuilder
- Dash Platform SDK Builder, used to configure and
SdkBuilder::build()the Sdk. - Uri
- The URI component of a request.
Constants§
- DEFAULT_
CONTRACT_ CACHE_ SIZE - How many data contracts fit in the cache.
- DEFAULT_
QUORUM_ PUBLIC_ KEYS_ CACHE_ SIZE - How many quorum public keys fit in the cache.
- DEFAULT_
TOKEN_ CONFIG_ CACHE_ SIZE - How many token configs fit in the cache.
Traits§
- Proof
Response Metadata - Metadata needed to select the rules for interpreting a proved response. Reading it does not authenticate it or update the SDK’s stored version.
Functions§
- min_
protocol_ version - Per-network default seed used only when an unpinned SDK has no explicit initial version.
- prettify_
proof
Type Aliases§
- Protocol
Version Observer - Called with the new protocol version each time auto-detect ratchets it
upward. See
SdkBuilder::with_protocol_version_observer.