Documentation ¶
Overview ¶
Package fdmrpc interfaces with freedom and monero wallet rpc servers
Index ¶
- Constants
- type FdmRPC
- func (fdm *FdmRPC) CreateAddress(account int, label string) (string, error)
- func (fdm *FdmRPC) GetAddressIndex(addr string) int
- func (fdm *FdmRPC) GetBalance() (*decimal.Decimal, *decimal.Decimal, error)
- func (fdm *FdmRPC) GetIncomingTransfers(index int, min *uint64) ([]*IncomingTransfer, error)
- func (fdm *FdmRPC) Transfer(amount decimal.Decimal, target string) (string, error)
- type IncomingTransfer
- type SubAddressBalance
Constants ¶
View Source
const ( FDMDec = 10 XMRDec = 12 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FdmRPC ¶
func (*FdmRPC) CreateAddress ¶
CreateAddress creates a new sub address and returns it
func (*FdmRPC) GetAddressIndex ¶
func (*FdmRPC) GetBalance ¶
GetBalance returns the total balance and the unlocked balance
func (*FdmRPC) GetIncomingTransfers ¶
func (fdm *FdmRPC) GetIncomingTransfers(index int, min *uint64) ([]*IncomingTransfer, error)
GetIncomingTransfers sends amount to target and returns the tx_hash or the error
type IncomingTransfer ¶
Click to show internal directories.
Click to hide internal directories.