Contract构造函数同时接受account: Accountand contractId: string,但Account已经将合约的账户 ID 提供为account.accountId。这两者有什么区别?https://github.com/near/near-api-js/blob/master/src/contract.ts#L22
更新:我们甚至可以在测试中看到它们在这里传递了相同的值:https ://github.com/near/near-api-js/blob/master/test/test-utils.js#L39