Corda Shell为`run vaultQuery` - Cash.State抛出异常

时间:2018-06-07 11:27:53

标签: corda

run vaultQuery contractStateType: net.corda.finance.contracts.asset.Cash.State

无法解析为命令:无法构造java.lang.Class的实例,pr oblem:net.corda.finance.contracts.asset.Cash.State  在[来源:UNKNOWN; line:-1,column:-1] 请尝试'man run'来了解可接受的语法

1 个答案:

答案 0 :(得分:2)

State内访问Cash的语法是:

run vaultQuery contractStateType: net.corda.finance.contracts.asset.Cash$State

请注意$