Class DebugApiImpl
java.lang.Object
com.kryptokrauts.aeternity.generated.api.DebugApiImpl
- All Implemented Interfaces:
DebugApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-01-10T23:40:09.108255703Z[Etc/UTC]")
public class DebugApiImpl
extends java.lang.Object
implements DebugApi
-
Constructor Summary
Constructors Constructor Description DebugApiImpl()DebugApiImpl(ApiClient apiClient) -
Method Summary
Modifier and Type Method Description voiddryRunTxs(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.ApiClientgetApiClient()voidgetCheckTxInPool(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 elsevoidgetCommitmentId(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 namevoidgetNetworkStatus(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.Map<java.lang.String,PeerDetails>>> resultHandler)Get detailed analytics on peersvoidgetNodeBeneficiary(io.vertx.core.Handler<io.vertx.core.AsyncResult<PubKey>> resultHandler)Get node's beneficiary public keyvoidgetNodePubkey(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PubKey>> resultHandler)Get node's public keyvoidgetPeers(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<Peers>> resultHandler)Get node PeersvoidgetPendingTransactions(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<SignedTxs>> resultHandler)Get pending transactionsvoidgetTokenSupplyByHeight(java.math.BigInteger height, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<TokenSupply>> resultHandler)Get total token supply at heightvoidpostChannelCloseMutual(ChannelCloseMutualTx channelCloseMutualTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a channel_close_mutual transaction objectvoidpostChannelCloseSolo(ChannelCloseSoloTx channelCloseSoloTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a channel_close_solo transaction objectvoidpostChannelCreate(ChannelCreateTx channelCreateTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a channel_create transaction objectvoidpostChannelDeposit(ChannelDepositTx channelDepositTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a channel_deposit transaction objectvoidpostChannelSetDelegates(ChannelSetDelegatesTx channelSetDelegatesTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a channel_set_delegates_tx transaction objectvoidpostChannelSettle(ChannelSettleTx channelSettleTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a channel_settle transaction objectvoidpostChannelSlash(ChannelSlashTx channelSlashTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a channel_slash transaction objectvoidpostChannelSnapshotSolo(ChannelSnapshotSoloTx channelSnapshotSoloTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a channel_snapshot_solo transaction objectvoidpostChannelWithdraw(ChannelWithdrawTx channelWithdrawTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a channel_withdrawal transaction objectvoidpostContractCall(ContractCallTx contractCallTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a contract_call transaction objectvoidpostContractCreate(ContractCreateTx contractCreateTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<CreateContractUnsignedTx>> resultHandler)Get a contract_create transaction objectvoidpostNameClaim(NameClaimTx nameClaimTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a name_claim transaction objectvoidpostNamePreclaim(NamePreclaimTx namePreclaimTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a name_preclaim transaction objectvoidpostNameRevoke(NameRevokeTx nameRevokeTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a name_revoke transaction objectvoidpostNameTransfer(NameTransferTx nameTransferTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a name_transfer transaction objectvoidpostNameUpdate(NameUpdateTx nameUpdateTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a name_update transaction objectvoidpostOracleExtend(OracleExtendTx oracleExtendTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get an oracle_extend transaction objectvoidpostOracleQuery(OracleQueryTx oracleQueryTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get an oracle_query transaction objectvoidpostOracleRegister(OracleRegisterTx oracleRegisterTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a oracle_register transaction objectvoidpostOracleRespond(OracleRespondTx oracleRespondTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get an oracle_response transaction objectvoidpostPayingFor(PayingForTx payingForTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a paying-for transaction objectvoidpostSpend(SpendTx spendTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a spend transaction objectvoidsetApiClient(ApiClient apiClient)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DebugApiImpl
public DebugApiImpl() -
DebugApiImpl
-
-
Method Details
-
getApiClient
-
setApiClient
-
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 -
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:
getCheckTxInPoolin interfaceDebugApi- 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:
getCommitmentIdin interfaceDebugApi- 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:
getNetworkStatusin interfaceDebugApi- 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:
getNodeBeneficiaryin interfaceDebugApi- 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:
getNodePubkeyin interfaceDebugApi- 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 -
getPendingTransactions
public void getPendingTransactions(java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<SignedTxs>> resultHandler)Get pending transactions- Specified by:
getPendingTransactionsin interfaceDebugApi- 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:
getTokenSupplyByHeightin interfaceDebugApi- 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:
postChannelCloseMutualin interfaceDebugApi- 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:
postChannelCloseSoloin interfaceDebugApi- 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:
postChannelCreatein interfaceDebugApi- 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:
postChannelDepositin interfaceDebugApi- 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:
postChannelSetDelegatesin interfaceDebugApi- 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:
postChannelSettlein interfaceDebugApi- 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:
postChannelSlashin interfaceDebugApi- 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:
postChannelSnapshotSoloin interfaceDebugApi- 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:
postChannelWithdrawin interfaceDebugApi- 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:
postContractCallin interfaceDebugApi- 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:
postContractCreatein interfaceDebugApi- 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
-
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:
postNameClaimin interfaceDebugApi- 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:
postNamePreclaimin interfaceDebugApi- 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:
postNameRevokein interfaceDebugApi- 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:
postNameTransferin interfaceDebugApi- 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:
postNameUpdatein interfaceDebugApi- 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:
postOracleExtendin interfaceDebugApi- 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:
postOracleQueryin interfaceDebugApi- 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:
postOracleRegisterin interfaceDebugApi- 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:
postOracleRespondin interfaceDebugApi- 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:
postPayingForin interfaceDebugApi- 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
-