Class InternalApiImpl
java.lang.Object
com.kryptokrauts.aeternity.generated.api.InternalApiImpl
- All Implemented Interfaces:
InternalApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-01-10T23:40:09.108255703Z[Etc/UTC]") public class InternalApiImpl extends java.lang.Object implements InternalApi
-
Constructor Summary
Constructors Constructor Description InternalApiImpl()
InternalApiImpl(ApiClient apiClient)
-
Method Summary
Modifier and Type Method Description void
deleteTxFromMempool(java.lang.String hash, io.vertx.core.Handler<io.vertx.core.AsyncResult<InlineResponse200>> resultHandler)
Delete a pending transaction from the mempoolvoid
dryRunTxs(DryRunInput dryRunInput, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<DryRunResults>> resultHandler)
Dry-run transactions on top of a given block.ApiClient
getApiClient()
void
getCheckTxInPool(java.lang.String hash, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<CheckTxInPoolResponse>> resultHandler)
Check if a transaction in the pool can be included in a microblock or if it is blocked by something: not enough tokens, missing nonce or something elsevoid
getCommitmentId(java.lang.String name, java.math.BigInteger salt, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<CommitmentId>> resultHandler)
Compute commitment ID for a given salt and namevoid
getNetworkStatus(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.Map<java.lang.String,PeerDetails>>> resultHandler)
Get detailed analytics on peersvoid
getNodeBeneficiary(io.vertx.core.Handler<io.vertx.core.AsyncResult<PubKey>> resultHandler)
Get node's beneficiary public keyvoid
getNodePubkey(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PubKey>> resultHandler)
Get node's public keyvoid
getPeers(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Peers>> resultHandler)
Get node Peersvoid
getPendingTransactions(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<SignedTxs>> resultHandler)
Get pending transactionsvoid
getTokenSupplyByHeight(java.math.BigInteger height, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<TokenSupply>> resultHandler)
Get total token supply at heightvoid
postChannelCloseMutual(ChannelCloseMutualTx channelCloseMutualTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a channel_close_mutual transaction objectvoid
postChannelCloseSolo(ChannelCloseSoloTx channelCloseSoloTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a channel_close_solo transaction objectvoid
postChannelCreate(ChannelCreateTx channelCreateTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a channel_create transaction objectvoid
postChannelDeposit(ChannelDepositTx channelDepositTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a channel_deposit transaction objectvoid
postChannelSetDelegates(ChannelSetDelegatesTx channelSetDelegatesTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a channel_set_delegates_tx transaction objectvoid
postChannelSettle(ChannelSettleTx channelSettleTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a channel_settle transaction objectvoid
postChannelSlash(ChannelSlashTx channelSlashTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a channel_slash transaction objectvoid
postChannelSnapshotSolo(ChannelSnapshotSoloTx channelSnapshotSoloTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a channel_snapshot_solo transaction objectvoid
postChannelWithdraw(ChannelWithdrawTx channelWithdrawTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a channel_withdrawal transaction objectvoid
postContractCall(ContractCallTx contractCallTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a contract_call transaction objectvoid
postContractCreate(ContractCreateTx contractCreateTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<CreateContractUnsignedTx>> resultHandler)
Get a contract_create transaction objectvoid
postKeyBlock(KeyBlock keyBlock, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> resultHandler)
Post a mined key blockvoid
postNameClaim(NameClaimTx nameClaimTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a name_claim transaction objectvoid
postNamePreclaim(NamePreclaimTx namePreclaimTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a name_preclaim transaction objectvoid
postNameRevoke(NameRevokeTx nameRevokeTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a name_revoke transaction objectvoid
postNameTransfer(NameTransferTx nameTransferTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a name_transfer transaction objectvoid
postNameUpdate(NameUpdateTx nameUpdateTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a name_update transaction objectvoid
postOracleExtend(OracleExtendTx oracleExtendTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get an oracle_extend transaction objectvoid
postOracleQuery(OracleQueryTx oracleQueryTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get an oracle_query transaction objectvoid
postOracleRegister(OracleRegisterTx oracleRegisterTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a oracle_register transaction objectvoid
postOracleRespond(OracleRespondTx oracleRespondTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get an oracle_response transaction objectvoid
postPayingFor(PayingForTx payingForTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a paying-for transaction objectvoid
postSpend(SpendTx spendTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a spend transaction objectvoid
setApiClient(ApiClient apiClient)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
InternalApiImpl
public InternalApiImpl() -
InternalApiImpl
-
-
Method Details
-
getApiClient
-
setApiClient
-
deleteTxFromMempool
public void deleteTxFromMempool(java.lang.String hash, io.vertx.core.Handler<io.vertx.core.AsyncResult<InlineResponse200>> resultHandler)Delete a pending transaction from the mempool- Specified by:
deleteTxFromMempool
in interfaceInternalApi
- Parameters:
hash
- The hash of the transaction (required)resultHandler
- Asynchronous result handler
-
dryRunTxs
public void dryRunTxs(DryRunInput dryRunInput, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<DryRunResults>> resultHandler)Dry-run transactions on top of a given block. Supports all TXs except GAMetaTx, PayingForTx and OffchainTx- Specified by:
dryRunTxs
in interfaceInternalApi
- Parameters:
dryRunInput
- transactions (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
getCheckTxInPool
public void getCheckTxInPool(java.lang.String hash, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<CheckTxInPoolResponse>> resultHandler)Check if a transaction in the pool can be included in a microblock or if it is blocked by something: not enough tokens, missing nonce or something else- Specified by:
getCheckTxInPool
in interfaceInternalApi
- Parameters:
hash
- The hash of the transaction (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
getCommitmentId
public void getCommitmentId(java.lang.String name, java.math.BigInteger salt, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<CommitmentId>> resultHandler)Compute commitment ID for a given salt and name- Specified by:
getCommitmentId
in interfaceInternalApi
- Parameters:
name
- Name (required)salt
- Salt (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
getNetworkStatus
public void getNetworkStatus(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.Map<java.lang.String,PeerDetails>>> resultHandler)Get detailed analytics on peers- Specified by:
getNetworkStatus
in interfaceInternalApi
- Parameters:
intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
getNodeBeneficiary
public void getNodeBeneficiary(io.vertx.core.Handler<io.vertx.core.AsyncResult<PubKey>> resultHandler)Get node's beneficiary public key- Specified by:
getNodeBeneficiary
in interfaceInternalApi
- Parameters:
resultHandler
- Asynchronous result handler
-
getNodePubkey
public void getNodePubkey(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PubKey>> resultHandler)Get node's public key- Specified by:
getNodePubkey
in interfaceInternalApi
- Parameters:
intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
getPeers
public void getPeers(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Peers>> resultHandler)Get node Peers- Specified by:
getPeers
in interfaceInternalApi
- Parameters:
intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
getPendingTransactions
public void getPendingTransactions(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<SignedTxs>> resultHandler)Get pending transactions- Specified by:
getPendingTransactions
in interfaceInternalApi
- Parameters:
intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
getTokenSupplyByHeight
public void getTokenSupplyByHeight(java.math.BigInteger height, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<TokenSupply>> resultHandler)Get total token supply at height- Specified by:
getTokenSupplyByHeight
in interfaceInternalApi
- Parameters:
height
- The height (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postChannelCloseMutual
public void postChannelCloseMutual(ChannelCloseMutualTx channelCloseMutualTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a channel_close_mutual transaction object- Specified by:
postChannelCloseMutual
in interfaceInternalApi
- Parameters:
channelCloseMutualTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postChannelCloseSolo
public void postChannelCloseSolo(ChannelCloseSoloTx channelCloseSoloTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a channel_close_solo transaction object- Specified by:
postChannelCloseSolo
in interfaceInternalApi
- Parameters:
channelCloseSoloTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postChannelCreate
public void postChannelCreate(ChannelCreateTx channelCreateTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a channel_create transaction object- Specified by:
postChannelCreate
in interfaceInternalApi
- Parameters:
channelCreateTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postChannelDeposit
public void postChannelDeposit(ChannelDepositTx channelDepositTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a channel_deposit transaction object- Specified by:
postChannelDeposit
in interfaceInternalApi
- Parameters:
channelDepositTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postChannelSetDelegates
public void postChannelSetDelegates(ChannelSetDelegatesTx channelSetDelegatesTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a channel_set_delegates_tx transaction object- Specified by:
postChannelSetDelegates
in interfaceInternalApi
- Parameters:
channelSetDelegatesTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postChannelSettle
public void postChannelSettle(ChannelSettleTx channelSettleTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a channel_settle transaction object- Specified by:
postChannelSettle
in interfaceInternalApi
- Parameters:
channelSettleTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postChannelSlash
public void postChannelSlash(ChannelSlashTx channelSlashTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a channel_slash transaction object- Specified by:
postChannelSlash
in interfaceInternalApi
- Parameters:
channelSlashTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postChannelSnapshotSolo
public void postChannelSnapshotSolo(ChannelSnapshotSoloTx channelSnapshotSoloTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a channel_snapshot_solo transaction object- Specified by:
postChannelSnapshotSolo
in interfaceInternalApi
- Parameters:
channelSnapshotSoloTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postChannelWithdraw
public void postChannelWithdraw(ChannelWithdrawTx channelWithdrawTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a channel_withdrawal transaction object- Specified by:
postChannelWithdraw
in interfaceInternalApi
- Parameters:
channelWithdrawTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postContractCall
public void postContractCall(ContractCallTx contractCallTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a contract_call transaction object- Specified by:
postContractCall
in interfaceInternalApi
- Parameters:
contractCallTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postContractCreate
public void postContractCreate(ContractCreateTx contractCreateTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<CreateContractUnsignedTx>> resultHandler)Get a contract_create transaction object- Specified by:
postContractCreate
in interfaceInternalApi
- Parameters:
contractCreateTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postKeyBlock
public void postKeyBlock(KeyBlock keyBlock, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> resultHandler)Post a mined key block- Specified by:
postKeyBlock
in interfaceInternalApi
- Parameters:
keyBlock
- Mined key block (required)resultHandler
- Asynchronous result handler
-
postNameClaim
public void postNameClaim(NameClaimTx nameClaimTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a name_claim transaction object- Specified by:
postNameClaim
in interfaceInternalApi
- Parameters:
nameClaimTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postNamePreclaim
public void postNamePreclaim(NamePreclaimTx namePreclaimTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a name_preclaim transaction object- Specified by:
postNamePreclaim
in interfaceInternalApi
- Parameters:
namePreclaimTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postNameRevoke
public void postNameRevoke(NameRevokeTx nameRevokeTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a name_revoke transaction object- Specified by:
postNameRevoke
in interfaceInternalApi
- Parameters:
nameRevokeTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postNameTransfer
public void postNameTransfer(NameTransferTx nameTransferTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a name_transfer transaction object- Specified by:
postNameTransfer
in interfaceInternalApi
- Parameters:
nameTransferTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postNameUpdate
public void postNameUpdate(NameUpdateTx nameUpdateTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a name_update transaction object- Specified by:
postNameUpdate
in interfaceInternalApi
- Parameters:
nameUpdateTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postOracleExtend
public void postOracleExtend(OracleExtendTx oracleExtendTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get an oracle_extend transaction object- Specified by:
postOracleExtend
in interfaceInternalApi
- Parameters:
oracleExtendTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postOracleQuery
public void postOracleQuery(OracleQueryTx oracleQueryTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get an oracle_query transaction object- Specified by:
postOracleQuery
in interfaceInternalApi
- Parameters:
oracleQueryTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postOracleRegister
public void postOracleRegister(OracleRegisterTx oracleRegisterTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a oracle_register transaction object- Specified by:
postOracleRegister
in interfaceInternalApi
- Parameters:
oracleRegisterTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postOracleRespond
public void postOracleRespond(OracleRespondTx oracleRespondTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get an oracle_response transaction object- Specified by:
postOracleRespond
in interfaceInternalApi
- Parameters:
oracleRespondTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postPayingFor
public void postPayingFor(PayingForTx payingForTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a paying-for transaction object- Specified by:
postPayingFor
in interfaceInternalApi
- Parameters:
payingForTx
- A paying-for transaction (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postSpend
public void postSpend(SpendTx spendTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a spend transaction object- Specified by:
postSpend
in interfaceInternalApi
- Parameters:
spendTx
- A spend transaction (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-