Expand description
Server-agnostic wire types and business representations for the xand-api-client.
This module does not take any dependencies on any runtime specifics.
If you are a caller of xand-api
(IE: Some external service like the trustee or member–api),
you should depend exclusively on the xand-api-client
package, which re-exports the things you will
need from this module.
Re-exports§
pub use cidr_block::CidrBlock;
pub use cidr_block::CidrBlockParseErr;
pub use errors::EncryptionError;
pub use public_key::PublicKey;
Modules§
- cidr_
block - errors
- public_
key - serde_
hex - Serialization of a byte sequence to an hexadecimal string
Structs§
- AddAuthority
Key - Allowlist
Cidr Block - Bank
Account Id - Blockstamp
- Cash
Confirmation - Conversion
Failure - Correlation
Id - An id for correlating a create/redeem request. Exactly 16 bytes.
- Create
Cancellation - Encryption
Key - A Encryption key representing the public portion of some private key, and hence a (potential) sender or receiver of encrypted messages.
- Exit
Member - GetValidator
Emission Progress - Health
Response - Pending
Create Request - Pending
Redeem Request - Proposal
- Redeem
Cancellation - Redeem
Fulfillment - Register
Account AsMember - Register
Session Keys - Remove
Allowlist Cidr Block - Remove
Authority Key - Remove
Member - Root
Allowlist Cidr Block - Root
Remove Allowlist Cidr Block - Runtime
Upgrade - Send
- SetLimited
Agent Id - SetMember
EncKey - SetPending
Create Request Expire - SetTrust
EncKey - SetTrust
Node Id - SetValidator
Emission Rate - Submit
Proposal - Total
Issuance - Transaction
- Transaction
Filter - Transaction
Id - Validator
Emission Progress - Validator
Emission Rate - Vote
Proposal - Withdraw
From Network
Enums§
- Administrative
Transaction - Bank
Account Conversion Err - Bank
Account Info - Some bank account information associated with create and redeem requests. Depending on where in their lifecycle they are, the information may or may not be encrypted yet.
- Correlation
IdError - Create
Cancellation Reason - Create
Request Completion - Encryption
KeyError - Health
Status - Proposal
Stage - Represents the stage of a proposal. Proposals can only ever change stage once, from
Proposed
to another stage. All other stages are final, and any subsequent changes should be considered a bug. - Redeem
Cancellation Reason - Redeem
Request Completion - Transaction
IdError - Transaction
Status - A chain-implementation agnostic representation of the status of a transaction/extrinsic/whatever that a client has submitted (or tried to submit) to the network.
- Transaction
Type - Auto-generated discriminant enum variants
- Xand
Transaction - Chain-agnostic versions of all of our transaction types wrapped up in an enum
Constants§
- DEFAULT_
PAGE_ SIZE - Default page size for paginated results.