ApiProvider class
Constructors
-
ApiProvider.new({required APIConfig api, Map<
String, String> ? header, required ApiService service}) -
ApiProvider.fromBlocCypher(BasedUtxoNetwork network, ApiService service, {Map<
String, String> ? header}) -
factory
-
ApiProvider.fromMempool(BasedUtxoNetwork network, ApiService service, {Map<
String, String> ? header}) -
factory
Properties
- api → APIConfig
-
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 → ApiService
-
final
Methods
-
getAccountTransactions<
T> (String address, {String tokenize(String)?}) → Future< List< T> > -
getAccountUtxo(
UtxoAddressDetails owner, {String tokenize(String)?}) → Future< List< UtxoWithAddress> > -
getNetworkFeeRate(
{String tokenize(String)?}) → Future< BitcoinFeeRate> -
getTransaction<
T> (String transactionId, {String tokenize(String)?}) → Future< T> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendRawTransaction(
String txDigest, {String tokenize(String)?}) → Future< String> -
testmempool(
List params) → Future< Map< String, dynamic> > -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited