Documentation ¶
Index ¶
- func ClearTxData(w *wallet.Wallet) error
- func CreateNewAccount(iCmd interface{}, w *wallet.Wallet) (interface{}, error)
- func DumpPrivKey(iCmd interface{}, w *wallet.Wallet) (interface{}, error)
- func EvmToMeer(iCmd interface{}, w *wallet.Wallet) (interface{}, error)
- func GetAccountAndAddress(w *wallet.Wallet) (interface{}, error)
- func GetAccountByAddress(iCmd interface{}, w *wallet.Wallet) (interface{}, error)
- func GetAddressesByAccount(iCmd interface{}, w *wallet.Wallet) ([]string, error)
- func GetBalance(iCmd interface{}, w *wallet.Wallet) (interface{}, error)
- func GetBillByAddr(icmd interface{}, w *wallet.Wallet) (interface{}, error)
- func GetListTxByAddr(icmd interface{}, w *wallet.Wallet) (interface{}, error)
- func GetNewAddress(iCmd interface{}, w *wallet.Wallet) (interface{}, error)
- func GetTx(txId string, w *wallet.Wallet) (interface{}, error)
- func GetTxSpendInfo(txId string, w *wallet.Wallet) (interface{}, error)
- func ImportPrivKey(iCmd interface{}, w *wallet.Wallet) (interface{}, error)
- func ImportWifPrivKey(iCmd interface{}, w *wallet.Wallet) (interface{}, error)
- func ListAccounts(w *wallet.Wallet) (interface{}, error)
- func SendLockedToAddress(iCmd interface{}, w *wallet.Wallet) (interface{}, error)
- func SendToAddress(iCmd interface{}, w *wallet.Wallet) (interface{}, error)
- func SetSyncedToNum(order int64, w *wallet.Wallet) error
- func Unlock(password string, w *wallet.Wallet) error
- func UpdateBlock(iCmd interface{}, w *wallet.Wallet) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearTxData ¶
func CreateNewAccount ¶
createNewAccount handles a createnewaccount request by creating and returning a new account. If the last account has no transaction history as per BIP 0044 a new account cannot be created so an error will be returned.
func DumpPrivKey ¶
DumpPrivKey
func GetAccountAndAddress ¶
func GetAccountByAddress ¶
getAccount handles a getaccount request by returning the account name associated with a single address.
func GetAddressesByAccount ¶
getAddressesByAccount handles a getaddressesbyaccount request by returning all addresses for an account, or an error if the requested account does not exist.
func GetBalance ¶
func GetBillByAddr ¶
func GetListTxByAddr ¶
func GetNewAddress ¶
getNewAddress handles a GetNewAddress request by returning a new address for an account. If the account does not exist an appropiate error is returned. the gap limit.
func ImportPrivKey ¶
func ImportWifPrivKey ¶
ImportWifPrivKey
func ListAccounts ¶
listAccounts handles a listaccounts request by returning a map of account names to their balances.
func SendLockedToAddress ¶
func SendToAddress ¶
sendToAddress handles a sendtoaddress RPC request by creating a new transaction spending unspent transaction outputs for a wallet to another payment address. Leftover inputs not sent to the payment address or a fee for the miner are sent back to a new address in the wallet. Upon success, the TxID for the created transaction is returned.
func UpdateBlock ¶
Types ¶
This section is empty.