ApiTx class
Constructors
- ApiTx(PolkawalletApi apiRoot, ServiceTx service)
Properties
- apiRoot → PolkawalletApi
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- service → ServiceTx
-
final
Methods
-
estimateFees(
TxInfoData txInfo, List params, {String? rawParam, String? jsApi}) → Future< TxFeeEstimateResult> -
Estimate tx fees,
params
will be ignored if we haverawParam
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
signAndSend(
TxInfoData txInfo, List params, String password, {dynamic onStatusChange(String)?, String? rawParam}) → Future< Map> -
Send tx,
params
will be ignored if we haverawParam
.onStatusChange
is a callback when tx status change. @return txHashstring
if tx finalized success. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited