CAFECA-IO / BAIFA-web-crawling

BAIFA conducts web crawling from iSunCloud in frequence
0 stars 0 forks source link

確定iSunCloud鏈的接口和數據特點 #1

Closed gibbs-shih closed 10 months ago

gibbs-shih commented 10 months ago

了解iSunCloud鏈的接口、如何串接及其數據特點

gibbs-shih commented 10 months ago

isuncoin 連線資訊 https://isuncoin.baifa.io/

curl 參考指令 curl -H "Content-type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["latest", false],"id":1}' https://isuncoin.baifa.io/

gibbs-shih commented 10 months ago

使用Postman測試打api到iSunCoin

  1. POST blockNumber 截圖 2023-12-14 下午3 57 10
  1. POST getBlockByNumber 截圖 2023-12-14 下午4 01 20 截圖 2023-12-14 下午4 08 01
  1. POST getTransactionByHash 截圖 2023-12-14 下午4 06 54

補充:iSunCoinJSON-RPC.postman_collection.json

gibbs-shih commented 10 months ago

isuncoin鏈上已有一筆交易, 補上截圖 另除getTransactionByHash還需要getTransactionReceipt

  1. POST getBlockByNumber

    截圖 2023-12-15 上午9 58 01 截圖 2023-12-15 上午9 59 29 截圖 2023-12-15 上午9 59 51
  2. POST getTransactionByHash

    截圖 2023-12-15 上午10 00 26 截圖 2023-12-15 上午10 00 35
  3. POST getTransactionReceipt

    截圖 2023-12-15 上午10 00 58 截圖 2023-12-15 上午10 01 08 截圖 2023-12-15 上午10 01 35 截圖 2023-12-15 上午10 01 47

taking 1 hr