vite library

Classes

AbiEntry
AbiEntryParam
AccountBlock
AccountBlock class represents an on chain Account Block
AccountBlockMessage
AccountBlockWithHeightMessage
AccountInfo
AccountService
Address
AddressType
Amount
ArrayType
BalanceInfo
BlockTypeConverter
BoolType
Bytes32Type
BytesType
CallbackParam
ConstructorEntry
Contract
ContractAbi
ContractApi
ContractCallParams
DynamicArrayType
Ed25519Blake2b
EventEntry
FunctionEntry
FunctionType
GidType
Hash
HashHeight
HashPrefix
HeightRange
HttpService
IntType
IpcService
KeyPair
LedgerApi
NetApi
NoOpService
NumericType
OffchainEntry
PowClient
PowDifficultyParams
PowDifficultyResult
QueryParams
RawTransaction
RpcAccountBlock
RpcAccountBlockMessage
RpcAccountBlockRange
RpcAccountBlockWithHeightMessage
RpcAccountInfo
RpcAddressLocation
RpcApi
RpcApiBase
RpcBalanceInfo
RpcClient
RpcClientBase
RpcContract
RpcContractCallParams
RpcContractInfo
RpcDerivedAddress
RpcEntropyFile
RpcFilteredVmLog
RpcFilterResponse
RpcHashHeight
RpcHeightRange
RpcLedger
RpcLedgerChunk
RpcNet
RpcNodeInfo
RpcPeerInfo
RpcPowDifficultyParams
RpcPowDifficultyResult
RpcQueryParams
RpcQuotaInfo
RpcRawTransaction
RpcRewardByDayInfo
RpcRewardInfo
RpcSbpInfo
RpcSbpVoteDetail
RpcSbpVoteInfo
RpcService
RpcSnapshotBlock
RpcSnapshotBlockMessage
RpcStakeInfo
RpcStakeInfoRequest
RpcStakeListInfo
RpcSubscribe
RpcSyncCache
RpcSyncChunk
RpcSyncConnection
RpcSyncDetail
RpcSyncInfo
RpcTokenInfo
RpcTokenListInfo
RpcTxWithPassphrase
RpcUnreceivedBlockMessage
RpcUtil
RpcVmLog
RpcVmLogFilter
RpcVoteInfo
RpcWallet
Signature
A modified implementation of tweetnacl that uses blake2b instead of sha256 Signature algorithm, Implements ed25519.
SignerBase
SnapshotBlock
SnapshotBlockMessage
SolidityType
Solidity types
StaticArrayType
StringType
SubscribeApi
Token
TokenIdType
TokenInfo
TokenInfoList
UintType
UnreceivedBlockMessage
UtilApi
ViteClient
VmLog
VmLogFilter
VmLogMessage
Wallet
WalletApi
WsService

Functions

base64ToBytes(String data) Uint8List
bigIntToBytes(BigInt bigInt) Uint8List
bigIntToBytesUnsigned(BigInt bigInt) Uint8List
blockTypeFromValue(int value) BlockType
blockTypeToValue(BlockType type) int
bytesToBase64(Uint8List bytes) String
bytesToBigInt(Uint8List bytes) BigInt
bytesToBigIntUnsigned(Uint8List bytes) BigInt
bytesToHex(Uint8List bytes) String
bytesUtf8ToString(Uint8List bytes) String
computePowDataHash(Address address, Hash previousHash) Hash
computeTxHash(RawTransaction transaction) Hash
defaultSubscribeCallback<T>(T object) → void
digest({required Uint8List data, int digestSize = 32}) Uint8List
entropyHexToMnemonic(String entropyHex) String
fromJson(TypeMapping typeMapping) TypeFactory
generateMnemonic({int strength = 256}) String
hexToBytes(String hex) Uint8List
isContractReceiveSuccess({required Address address, required BlockType blockType, required Uint8List data}) bool
isHex(String hex) bool
isValidMnemonic(String mnemonic, {bool verifyChecksum = true}) bool
isValidMnemonicWord(String word) bool
leftPadBytes(Uint8List bytes, int size) Uint8List
mnemonicToEntropyHex(String mnemonic) String
mnemonicToSeed(String mnemonic, {String passphrase = ''}) Uint8List
powDataForTx(RawTransaction tx) Hash
publicKeyFromPrivateKey(Uint8List privateKey) Uint8List
rightPadBytes(Uint8List bytes, int size) Uint8List
sign({required Uint8List message, required Uint8List privateKey}) Uint8List
stringToBytesUtf8(String str) Uint8List
unixSocketChannel(String path) → StreamChannel<List<int>>
verify({required Uint8List signature, required Uint8List message, required Uint8List publicKey}) bool