xelis_dart_sdk library
Software Development Kit in Dart for Xelis Blockchain.
Classes
- Burn
- BurnEntry
- CoinbaseEntry
- DaemonClient
- JSON-RPC Client to interact with Xelis daemon.
- IncomingEntry
- OutgoingEntry
- RpcClientRepository
- A repository that provides a JSON-RPC Client.
- Transfers
- WalletClient
- JSON-RPC Client to interact with Xelis wallet.
- XelisJsonKey
- JSON-RPC key for Xelis method/event.
Enums
- ClientState
- Connection state of the websocket client.
- DaemonEvent
- The events that can be subscribed to on the daemon.
- DaemonMethod
- The RPC methods that can be called on the daemon.
- Network
- Version of the blockchain network
- PeerType
- Type of Peer
- WalletEvent
- The events that can be subscribed to on the daemon.
- WalletMethod
- The RPC methods that can be called on the wallet.
- XelisSubscription
- Xelis event subscription.
Extensions
- DaemonEventsExtension on DaemonClient
- Extension of DaemonClient that provides methods to subscribe/unsubscribe to daemon events.
- DaemonRpcMethodsExtension on DaemonClient
- Extension of DaemonClient that provides all the methods to query Xelis daemon.
- WalletRpcMethodsExtension on WalletClient
- Extension of WalletClient that provides all the methods to query Xelis wallet.
Constants
- localhostAddress → const String
- local host address
- mainnetNodeURL → const String
- mainnet node url
- testnetNodeURL → const String
- testnet node url
- xelisAsset → const String
- original xelis asset
Functions
-
bytesToHex(
Uint8List bytes) → String - Convert bytes array to hexadecimal byte string.
-
hexToBytes(
String hexByteString) → Uint8List - Convert hexadecimal byte string to bytes array.
-
hexToRawValue(
String hexByteString) → String - Converts a hexadecimal byte string back into its raw value.
-
stringToBase64(
String input) → String - Converts a character string into a base64 string.
-
stringToHex(
String input) → String - Converts a character string into a hexadecimal string.