Class StakingContractFunctionCall
- java.lang.Object
-
- com.syntifi.near.api.rpc.service.contract.staking.StakingContractFunctionCall
-
public class StakingContractFunctionCall extends java.lang.Object
Contract function call object for Staking- Since:
- 0.2.0
- Author:
- Alexandre Carvalho, Andre Bertolace
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StakingContractFunctionCall.LockupMethods
static class
StakingContractFunctionCall.StakingMethodCaller
Contract method definitions
-
Constructor Summary
Constructors Constructor Description StakingContractFunctionCall()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FunctionCallResult<java.math.BigInteger>
forAccountTotalBalance(NearService nearService, java.lang.String contractAccountId, AccountIdParam accountIdParam)
Builds a contract function call and returns a typed result
-
-
-
Method Detail
-
forAccountTotalBalance
public static FunctionCallResult<java.math.BigInteger> forAccountTotalBalance(NearService nearService, java.lang.String contractAccountId, AccountIdParam accountIdParam) throws java.io.IOException
Builds a contract function call and returns a typed result- Parameters:
nearService
- the near service instance to use for the contract callcontractAccountId
- the contract's account idaccountIdParam
- the arguments for the target method- Returns:
- a typed function call result
- Throws:
java.io.IOException
- thrown if failed to deserialize result to target class
-
-