Skip to main content

Module sdk

Module sdk 

Source
Expand description

Sdk entrypoint to Dash Platform.

Structs§

Address
DAPI address.
AddressBanInfo
An owned, cloned snapshot of a single address’ ban state, returned from crate::AddressList::ban_info.
AddressList
A structure to manage DAPI addresses to select from for DapiRequest execution.
RequestSettings
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.

Functions§

prettify_proof