Re-exports§
pub use arch_program;
Modules§
- blocking
- Blocking (synchronous) API wrappers.
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
- Bitcoin
Helper - Block
- Block
Event - Information about a new block
- Config
- DKGEvent
- Information about a DKG event
- Event
Filter - A filter specification for events
- Full
Block - Inner
Instruction - Processed
Transaction - Program
Account - Program
Deployer - Reapplied
Transactions Event - Transactions that were reapplied
- Rolledback
Transactions Event - Transactions that were rolled back
- Runtime
Transaction - Signature
- Subscription
Error Response - Error response returned by the subscription server.
- Subscription
Request - Request payload for a single topic subscription.
- Subscription
Response - Response to a subscription request.
- Transaction
Event - Information about a transaction
- Transaction
ToSign - Unsubscribe
Request - Request payload used to unsubscribe an existing subscription.
- Unsubscribe
Response - Response to an unsubscribe request.
- WebSocket
Client - A client for the WebSocket API
Enums§
- Account
Filter - Arch
Error - BIP322
Signing Error Kind - 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 - Status returned by subscribe/unsubscribe operations.
- WebSocket
Error - Error types for the WebSocket client
- WebSocket
Message - Represents all possible types of WebSocket messages that can be received
- WebSocket
Request - Outbound WebSocket request sent to the validator subscription server.
Constants§
- ACCOUNT_
FUNDING_ AMOUNT - ALLOWED_
VERSIONS - Allowed versions for RuntimeTransaction
- CHECK_
PRE_ ANCHOR_ CONFLICT - GET_
ACCOUNT_ ADDRESS - GET_
BEST_ BLOCK_ HASH - GET_
BEST_ FINALIZED_ BLOCK_ HASH - GET_
BLOCK - GET_
BLOCK_ BY_ HEIGHT - GET_
BLOCK_ COUNT - GET_
BLOCK_ HASH - GET_
FULL_ BLOCK_ WITH_ TXIDS - GET_
MULTIPLE_ ACCOUNTS - GET_
PROCESSED_ TRANSACTION - GET_
PROGRAM_ ACCOUNTS - GET_
TRANSACTION_ STATUS - MAX_
LOG_ MESSAGES_ COUNT - MAX_
LOG_ MESSAGES_ LEN - MAX_
STATUS_ FAILED_ MESSAGE_ SIZE - MAX_
TRANSACTIONS_ PER_ BLOCK - MAX_
TX_ BATCH_ SIZE - READ_
ACCOUNT_ INFO - ROLLBACK_
MESSAGE_ BUFFER_ SIZE - RUNTIME_
TX_ SIZE_ LIMIT - SEND_
TRANSACTION - SEND_
TRANSACTIONS
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 - is_
parity_ even - prepare_
fees - 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
- Inner
Instructions - An ordered list of compiled instructions that were invoked during a transaction instruction
- Inner
Instructions List - A list of compiled instructions that were invoked during each instruction of a transaction
- Result