package
0.0.0-20220622125045-986219a60b46
Repository: https://github.com/haven-protocol-org/go-haven-rpc-client.git
Documentation: pkg.go.dev

# Functions

Float64ToXMR converts a float64 to a raw atomic XMR.
GetWalletError checks if an erro interface is a wallet-rpc error.
New returns a new monero-wallet-rpc client.
NewPaymentID256 generates a 256 bit payment ID (hex encoded).
NewPaymentID64 generates a 64 bit payment ID (hex encoded).
StringToXMR converts a string to a raw atomic XMR.
XMRToDecimal converts a raw atomic XMR balance to a more human readable format.
XMRToFloat64 converts raw atomic XMR to a float64.

# Constants

ErrDaemonIsBusy - E_DAEMON_IS_BUSY.
ErrDenied - E_DENIED.
ErrGenericTransferError - E_GENERIC_TRANSFER_ERROR.
ErrNotOpen - E_NOT_OPEN.
ErrTransferType - E_TRANSFER_TYPE.
ErrUnknown - E_UNKNOWN_ERROR.
ErrWrongAddress - E_WRONG_ADDRESS.
ErrWrongIndex - E_WRONG_INDEX.
ErrWrongKeyImage - E_WRONG_KEY_IMAGE.
ErrWrongPaymentID - E_WRONG_PAYMENT_ID.
ErrWrongSignature - E_WRONG_SIGNATURE.
ErrWrongTxID - E_WRONG_TXID.
ErrWrongURI - E_WRONG_URI.
Accepted Values are: 0-3 for: default, unimportant, normal, elevated, priority.
Accepted Values are: 0-3 for: default, unimportant, normal, elevated, priority.
Accepted Values are: 0-3 for: default, unimportant, normal, elevated, priority.
Accepted Values are: 0-3 for: default, unimportant, normal, elevated, priority.
QueryKeyMnemonic is the mnemonic seed.
TODO: test.
QueryKeyView is the private view key.
TransferAll - all the transfers.
TransferAvailable - only transfers which are not yet spent.
TransferUnavailable - only transfers which are already spent.

# Structs

Config holds the configuration of a monero rpc client.
Helper structs.
AccuMultisig().
AddAddressBook().
ChangeWalletPassword().
CheckReserveProof().
CheckSpendProof().
No description provided by the author
CheckTxKey().
CheckTxProof().
CreateAccount().
CreateAddress().
CreateWallet().
CreateWalletFromKeys().
DeleteAddressBook().
ExchangeMultisig().
FinalizeMultisig().
GetAccounts().
GetAddress().
GetAddressBook().
GetAddressIndex().
GetAttribute().
*** RPC STRUCTS *** GetBalance().
GetBulkPayments().
GetPayments().
GetReserveProof().
GetSpendProof().
GetTransferByTxID().
GetTransfers().
GetTxKey().
GetTxNotes().
GetTxProof().
ImportKeyImages().
ImportMultisigInfo().
ImportOutputs().
IncomingTransfers().
LabelAccount().
LabelAddress().
MakeIntegratedAddress().
MakeMultisig().
MakeURI().
OpenWallet().
ParseURI().
QueryKey().
Refresh().
RelayTx().
SavePoolWallet().
SetAccountTagDescription().
SetAttribute().
SetTxNotes().
Sign().
SignMultisig().
SignMultisigParallel().
SignTransfer().
SplitIntegratedAddress().
StartMining().
SubmitMultisig().
SubmitTransfer().
SweepAll().
SweepDust().
SweepSingle().
TagAccounts().
Transfer().
TransferSplit().
UntagAccounts().
ValidateAddress().
Verify().
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ExportKeyImages().
ExportMultisigInfo().
ExportOutputs().
No description provided by the author
No description provided by the author
No description provided by the author
GetAccountTags().
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetHeight().
GetLanguages().
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetVersion().
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IsMultisig().
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PrepareMultisig().
No description provided by the author
No description provided by the author
No description provided by the author
SavePoolWallet().
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OffshoreTransfer(), XassetTransfer().
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WalletError is the error structured returned by the monero-wallet-rpc.

# Interfaces

Client is a monero-wallet-rpc client.

# Type aliases

ErrorCode is a monero-wallet-rpc error code.
GetTransferType is a string that contains the possible types: "all": all the transfers; "available": only transfers which are not yet spent; "unavailable": only transfers which are already spent.
H is a helper map shortcut.
Priority represents a transaction priority.
QueryKeyType is the parameter to send with client.QueryKey().