Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SaveWalletState ¶
func SaveWalletState() error
Types ¶
type XMRPayment ¶
type XMRTransferReceipt ¶
type XMRTransferReceipt struct {
Error *struct {
Code int `json:"code"`
Message string `json:"message"`
} `json:"error"`
Id string `json:"id"`
Jsonrpc string `json:"jsonrpc"`
Result struct {
Amount int64 `json:"amount"`
Fee int64 `json:"fee"`
MultisigTxset *string `json:"multisig_txset"`
TxBlob *string `json:"tx_blob"`
TxHash string `json:"tx_hash"`
TxKey *string `json:"tx_key"`
TxMetadata *string `json:"tx_metadata"`
UnsignedTxset *string `json:"unsigned_txset"`
} `json:"result"`
}
func SendXMR ¶
func SendXMR(inXfer XMRWalletTransfer) (XMRTransferReceipt, error)
type XMRWalletTransfer ¶
type XMRWalletTransfer struct {
Destinations []XMRPayment `json:"destinations"`
Priority int `json:"priority"`
RingSize int `json:"ring_size"`
GetTxKey bool `json:"get_tx_key"`
}
Click to show internal directories.
Click to hide internal directories.