By:ISME}'-H'Content-Type:application/json'
{
"id":"0",
"jsonrpc":"2.0",
"result":{
"in":[{
"address":"77Vx9cs1VPicFndSVgYUvTdLCJEZw9h81hXLMYsjBCXSJfUehLa9TDW3Ffh45SQa7xb6dUs18mpNxfUhQGqfwXPSMrvKhVp",
"amount":200000000000,
"confirmations":1,
"double_spend_seen":false,
"fee":21650200000,
"height":153624,
"note":"",
"payment_id":"0000000000000000",
"subaddr_index":{
"major":1,
"minor":0
},
"suggested_confirmations_threshold":1,
"timestamp":1535918400,
"txid":"c36258a276018c3a4bc1f195a7fb530f50cd63a4fa765fb7c6f7f49fc051762a",
"type":"in",
"unlock_time":0
}]
}
}
get_payments
Getalistofincomingpaymentsusingagivenpaymentid.
Alias:?None.
門羅幣發布10月17日網絡升級所需的軟件版本Monero軟件v0.17.0.0版本:門羅幣Monero(XMR)發布Monero軟件v0.17.0.0版本OxygenOrion,旨在為10月17日的網絡升級做準備。該版本的主要特點是引入CLSAG簽名方案、確定性的解鎖時間、強制要求最大coinbase金額以及序列化格式更改等。此前報道,門羅幣將于10月17日進行下一次網絡升級,本次升級將引入CLSAG簽名方案以及其他改進功能。7月底,CLSAG簽名方案已完成審核。與目前Monero協議中使用的環簽名相比,CLSAG簽名方案可減少約25%的交易占用空間、提高20%的驗證性能。[2020/9/19]
Inputs:
payment_id?-string;??PaymentIDusedtofindthepayments(16charactershex).
Outputs:
payments?-listof:
payment_id?-string;???PaymentIDmatchingtheinputparameter.
tx_hash?-string;???TransactionhashusedasthetransactionID.
amount?-unsigned???int;Amountforthispayment.
block_height?-???unsignedint;Heightoftheblockthatfirstconfirmedthispayment.
unlock_time?-unsignedint;Time(inblockheight)until???thispaymentissafetospend.
subaddr_index?-???subaddressindex:
major?-unsigned???int;Accountindexforthesubaddress.
minor?-???unsignedint;Indexofthesubaddressintheaccount.
address?-string;???Addressreceivingthepayment;Base58representationofthepublickeys.
動態 | 門羅幣CLI v0.14.1.0版本將支持Trezor錢包 并已發布相關指南:據門羅幣官方6月17日消息,門羅幣CLI v0.14.1.0版本將支持Trezor錢包(對于模型T),目前已發布適用于Linux、MacOS和Windows的指南。[2019/6/17]
Example:
$curl-XPOSThttp://127.0.0.1:18082/json_rpc-d'{"jsonrpc":"2.0","id":"0","method":"get_payments","params":{"payment_id":"60900e5603bf96e3"}}'-H'Content-Type:application/json'
{
"id":"0",
"jsonrpc":"2.0",
"result":{
"payments":[{
"address":"55LTR8KniP4LQGJSPtbYDacR7dz8RBFnsfAKMaMuwUNYX6aQbBcovzDPyrQF9KXF9tVU6Xk3K8no1BywnJX6GvZX8yJsXvt",
"amount":1000000000000,
"block_height":127606,
"payment_id":"60900e5603bf96e3",
"subaddr_index":{
"major":0,
"minor":0
},
"tx_hash":"3292e83ad28fc1cc7bc26dbd38862308f4588680fbf93eae3e803cddd1bd614f",
"unlock_time":0
}]
}
}
get_bulk_payments
Getalistofincomingpaymentsusingagivenpaymentid,oralistofpaymentsids,fromagivenheight.Thismethodisthepreferredmethodover?get_paymentsbecauseithasthesamefunctionalitybutismoreextendable.EitherisfineforlookinguptransactionsbyasinglepaymentID.
動態 | 門羅幣或將引入CLSAG簽名方案:據Monero官方消息,Monero Research Lab研究人員和合作者正在開發有效環簽名方案CLSAG,是Monero當前環形簽名結構(MLSAG)的直接替代品,更小、更快并且可以驗證。 根據初步估計,通過使用新方案,平均交易規模將下降25%,驗證性能最多可提高20%。[2019/6/5]
Alias:?None.
Inputs:
payment_ids?-array??of:string;PaymentIDsusedtofindthepayments(16charactershex).
min_block_height?-unsigned??int;Theblockheightatwhichtostartlookingforpayments.
Outputs:
payments?-listof:
payment_id?-string;???PaymentIDmatchingoneoftheinputIDs.
tx_hash?-string;???TransactionhashusedasthetransactionID.
amount?-???unsignedint;Amountforthispayment.
block_height?-???unsignedint;Heightoftheblockthatfirstconfirmedthispayment.
unlock_time?-unsignedint;Time(inblockheight)until???thispaymentissafetospend.
subaddr_index?-subaddress???index:
major?-???unsignedint;Accountindexforthesubaddress.
minor?-???unsignedint;Indexofthesubaddressintheaccount.
address?-string;???Addressreceivingthepayment;Base58representationofthepublickeys.
聲音 | 門羅幣設計師:核心團隊管理的代碼最受信任最經得起審查:據ambcrypto消息,門羅幣UI/UX設計師Diego Salazar近期接受采訪時表示:getmonero.org不是一個“官方網站”,但是由核心團隊管理、由社區維護的。Rehrar補充說,核心團隊的主要職責是在他們的項目實現中合并代碼,但沒有人對此擁有“壟斷”,任何人都可以創建另一個實現,但由核心團隊管理的代碼是最受尊重、最受信任和最經得起審查的。[2018/11/8]
Example:
$curl-XPOSThttp://127.0.0.1:18082/json_rpc-d'{"jsonrpc":"2.0","id":"0","method":"get_bulk_payments","params":{"payment_ids":,"min_block_height":"120000"}}'-H'Content-Type:application/json'
{
"id":"0",
"jsonrpc":"2.0",
"result":{
"payments":[{
"address":"55LTR8KniP4LQGJSPtbYDacR7dz8RBFnsfAKMaMuwUNYX6aQbBcovzDPyrQF9KXF9tVU6Xk3K8no1BywnJX6GvZX8yJsXvt",
"amount":1000000000000,
"block_height":127606,
"payment_id":"60900e5603bf96e3",
"subaddr_index":{
"major":0,
"minor":0
},
"tx_hash":"3292e83ad28fc1cc7bc26dbd38862308f4588680fbf93eae3e803cddd1bd614f",
"unlock_time":0
}]
}
}
動態 | 門羅幣公開新協議Bulletproofs的審計結果:無重大問題:門羅幣官方剛剛在推特上宣布,瑞士獨立網絡安全解決方案提供商Kudelski安全公司已經完成對門羅幣新協議Bulletproofs的審計,結論是無重點問題,只有一些容易修正的小問題,并且附上審計結果草稿版,完全版將于近期內公布。據公開數據顯示,XMR目前報價為842元,上漲3.2%。[2018/7/16]
get_transfer_by_txid
Showinformationaboutatransferto/fromthisaddress.
Alias:?None.
Inputs:
txid?-string;??TransactionIDusedtofindthetransfer.
account_index?-unsigned??int;(Optional)Indexoftheaccounttoqueryforthetransfer.
Outputs:
transfer?-JSON??objectcontainingpaymentinformation:
address?-string;???Addressthattransferredthefunds.Base58representationofthepublic???keys.
amount?-???unsignedint;Amountofthistransfer.
confirmations?-???unsignedint;Numberofblockminedsincetheblockcontainingthis???transaction(orblockheightatwhichthetransactionshouldbeaddedto???ablockifnotyetconfirmed).
destinations?-array???ofJSONobjectscontainingtransferdestinations:
amount?-???unsignedint;Amounttransferredtothisdestination.
address?-???string;Addressforthisdestination.Base58representationofthepublic???keys.
double_spend_seen?-???boolean;Trueifthekeyimage(s)forthetransferhavebeenseenbefore.
fee?-???unsignedint;Transactionfeeforthistransfer.
height?-???unsignedint;Heightofthefirstblockthatconfirmedthistransfer.
note?-string;???Noteaboutthistransfer.
payment_id?-string;???PaymentIDforthistransfer.
subaddr_index?-JSON???objectcontainingthemajor&minorsubaddressindex:
major?-???unsignedint;Accountindexforthesubaddress.
minor?-???unsignedint;Indexofthesubaddressundertheaccount.
suggested_confirmations_threshold?-???unsignedint;Estimationoftheconfirmationsneededforthetransaction???tobeincludedinablock.
timestamp?-???unsignedint;POSIXtimestampfortheblockthatconfirmedthistransfer???(ortimestampsubmissionifnotminedyet).
txid?-string;???TransactionIDofthistransfer(sameasinputTXID).
type?-string;???Typeoftransfer,oneofthefollowing:"in","out",???"pending","failed","pool"
unlock_time?-unsignedint;Numberofblocksuntil???transferissafelyspendable.
Example:
$curl-XPOSThttp://localhost:18082/json_rpc-d'{"jsonrpc":"2.0","id":"0","method":"get_transfer_by_txid","params":{"txid":"c36258a276018c3a4bc1f195a7fb530f50cd63a4fa765fb7c6f7f49fc051762a"}}'-H'Content-Type:application/json'
{
"id":"0",
"jsonrpc":"2.0",
"result":{
"transfer":{
"address":"55LTR8KniP4LQGJSPtbYDacR7dz8RBFnsfAKMaMuwUNYX6aQbBcovzDPyrQF9KXF9tVU6Xk3K8no1BywnJX6GvZX8yJsXvt",
"amount":300000000000,
"confirmations":1,
"destinations":[{
"address":"7BnERTpvL5MbCLtj5n9No7J5oE5hHiB3tVCK5cjSvCsYWD2WRJLFuWeKTLiXo5QJqt2ZwUaLy2Vh1Ad51K7FNgqcHgjW85o",
"amount":100000000000
},{
"address":"77Vx9cs1VPicFndSVgYUvTdLCJEZw9h81hXLMYsjBCXSJfUehLa9TDW3Ffh45SQa7xb6dUs18mpNxfUhQGqfwXPSMrvKhVp",
"amount":200000000000
}],
"double_spend_seen":false,
"fee":21650200000,
"height":153624,
"note":"",
"payment_id":"0000000000000000",
"subaddr_index":{
"major":0,
"minor":0
},
"suggested_confirmations_threshold":1,
"timestamp":1535918400,
"txid":"c36258a276018c3a4bc1f195a7fb530f50cd63a4fa765fb7c6f7f49fc051762a",
"type":"out",
"unlock_time":0
}
}
}
點擊查看官方文檔:
https://www.getmonero.org/resources/developer-guides/wallet-rpc.html
Tags:ENTMENTPAYYMENWENTXN價格Fermat Capital ManagementPayPieYMEN幣
據AMBCRYPTO8月5日報道,盡管加密貨幣的價格波動伴隨著巨大的不確定性,但是區塊獎勵減半還是為用戶帶來了一場全新的游戲,它讓加密貨幣進入到了一個新的生命周期中.
1900/1/1 0:00:00繼新加坡人之后,中東土豪對于幣圈的熱情也逐漸被勾起。總部位于阿布扎比的穆巴達拉投資資本日前向加密貨幣交易所敞開了懷抱。投資風格保守的主權財富基金向冉冉升起的加密貨幣行業投資實屬不易.
1900/1/1 0:00:00關于印度政府計劃全面禁止加密貨幣的謠言最終證實是真的。官方報告以及負責制定加密使用框架的委員會的法案草案,于7月22日在最高法院審理加密案件的前一天發布.
1900/1/1 0:00:00本周四晚,由巴比特加速器、Dimension、Nervos和創立方聯合主辦的“做區塊鏈落地——你必須懂得密碼隱私”Geekhub線下活動在浙江財經大學舉行.
1900/1/1 0:00:0001 比特幣上漲是因為中國人在購買?并沒有!昨日,人民幣11年來首次破7,比特幣也順勢拉升7%,有觀點認為比特幣的上漲和中國人因避險而大舉買入有關.
1900/1/1 0:00:00今天,市場一片血色,大部分幣都出現放量下跌的狀況,但晚間,抄底資金出現,主流幣出現反彈,但大部分的幣依舊下跌10%以上,走勢依舊很弱.
1900/1/1 0:00:00