EOSClient class
EOSClient calls APIs against given EOS 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, EOSPrivateKey> -
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 EOS abi from account name
-
getAccount(
String accountName) → Future< Account> - Get EOS account info form the given account name
-
getActions(
String accountName, {int pos = -1, int offset = -1}) → Future< Actions> - Get EOS account actions
-
getBlock(
String blockNumOrId) → Future< Block> - Get EOS Block Info
-
getBlockHeaderState(
String blockNumOrId) → Future< BlockHeaderState> - Get EOS Block Header State
-
getCurrencyBalance(
String code, String account, [String? symbol]) → Future< List< Holding> > - Get EOS account info form the given account name
-
getInfo(
) → Future< NodeInfo> - Get EOS Node Info
-
getKeyAccounts(
String pubKey) → Future< AccountNames> - Get Key Accounts
-
getRawAbi(
String accountName) → Future< AbiResp> - Get EOS raw abi from account name
-
getRawCodeAndAbi(
String accountName) → Future< AbiResp> - Get EOS raw code and abi from account name
-
getRequiredKeys(
Transaction transaction, List< String> availableKeys) → Future<RequiredKeys> - Get required key by transaction from EOS 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 (eosio 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 (eosio get table ...)
-
getTransaction(
String id, {int? blockNumHint}) → Future< TransactionBlock> - Get EOS 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}) → Future - Push transaction to EOS chain
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited