getContractFields abstract method
Future<(Map<String, dynamic> ?, FullContractState?)>
getContractFields({
- required Address address,
- required String contractAbi,
- FullContractState? cachedState,
Get contract fields of address
and return (Map<String, dynamic>, state)
or throw error.
This method automatically loads state by calling getFullContractState if
cachedState
is null.
Implementation
Future<(Map<String, dynamic>?, FullContractState?)> getContractFields({
required Address address,
required String contractAbi,
FullContractState? cachedState,
});