Skip to main content

PowTask

Round the current running result to an exponential power.

Input: The current running numerical result.

Returns: The input raised to an exponential power.

Example: Raise 2 to the power of 3, 2^3

{
"tasks": [
{
"valueTask": {
"value": 2
}
},
{
"powTask": {
"scalar": 3
}
}
]
}


Fields

NameTypeDescription
 aggregatorPubkey

string

Take the working value to the exponent of the aggregators value.

 big

string

A stringified big.js. Accepts variable expansion syntax.

 scalar

double

Take the working value to the exponent of value.