use of org.starcoin.bean.ResourceObj in project starcoin-java by starcoinorg.
the class StarcoinClientSample method testGetResource.
@Test
public void testGetResource() {
ResourceObj resourceObj = ResourceObj.builder().moduleAddress("0xf8af03dd08de49d81e4efd9e24c039cc").moduleName("MyCounter").resourceName("Counter").build();
String rst = starcoinClient.getResource(sender, resourceObj);
System.out.println(rst);
}
Aggregations