SIA的RPC怎么调用?API接口有文档吗?



  • 如题,SIA的RPC怎么调用?API接口有文档吗?



  • 这个问题(与技术有关的问题)最好用英文在论坛英文区(如Help上)问,基本没人能用中文回答这个问题。



  • https://github.com/NebulousLabs/Sia/blob/master/doc/API.md

    (您可能要翻牆看一下)

    主要重點:
    Requests must set their User-Agent string to contain the substring "Sia-Agent".
    By default, siad listens on "localhost:9980". This can be changed using the '--api-addr' flag when running siad.

    其餘的github裡面有各API的說明
    1.0版本過後會比較穩定(目前有些API與文檔寫得不一樣


Log in to reply