Re-exports§
pub use arch_program;
Macros§
- saturating_
add_ assign - Convenience macro for
AddAssign
with saturating arithmetic. Replace bystd::num::Saturating
once stable
Structs§
- Account
Info - Account
Info With Pubkey - Account
Update Event - Information about an account update
- Arch
RpcClient - ArchRpcClient provides a simple interface for making RPC calls to the Arch blockchain
- Async
Arch RpcClient - AsyncArchRpcClient provides a simple interface for making asynchronous RPC calls to the Arch blockchain
- Bitcoin
Helper - Helper struct for Bitcoin operations
- Block
- Block
Event - Information about a new block
- Config
- DKGEvent
- Information about a DKG event
- Event
Filter - A filter specification for events
- Full
Block - Processed
Transaction - Program
Account - Program
Deployer - Program deployment service
- Reapplied
Transactions Event - Transactions that were reapplied
- Rolledback
Transactions Event - Transactions that were rolled back
- Runtime
Transaction - Signature
- Subscription
Error Response - Error
- Subscription
Request - Subscription
Response - Response to a subscription request
- Transaction
Event - Information about a transaction
- Transaction
ToSign - Unsubscribe
Request - Unsubscribe
Response - Response to an unsubscribe request
- WebSocket
Client - A client for the WebSocket API
Enums§
- Account
Filter - Arch
Error - Backoff
Strategy - Backoff strategy for reconnection attempts
- Block
Parse Error - Block
Transaction Filter - Event
- The main Event enum that represents all possible events in the system
- Event
Topic - Parse
Processed Transaction Error - Program
Deployer Error - Error type for program deployment operations
- Rollback
Status - Runtime
Transaction Error - Status
- Subscription
Status - WebSocket
Error - Error types for the WebSocket client
- WebSocket
Message - Represents all possible types of WebSocket messages that can be received
- WebSocket
Request
Constants§
- ALLOWED_
VERSIONS - Allowed versions for RuntimeTransaction
- MAX_
TRANSACTIONS_ PER_ BLOCK - NOT_
FOUND_ CODE - RUNTIME_
TX_ SIZE_ LIMIT
Functions§
- build_
and_ sign_ transaction - Sign and send a transaction
- extend_
bytes_ max_ len - Returns the remaining space in an account’s data storage
- generate_
new_ keypair - Generates an untweaked keypair, and provides it’s pubkey and BTC address corresponding to the currently used BTC Network
- get_
state - sign_
message_ bip322 - Signs a message following the BIP 322 Standard : https://github.com/bitcoin/bips/blob/master/bip-0322.mediawiki
- verify_
message_ bip322 - Verifies a BIP 322 signature for a particular message https://github.com/bitcoin/bips/blob/master/bip-0322.mediawiki
- with_
secret_ key_ file
Type Aliases§
- Async
Event Callback - Asynchronous event handler that can perform async operations
- Connection
Callback - Connection status change handler
- Event
Callback - Event handler that receives events from subscriptions
- Result