Uses of Class
com.syntifi.near.api.common.model.key.PublicKey
-
-
Uses of PublicKey in com.syntifi.near.api.common.model.key
Methods in com.syntifi.near.api.common.model.key that return PublicKey Modifier and Type Method Description static PublicKey
PublicKey. getPublicKeyFromJson(java.lang.String base58String)
-
Uses of PublicKey in com.syntifi.near.api.rpc.service
Methods in com.syntifi.near.api.rpc.service that return PublicKey Modifier and Type Method Description static PublicKey
KeyService. derivePublicKey(PrivateKey privateKey)
Returns a public key generated form the private keyMethods in com.syntifi.near.api.rpc.service with parameters of type PublicKey Modifier and Type Method Description static TransactionAwait
AccountService. createNamedAccount(Network network, 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 usingNearClient.sendTransactionAwait(String)
static TransactionAwait
AccountService. createNamedAccount(NearClient nearClient, 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 usingNearClient.sendTransactionAwait(String)
static EncodedHash
AccountService. createNamedAccountAsync(Network network, java.lang.String newAccountId, PublicKey newAccountPublicKey, java.math.BigInteger amountToNewAccount, java.lang.String creatorAccountId, PublicKey creatorPublicKey, PrivateKey creatorPrivateKey)
Sends aTransferAction
transaction async usingNearClient.sendTransactionAsync(String)
with the needed actions to generate a named account and waits for result usingNearClient.sendTransactionAwait(String)
static EncodedHash
AccountService. createNamedAccountAsync(NearClient nearClient, 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 usingNearClient.sendTransactionAsync(String)
with the needed actions to generate a named account and waits for result usingNearClient.sendTransactionAwait(String)
static TransactionAwait
AccountService. createSubAccount(NearClient nearClient, 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 usingNearClient.sendTransactionAwait(String)
static EncodedHash
AccountService. createSubAccountAsync(NearClient nearClient, java.lang.String newAccountId, java.math.BigInteger amountToNewAccount, java.lang.String creatorAccountId, PublicKey creatorPublicKey, PrivateKey creatorPrivateKey)
Sends aTransferAction
transaction async usingNearClient.sendTransactionAsync(String)
with the needed actions to generate a sub account and waits for result usingNearClient.sendTransactionAwait(String)
static java.lang.String
TransactionService. prepareTransactionForActionList(NearClient nearClient, 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
TransactionService. prepareTransactionForActionList(NearClient nearClient, 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
TransferService. sendTransactionAsync(NearClient nearClient, 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 usingNearClient.sendTransactionAsync(String)
static TransactionAwait
TransferService. sendTransactionAwait(NearClient nearClient, 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 usingNearClient.sendTransactionAwait(String)
static EncodedHash
TransferService. sendTransferActionAsync(NearClient nearClient, java.lang.String signerId, java.lang.String receiverId, PublicKey signerPublicKey, PrivateKey signerPrivateKey, java.math.BigInteger amount)
Sends aTransferAction
transaction async usingNearClient.sendTransactionAsync(String)
static TransactionAwait
TransferService. sendTransferActionAwait(NearClient nearClient, java.lang.String signerId, java.lang.String receiverId, PublicKey signerPublicKey, PrivateKey signerPrivateKey, java.math.BigInteger amount)
Sends aTransferAction
transaction waiting for result usingNearClient.sendTransactionAwait(String)
-
Uses of PublicKey in com.syntifi.near.api.rpc.service.contract.common
Methods in com.syntifi.near.api.rpc.service.contract.common with parameters of type PublicKey Modifier and Type Method Description TransactionAwait
ContractMethodProxy. invoke(NearClient nearClient, java.lang.String contractAccountId, java.lang.String methodName, ContractMethodType methodType, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey, com.fasterxml.jackson.databind.node.ObjectNode arguments, java.math.BigInteger deposit)
Proxy invoke the contracts call methods via signed transactionsTransactionAwait
ContractMethodProxyClient. invoke(NearClient nearClient, java.lang.String contractAccountId, java.lang.String methodName, ContractMethodType methodType, java.lang.String accountId, PublicKey accountPublicKey, PrivateKey accountPrivateKey, com.fasterxml.jackson.databind.node.ObjectNode arguments, java.math.BigInteger deposit)
EncodedHash
ContractMethodProxy. invokeAsync(NearClient nearClient, java.lang.String contractAccountId, java.lang.String methodName, ContractMethodType methodType, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey, com.fasterxml.jackson.databind.node.ObjectNode arguments, java.math.BigInteger deposit)
Proxy invoke the contracts call methods via signed transactions asyncEncodedHash
ContractMethodProxyClient. invokeAsync(NearClient nearClient, java.lang.String contractAccountId, java.lang.String methodName, ContractMethodType methodType, java.lang.String accountId, PublicKey accountPublicKey, PrivateKey accountPrivateKey, com.fasterxml.jackson.databind.node.ObjectNode arguments, java.math.BigInteger deposit)
-
Uses of PublicKey in com.syntifi.near.api.rpc.service.contract.ft
Methods in com.syntifi.near.api.rpc.service.contract.ft with parameters of type PublicKey Modifier and Type Method Description TransactionAwait
FTService. callTransfer(NearClient nearClient, java.lang.String tokenId, java.lang.String amount, java.lang.String receiverId, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey)
Synchronous contractCall to transfer ftTransactionAwait
FTService. callTransfer(NearClient nearClient, java.lang.String tokenId, java.lang.String amount, java.lang.String receiverId, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey, java.lang.String memo)
Synchronous contractCall to transfer ftEncodedHash
FTService. callTransferAsync(NearClient nearClient, java.lang.String tokenId, java.lang.String amount, java.lang.String receiverId, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey)
Asynchronous contractCall to transfer ftEncodedHash
FTService. callTransferAsync(NearClient nearClient, java.lang.String tokenId, java.lang.String amount, java.lang.String receiverId, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey, java.lang.String memo)
Asynchronous contractCall to transfer ftTransactionAwait
FTService. callTransferCall(NearClient nearClient, java.lang.String tokenId, java.lang.String amount, java.lang.String receiverId, java.lang.String accountId, java.lang.String msg, PublicKey publicKey, PrivateKey privateKey)
Synchronous contractCall to transfer_call ftTransactionAwait
FTService. callTransferCall(NearClient nearClient, java.lang.String tokenId, java.lang.String amount, java.lang.String receiverId, java.lang.String accountId, java.lang.String msg, PublicKey publicKey, PrivateKey privateKey, java.lang.String memo)
Synchronous contractCall to transfer_call ftEncodedHash
FTService. callTransferCallAsync(NearClient nearClient, java.lang.String tokenId, java.lang.String amount, java.lang.String receiverId, java.lang.String accountId, java.lang.String msg, PublicKey publicKey, PrivateKey privateKey)
Asynchronous contractCall to transfer_call ftEncodedHash
FTService. callTransferCallAsync(NearClient nearClient, java.lang.String tokenId, java.lang.String amount, java.lang.String receiverId, java.lang.String accountId, java.lang.String msg, PublicKey publicKey, PrivateKey privateKey, java.lang.String memo)
Asynchronous contractCall to transfer_call ft -
Uses of PublicKey in com.syntifi.near.api.rpc.service.contract.nft
Methods in com.syntifi.near.api.rpc.service.contract.nft with parameters of type PublicKey Modifier and Type Method Description TransactionAwait
NFTService. callTransfer(NearClient nearClient, java.lang.String contractAccountId, java.lang.String receiverAccountId, java.lang.String tokenId, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey, java.math.BigInteger deposit)
Synchronous contractCall to transfer nftEncodedHash
NFTService. callTransferAsync(NearClient nearClient, java.lang.String contractAccountId, java.lang.String receiverAccountId, java.lang.String tokenId, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey, java.math.BigInteger deposit)
Asynchronous contractCall to transfer nft -
Uses of PublicKey in com.syntifi.near.api.rpc.service.contract.staking
Methods in com.syntifi.near.api.rpc.service.contract.staking with parameters of type PublicKey Modifier and Type Method Description TransactionAwait
StakingService. callClaim(NearClient nearClient, java.lang.String contractAccountId, java.math.BigInteger amount, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey)
Synchronous contractCall to claim rewards from contractAccountIdEncodedHash
StakingService. callClaimAsync(NearClient nearClient, java.lang.String contractAccountId, java.math.BigInteger amount, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey)
Asynchronous contractCall to claim rewards from contractAccountIdTransactionAwait
StakingService. callDeposit(NearClient nearClient, java.lang.String contractAccountId, java.math.BigInteger amount, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey)
Synchronous contractCall to deposit an amount to the contractAccountIdTransactionAwait
StakingService. callDepositAndStake(NearClient nearClient, java.lang.String contractAccountId, java.math.BigInteger amount, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey)
Synchronous contractCall to deposit and stake an amount to the contractAccountIdEncodedHash
StakingService. callDepositAndStakeAsync(NearClient nearClient, java.lang.String contractAccountId, java.math.BigInteger amount, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey)
Asynchronous contractCall to deposit and stake an amount to the contractAccountIdEncodedHash
StakingService. callDepositAsync(NearClient nearClient, java.lang.String contractAccountId, java.math.BigInteger amount, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey)
Asynchronous contractCall to deposit an amount to the contractAccountIdTransactionAwait
StakingService. callPing(NearClient nearClient, java.lang.String contractAccountId, java.math.BigInteger amount, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey)
Synchronous contractCall to ping contractAccountIdEncodedHash
StakingService. callPingAsync(NearClient nearClient, java.lang.String contractAccountId, java.math.BigInteger amount, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey)
Asynchronous contractCall to ping contractAccountIdTransactionAwait
StakingService. callStake(NearClient nearClient, java.lang.String contractAccountId, java.math.BigInteger amount, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey)
Synchronous contractCall to stake an amount to the contractAccountIdTransactionAwait
StakingService. callStakeAll(NearClient nearClient, java.lang.String contractAccountId, java.math.BigInteger amount, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey)
Synchronous contractCall to stake all available balance in the contractAccountIdEncodedHash
StakingService. callStakeAllAsync(NearClient nearClient, java.lang.String contractAccountId, java.math.BigInteger amount, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey)
Asynchronous contractCall to stake all available balance in the contractAccountIdEncodedHash
StakingService. callStakeAsync(NearClient nearClient, java.lang.String contractAccountId, java.math.BigInteger amount, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey)
Asynchronous contractCall to stake an amount to the contractAccountIdTransactionAwait
StakingService. callUnstake(NearClient nearClient, java.lang.String contractAccountId, java.lang.String amount, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey)
Synchronous contractCall to unstake an amount to the contractAccountIdEncodedHash
StakingService. callUnstakeAsync(NearClient nearClient, java.lang.String contractAccountId, java.lang.String amount, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey)
Asynchronous contractCall to unstake an amount to the contractAccountIdTransactionAwait
StakingService. callWithdraw(NearClient nearClient, java.lang.String contractAccountId, java.math.BigInteger amount, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey)
Synchronous contractCall to withdraw an amount to the contractAccountIdEncodedHash
StakingService. callWithdrawAsync(NearClient nearClient, java.lang.String contractAccountId, java.math.BigInteger amount, java.lang.String accountId, PublicKey publicKey, PrivateKey privateKey)
Asynchronous contractCall to withdraw an amount to the contractAccountId
-