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 NearService
NearServiceHelper. getService(Network network)
static NearService
NearService. usingNetwork(Network network)
NearService builderMethods in com.syntifi.near.api.rpc.service with parameters of type NearService Modifier and Type Method Description static TransactionAwait
AccountService. 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 aTransferAction
transaction calling a contract to create_account and waits for result usingsendTransactionAwait(String)
static EncodedHash
AccountService. 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 aTransferAction
transaction async usingsendTransactionAsync(String)
with the needed actions to generate a named account and waits for result usingsendTransactionAwait(String)
static TransactionAwait
AccountService. createSubAccount(NearService nearService, java.lang.String newAccountId, java.math.BigInteger amountToNewAccount, java.lang.String creatorAccountId, PublicKey creatorPublicKey, PrivateKey creatorPrivateKey)
Sends aTransferAction
transaction with the needed actions to generate a sub account and waits for result usingsendTransactionAwait(String)
static EncodedHash
AccountService. createSubAccountAsync(NearService nearService, java.lang.String newAccountId, java.math.BigInteger amountToNewAccount, java.lang.String creatorAccountId, PublicKey creatorPublicKey, PrivateKey creatorPrivateKey)
Sends aTransferAction
transaction async usingsendTransactionAsync(String)
with the needed actions to generate a sub account and waits for result usingsendTransactionAwait(String)
static java.lang.String
BaseService. 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.String
BaseService. 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 EncodedHash
TransactionService. sendTransactionAsync(NearService nearService, java.lang.String signerId, java.lang.String receiverId, PublicKey signerPublicKey, PrivateKey signerPrivateKey, java.util.List<Action> actionList)
Sends a list ofAction
transaction waiting for result usingsendTransactionAsync(String)
static TransactionAwait
TransactionService. sendTransactionAwait(NearService nearService, java.lang.String signerId, java.lang.String receiverId, PublicKey signerPublicKey, PrivateKey signerPrivateKey, java.util.List<Action> actionList)
Sends a list ofAction
transaction waiting for result usingsendTransactionAwait(String)
static EncodedHash
TransactionService. sendTransferActionAsync(NearService nearService, java.lang.String signerId, java.lang.String receiverId, PublicKey signerPublicKey, PrivateKey signerPrivateKey, java.math.BigInteger amount)
Sends aTransferAction
transaction async usingsendTransactionAsync(String)
static TransactionAwait
TransactionService. sendTransferActionAwait(NearService nearService, java.lang.String signerId, java.lang.String receiverId, PublicKey signerPublicKey, PrivateKey signerPrivateKey, java.math.BigInteger amount)
Sends aTransferAction
transaction 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 ContractFunctionCallResult
FunctionCall. 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 void
NFTContractFunctionCall. 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
-