Class StakingContractFunctionCall


  • public class StakingContractFunctionCall
    extends java.lang.Object
    Contract function call object for Staking
    Since:
    0.2.0
    Author:
    Alexandre Carvalho, Andre Bertolace
    • Constructor Detail

      • StakingContractFunctionCall

        public StakingContractFunctionCall()
    • 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 call
        contractAccountId - the contract's account id
        accountIdParam - 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