a required delegate stack extend STX options object
As a delegator, generate and broadcast transactions to stack increase for multiple delegatees.
that resolves to a broadcasted txid if the operation succeeds
a required delegate stack increase STX options object
Generate and broadcast a stacking transaction to extend locked STX (pox-2.stack-extend
)
a broadcasted txid if the operation succeeds
a required extend STX options object
Generate and broadcast a stacking transaction to increase locked STX (pox-2.stack-increase
)
a broadcasted txid if the operation succeeds
a required increase STX options object
Check if account can lock stx
that resolves to a StackingEligibility object if the operation succeeds
a required lock STX options object
As a delegator, generate and broadcast transactions to stack for multiple delegatees. This will lock up tokens owned by the delegatees.
that resolves to a broadcasted txid if the operation succeeds
a required delegate stack STX options object
As a delegatee, generate and broadcast a transaction to create a delegation relationship
that resolves to a broadcasted txid if the operation succeeds
a required delegate STX options object
Get extended account balances
promise resolves to a bigint if the operation succeeds
Optional
poxOptional
untilOptional
nonce?: IntegerTypeOptional
nonce?: IntegerTypeOptional
nonce?: IntegerTypeCheck delegation status
that resolves to a DelegationInfo object if the operation succeeds
Get information on current PoX operation
Periods:
that resolves to PoX operation info
Optional
poxInfo: PoxInfoGet burnchain rewards holders for the set address
that resolves to RewardHoldersResponse or RewardsError
Optional
options: PaginationOptionsGet PoX address from reward set by index
that resolves to RewardSetInfo if the entry exists
Get burnchain rewards for the set address
that resolves to RewardsResponse or RewardsError
Optional
options: PaginationOptionsGet the total burnchain rewards total for the set address
that resolves to TotalRewardsResponse or RewardsError
Check stacking status
that resolves to a StackerInfo object if the operation succeeds
Adjust microstacks amount for locking after taking into account transaction fees
that resolves to a transaction object if the operation succeeds
As a delegatee, generate and broadcast a transaction to terminate the delegation relationship
that resolves to a broadcasted txid if the operation succeeds
the private key to be used for the revoke call
Generate and broadcast a stacking transaction to lock STX
that resolves to a broadcasted txid if the operation succeeds
a required lock STX options object
As a delegator, generate and broadcast a transaction to commit partially committed delegatee tokens
that resolves to a broadcasted txid if the operation succeeds
a required stack aggregation commit options object
As a delegator, generate and broadcast a transaction to increase partial commitment committed delegatee tokens
Commit partially stacked STX to a PoX address which has already received some STX (more than the Stacking min). This allows a delegator to lock up marginally more STX from new delegates, even if they collectively do not exceed the Stacking minimum, so long as the target PoX address already represents at least as many STX as the Stacking minimum.
The rewardCycleIndex
is emitted as a contract event from stack-aggregation-commit
when the initial STX are
locked up by this delegator. It must be passed here to add more STX behind this PoX address.
A delegator can also use stackAggregationCommitIncreaseIndexed
to receive the rewardCycleIndex
of their
PoX address.
that resolves to a broadcasted txid if the operation succeeds
a required stack aggregation commit options object
As a delegator, generate and broadcast a transaction to commit partially committed delegatee tokens
Commit partially stacked STX and allocate a new PoX reward address slot. This allows a stacker/delegate to lock fewer STX than the minimal threshold in multiple transactions, so long as: 1. The pox-addr is the same. 2. This "commit" transaction is called before the PoX anchor block. This ensures that each entry in the reward set returned to the stacks-node is greater than the threshold, but does not require it be all locked up within a single transaction
stack-aggregation-commit-indexed
returns (ok uint) on success, where the given uint is the reward address's index in the list of reward
addresses allocated in this reward cycle. This index can then be passed to stack-aggregation-increase
to later increment the STX this PoX address represents, in amounts less than the stacking minimum.
that resolves to a broadcasted txid if the operation succeeds
a required stack aggregation commit options object
Generated using TypeDoc
As a delegator, generate and broadcast transactions to extend stack for multiple delegatees.
Returns
that resolves to a broadcasted txid if the operation succeeds