Uses of Interface
com.syntifi.near.api.rpc.service.NearService
-
-
Uses of NearService in com.syntifi.near.api.rpc.service
Methods in com.syntifi.near.api.rpc.service that return NearService Modifier and Type Method Description static NearServiceNearServiceHelper. getService(Network network)static NearServiceNearService. usingNetwork(Network network)NearService builderMethods in com.syntifi.near.api.rpc.service with parameters of type NearService Modifier and Type Method Description static TransactionAwaitAccountService. createNamedAccount(NearService nearService, java.lang.String mainDomain, java.lang.String newAccountId, PublicKey newAccountPublicKey, java.math.BigInteger amountToNewAccount, java.lang.String creatorAccountId, PublicKey creatorPublicKey, PrivateKey creatorPrivateKey)Sends aTransferActiontransaction calling a contract to create_account and waits for result usingsendTransactionAwait(String)static EncodedHashAccountService. createNamedAccountAsync(NearService nearService, java.lang.String mainDomain, java.lang.String newAccountId, PublicKey newAccountPublicKey, java.math.BigInteger amountToNewAccount, java.lang.String creatorAccountId, PublicKey creatorPublicKey, PrivateKey creatorPrivateKey)Sends aTransferActiontransaction async usingsendTransactionAsync(String)with the needed actions to generate a named account and waits for result usingsendTransactionAwait(String)static TransactionAwaitAccountService. createSubAccount(NearService nearService, java.lang.String newAccountId, java.math.BigInteger amountToNewAccount, java.lang.String creatorAccountId, PublicKey creatorPublicKey, PrivateKey creatorPrivateKey)Sends aTransferActiontransaction with the needed actions to generate a sub account and waits for result usingsendTransactionAwait(String)static EncodedHashAccountService. createSubAccountAsync(NearService nearService, java.lang.String newAccountId, java.math.BigInteger amountToNewAccount, java.lang.String creatorAccountId, PublicKey creatorPublicKey, PrivateKey creatorPrivateKey)Sends aTransferActiontransaction async usingsendTransactionAsync(String)with the needed actions to generate a sub account and waits for result usingsendTransactionAwait(String)static java.lang.StringBaseService. prepareTransactionForActionList(NearService nearService, java.lang.String signerId, java.lang.String receiverId, PublicKey signerPublicKey, PrivateKey signerPrivateKey, java.util.List<Action> actionList)Prepares the transaction to send and automatically queries for the next noncestatic java.lang.StringBaseService. prepareTransactionForActionList(NearService nearService, java.lang.String signerId, java.lang.String receiverId, PublicKey signerPublicKey, PrivateKey signerPrivateKey, java.util.List<Action> actionList, java.lang.Long nonce)Prepares the transaction to send with a given noncestatic EncodedHashTransactionService. sendTransactionAsync(NearService nearService, java.lang.String signerId, java.lang.String receiverId, PublicKey signerPublicKey, PrivateKey signerPrivateKey, java.util.List<Action> actionList)Sends a list ofActiontransaction waiting for result usingsendTransactionAsync(String)static TransactionAwaitTransactionService. sendTransactionAwait(NearService nearService, java.lang.String signerId, java.lang.String receiverId, PublicKey signerPublicKey, PrivateKey signerPrivateKey, java.util.List<Action> actionList)Sends a list ofActiontransaction waiting for result usingsendTransactionAwait(String)static EncodedHashTransactionService. sendTransferActionAsync(NearService nearService, java.lang.String signerId, java.lang.String receiverId, PublicKey signerPublicKey, PrivateKey signerPrivateKey, java.math.BigInteger amount)Sends aTransferActiontransaction async usingsendTransactionAsync(String)static TransactionAwaitTransactionService. sendTransferActionAwait(NearService nearService, java.lang.String signerId, java.lang.String receiverId, PublicKey signerPublicKey, PrivateKey signerPrivateKey, java.math.BigInteger amount)Sends aTransferActiontransaction waiting for result usingsendTransactionAwait(String) -
Uses of NearService in com.syntifi.near.api.rpc.service.contract
Methods in com.syntifi.near.api.rpc.service.contract with parameters of type NearService Modifier and Type Method Description ContractFunctionCallResultFunctionCall. call(NearService nearService)static <T> FunctionCallResult<T>ContractMethodCaller. callFor(ContractMethod method, java.lang.Class<T> returnClass, NearService nearService, java.lang.String contractAccountId, ContractMethodParams params)Calls a contract for specific method -
Uses of NearService in com.syntifi.near.api.rpc.service.contract.ft
Methods in com.syntifi.near.api.rpc.service.contract.ft with parameters of type NearService Modifier and Type Method Description static FunctionCallResult<com.fasterxml.jackson.databind.JsonNode>FTContractFunctionCall. forBalanceOf(NearService nearService, java.lang.String contractAccountId, AccountIdParam accountIdParam)Builds a contract function call and returns a typed resultstatic FunctionCallResult<com.fasterxml.jackson.databind.JsonNode>FTContractFunctionCall. forMetadata(NearService nearService, java.lang.String contractAccountId)Builds a contract function call and returns a typed resultstatic FunctionCallResult<com.fasterxml.jackson.databind.JsonNode>FTContractFunctionCall. forTransferCall(NearService nearService, java.lang.String contractAccountId, FTTransferParam ftTransferParam)Builds a contract function call and returns a typed result -
Uses of NearService in com.syntifi.near.api.rpc.service.contract.nft
Methods in com.syntifi.near.api.rpc.service.contract.nft with parameters of type NearService Modifier and Type Method Description static FunctionCallResult<java.lang.String>NFTContractFunctionCall. forSupplyForOwner(NearService nearService, java.lang.String contractAccountId, AccountIdParam accountIdParam)Builds a contract function call and returns a typed resultstatic FunctionCallResult<com.fasterxml.jackson.databind.JsonNode>NFTContractFunctionCall. forTokens(NearService nearService, java.lang.String contractAccountId, NFTTokensParam nftTokensParam)Builds a contract function call and returns a typed resultstatic FunctionCallResult<NFTTokenList>NFTContractFunctionCall. forTokensForOwner(NearService nearService, java.lang.String contractAccountId, NFTTokensForOwnerParam nftTokensForOwnerParam)Builds a contract function call and returns a typed resultstatic FunctionCallResult<java.lang.String>NFTContractFunctionCall. forTotalSupply(NearService nearService, java.lang.String contractAccountId)Builds a contract function call and returns a typed resultstatic voidNFTContractFunctionCall. loadContractMetadata(NearService nearService, NFTContract contract)Builds a contract function call and returns a typed result -
Uses of NearService in com.syntifi.near.api.rpc.service.contract.staking
Methods in com.syntifi.near.api.rpc.service.contract.staking with parameters of type NearService Modifier and Type Method Description static FunctionCallResult<java.math.BigInteger>StakingContractFunctionCall. forAccountTotalBalance(NearService nearService, java.lang.String contractAccountId, AccountIdParam accountIdParam)Builds a contract function call and returns a typed result
-