AMAXClient class
AMAXClient calls APIs against given AMAX nodes
Constructors
Properties
-
abiTypes
↔ Map<
String, Type> -
Converts abi files between binary and structured form (
abi.abi.json
) */getter/setter pair - expirationInSec ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpTimeout ↔ int
-
getter/setter pair
-
keys
↔ Map<
String, AMAXPrivateKey> -
getter/setter pair
-
privateKeys
← List<
String> -
no getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
transactionTypes
↔ Map<
String, Type> -
getter/setter pair
Methods
-
getAbi(
String accountName) → Future< AbiResp> - Get AMAX abi from account name
-
getAccount(
String accountName) → Future< Account> - Get AMAX account info form the given account name
-
getActions(
String accountName, {int pos = -1, int offset = -1}) → Future< Actions> - Get AMAX account actions
-
getBlock(
String blockNumOrId) → Future< Block> - Get AMAX Block Info
-
getBlockHeaderState(
String blockNumOrId) → Future< BlockHeaderState> - Get AMAX Block Header State
-
getCurrencyBalance(
String code, String account, [String? symbol]) → Future< List< Holding> > - Get AMAX account info form the given account name
-
getInfo(
) → Future< NodeInfo> - Get AMAX Node Info
-
getKeyAccounts(
String pubKey) → Future< AccountNames> - Get Key Accounts
-
getRawAbi(
String accountName) → Future< AbiResp> - Get AMAX raw abi from account name
-
getRawCodeAndAbi(
String accountName) → Future< AbiResp> - Get AMAX raw code and abi from account name
-
getRequiredKeys(
Transaction transaction, List< String> availableKeys) → Future<RequiredKeys> - Get required key by transaction from AMAX blockchain
-
getTableRow(
String code, String scope, String table, {bool json = true, String tableKey = '', String lower = '', String upper = '', int indexPosition = 1, String keyType = '', bool reverse = false}) → Future< Map< String, dynamic> ?> - Get table row (AMAX get table ...)
-
getTableRows(
String code, String scope, String table, {bool json = true, String tableKey = '', String lower = '', String upper = '', int indexPosition = 1, String keyType = '', int limit = 10, bool reverse = false}) → Future< List< Map< >String, dynamic> > - Get table rows (AMAX get table ...)
-
getTransaction(
String id, {int? blockNumHint}) → Future< TransactionBlock> - Get AMAX transaction
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pushTransaction(
Transaction transaction, {bool broadcast = true, bool sign = true, int blocksBehind = 3, int expireSecond = 180, bool autoFill = true}) → Future - Push transaction to AMAX chain
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited