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.
Inputs:
payment_id?-string;??PaymentIDusedtofindthepayments(16charactershex).
Outputs:
payments?-listof:
payment_id?-string;???PaymentIDmatchingtheinputparameter.
tx_hash?-string;???TransactionhashusedasthetransactionID.
amount?-unsigned???int;Amountforthispayment.
分析 | HackerOne的安全漏洞报告导致门罗币价格大跌:据AMBCrypto消息,本周早些时候HackerOne在报告中指出门罗币存在安全漏洞。门罗币回应称安全漏洞在四个月前就被披露,同时提供了补丁;目前没有此类漏洞存在。 随着对门罗币隐私和网络安全漏洞的日益关注,社区有理由担心,同样的情况也反映在价格上。在1月底达到120美元高位后,安全漏洞报告将XMR一度拉低至82美元以下。截至发稿时为92.85美元。XMR在7天内下跌了23.3%。 Adamant Capital创始合伙人Tuur Demeester对XMR的价格表现提出质疑,并绘制了XMR/BTC的图表,同样显示出大幅下跌。Bull Bitcoin首席执行官Francis Pouliot认为,比特币的隐私,特别是由于CoinJoin交易以及流动性(在他看来这是隐私的重要组成部分)推动了比特币领先于其他竞争对手,尽管后者是小众运营商。[2019/7/6]
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.
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",
动态 | 门罗币社区谴责恶意挖矿行为并建议设立志愿者抵御加密劫持:据TNW消息,近日,门罗币社区公开强烈谴责某些进行恶意挖矿行为的个人,这些人窃取用户电脑的算力来进行门罗币挖矿,为自己谋取私利。社区称并不会对此类行为袖手旁观,将建议设立自治志愿者群体“门罗币恶意软件回应工作组”(Monero Malware Response Workgroup),开发出工具和相关资源,以抵御加密劫持。[2018/9/29]
"unlock_time":0
}]
}
}
get_bulk_payments
Getalistofincomingpaymentsusingagivenpaymentid,oralistofpaymentsids,fromagivenheight.Thismethodisthepreferredmethodover?get_paymentsbecauseithasthesamefunctionalitybutismoreextendable.EitherisfineforlookinguptransactionsbyasinglepaymentID.
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.
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
}]
}
}
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
标签:ENTPAYYMENMENTAmun DeFi Momentum IndexYmplePayYMEN价格Fundamenta
从2017年的大牛市开始,公链之争就成了一个热门话题。大饼、以太、量子、柚子、本体等一众公链项目,无疑是市场上最耀眼的星。也正因如此,公链链成了人们眼中最有潜力的一个群体.
1900/1/1 0:00:00据外媒报道,美国当地时间周一,国际商业机器公司(IBM)宣布,将推出新的区块链网络,旨在改善手工操作和繁琐的供应链管理.
1900/1/1 0:00:00这是一场不可避免的试错。但摔跤之后往哪走,是DeFi行业需要思考且持续思考的一个问题。 2019年7月,德意志银行宣布了全球裁员1.8万人的重大计划,彼时,一张抓拍图片抢占了各大媒体的注意力.
1900/1/1 0:00:00了解区块链行业对美国国会议员来说很难。但是,根据最近成立的一个加密货币游说组织所说,一些区块链比更容易被误解,该组织开始接受华盛顿的挑战.
1900/1/1 0:00:00市场对与美元挂钩的稳定币Tether的情绪,往往预示着该资产的市值在飙升前最多12天的变化。一项新的研究表明,这些价格波动是可疑的,可能是“内部人士操纵情绪”的结果.
1900/1/1 0:00:002019年的风口少得可怜,在明星效应、饥饿营销的加持下,球鞋成功出圈,成为今年最大的炒作黑马。炒鞋有多火?有人计算,在成交量前100的球鞋中仅选取了26个热门款,成交金额就已经达到45425万元.
1900/1/1 0:00:00