dero_rpc_api library
Dart implementation of the Dero RPC API.
Classes
- Argument
- Argument for the RPC payload.
- Block
- A representation of a Dero block.
- BlockHeader
- A block header for RPC call.
- DerodRepository
- A repository that provides all the necessary to listen and communicate with derod (Dero daemon).
- Entry
- A representation of a wallet transaction history entry.
- Event
- Derod Websocket event.
- GasEstimateResult
- The response returned by a call to DerodRepository.getGasEstimate.
- GetAddressResult
- The response returned by a call to WalletRepository.getAddress.
- GetBalanceParams
- Parameters (optional) to call WalletRepository.getBalance.
- GetBalanceResult
- The response returned by a call to WalletRepository.getBalance.
- GetBlockByHashParams
- Parameters required to call DerodRepository.getBlockByHash.
- GetBlockByResult
- The response returned by a call to DerodRepository.getBlockByHash or DerodRepository.getBlockByTopoHeight.
- GetBlockByTopoHeightParams
- Parameters required to call DerodRepository.getBlockByTopoHeight.
- GetBlockCountResult
- The response returned by a call to DerodRepository.getBlockCount.
- GetBlockParams
- Parameters required to call DerodRepository.getBlock.
- GetBlockResult
- The response returned by a call to DerodRepository.getBlock.
- GetBlockTemplateParams
- Parameters required to call DerodRepository.getBlockTemplate.
- GetBlockTemplateResult
- The response returned by a call to DerodRepository.getBlockTemplate.
- GetEncryptedBalanceParams
- Parameters required to call DerodRepository.getEncryptedBalance.
- GetEncryptedBalanceResult
- The response returned by a call to DerodRepository.getEncryptedBalance.
- GetHeightDerodResult
- The response returned by a call to DerodRepository.getHeight.
- GetHeightWalletResult
- The response returned by a call to WalletRepository.getHeight.
- GetInfoResult
- The response returned by a call to DerodRepository.getInfo.
- GetRandomAddressParams
- Parameters (optional) to call DerodRepository.getRandomAddress.
- GetRandomAddressResult
- The response returned by a call to DerodRepository.getRandomAddress.
- GetSCParams
- Parameters required to call DerodRepository.getSC.
- GetSCResult
- The response returned by a call to DerodRepository.getSC.
- GetTransactionParams
- Parameters required to call DerodRepository.getTransaction.
- GetTransactionResult
- The response returned by a call to DerodRepository.getTransaction.
- GetTransferByTxidParams
- Parameters required to call WalletRepository.getTransferByTXID.
- GetTransferByTxidResult
- The response returned by a call to WalletRepository.getTransferByTXID.
- GetTransfersParams
- Parameters required to call WalletRepository.getTransfers.
- GetTransfersResult
- The response returned by a call to WalletRepository.getTransfers.
- GetTxPoolResult
- The response returned by a call to DerodRepository.getTxPool.
- MakeIntegratedAddressParams
- Parameters required to call WalletRepository.makeIntegratedAddress.
- MakeIntegratedAddressResult
- The response returned by a call to WalletRepository.makeIntegratedAddress.
- Miniblock
- A representation of a Dero miniblock.
- NameToAddressParams
- Parameters required to call DerodRepository.getNameToAddress.
- NameToAddressResult
- The response returned by a call to DerodRepository.getNameToAddress.
- QueryKeyParams
- Parameters required to call WalletRepository.queryKey.
- QueryKeyResult
- The response returned by a call to WalletRepository.queryKey.
- RPC
-
Argument.name
already define in Dero source code. - ScInvokeParams
- Parameters required to call WalletRepository.scInvoke.
- SendRawTransactionParams
- Parameters required to call DerodRepository.sendRawTransaction.
- SendRawTransactionResult
- The response returned by a call to DerodRepository.sendRawTransaction.
- SmartContractAction
- Smart contract actions.
- SmartContractRPC
-
Argument.name
related to smart contracts. - SplitIntegratedAddressParams
- Parameters required to call WalletRepository.splitIntegratedAddress.
- SplitIntegratedAddressResult
- The response returned by a call to WalletRepository.splitIntegratedAddress
- SubmitBlockParams
- Parameters required to call DerodRepository.submitBlock.
- SubmitBlockResult
- The response returned by a call to DerodRepository.submitBlock.
- Transaction
- A representation of a core Dero transaction.
- Transfer
- A representation of a wallet transfer.
- TransferParams
- Parameters required to call WalletRepository.transfer or DerodRepository.getGasEstimate.
- TransferResult
- The response returned by a call to WalletRepository.transfer.
- TxRelatedInfo
- A tx related information for RPC call.
- WalletRepository
- A repository that provides all the necessary to communicate with Dero wallet.
Extensions
- ArgumentsUtilityMethods on Arguments
- Utility methods for Arguments typedef.
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.
-
stringToHex(
String input) → String - Converts a character string into a hexadecimal string.