web3.eth.accounts

只讀屬性,返回當前節點持有的賬戶列表。 web 同步調用:異步 web3.eth.accounts 異步調用:svg web3.eth.getAccounts(callback(error, result){ ... }) 返回值:區塊鏈 Array - 節點持有的賬戶列表。 示例:3d var accounts = web3.eth.accounts; console.log(accounts)
相關文章
相關標籤/搜索