JSON-RPC sendfrom

Z Poznámkový blok
Přejít na: navigace, hledání
sendfrom "fromaccount" "toaddress" amount ( minconf "comment" "comment_to" )

DEPRECATED (use sendtoaddress). Sent an amount from an account to a litecoin address.

Arguments:
1. "fromaccount"       (string, required) The name of the account to send funds from. May be the default account using "".
                       Specifying an account does not influence coin selection, but it does associate the newly created
                       transaction with the account, so the account's balance computation and transaction history can reflect
                       the spend.
2. "toaddress"         (string, required) The litecoin address to send funds to.
3. amount              (numeric or string, required) The amount in LTC (transaction fee is added on top).
4. minconf             (numeric, optional, default=1) Only use funds with at least this many confirmations.
5. "comment"           (string, optional) A comment used to store what the transaction is for. 
                                     This is not part of the transaction, just kept in your wallet.
6. "comment_to"        (string, optional) An optional comment to store the name of the person or organization 
                                     to which you're sending the transaction. This is not part of the transaction, 
                                     it is just kept in your wallet.

Result:
"txid"                 (string) The transaction id.

Examples:

Send 0.01 LTC from the default account to the address, must have at least 1 confirmation
> litecoin-cli sendfrom "" "LEr4HnaefWYHbMGXcFp2Po1NPRUeIk8km2" 0.01

Send 0.01 from the tabby account to the given address, funds must have at least 6 confirmations
> litecoin-cli sendfrom "tabby" "LEr4HnaefWYHbMGXcFp2Po1NPRUeIk8km2" 0.01 6 "donation" "seans outpost" 


sendfrom "fromaccount" "toaddress" amount ( minconf "comment" "comment_to" )

DEPRECATED (použijte sendtoaddress). Odeslala částku z účtu na adresu litecoin.

Argumenty:
1. "odúčtování"   (požadovaný řetězec) Název účtu, ze kterého chcete odesílat prostředky. Může být výchozí účet pomocí "".
                       Zadání účtu neovlivňuje výběr mincí, ale přidružuje nově vytvořené
                       transakce s účtem, takže výpočet zůstatku účtu a historie transakcí mohou odrážet
                       výdaje.
2. "toaddress"    (řetězec, požadavek) Adresu litecoin pro zaslání finančních prostředků.
3. částka         (požadovaná číselná hodnota nebo řetězec) Částka v LTC (transakční poplatek se přidává na začátek).
4. minconf        (číselný, volitelný, výchozí = 1) Použijte pouze prostředky s alespoň tolika potvrzeními.
5. "komentář"     (řetězec, nepovinný) Komentář slouží k ukládání transakcí.
                                     To není součást transakce, jen se drží v peněžence.
6. "comment_to"   (řetězec, volitelně) Volitelný komentář k ukládání jména osoby nebo organizace
                                     na které odesíláte transakci. Toto není součástí transakce,
                                     je to jen v peněžence.

Výsledek:
"txid" (řetězec) ID transakce.


Zpět na Qt peněženku - JSON-RPC