ContractApi class abstract

Implementers

Constructors

ContractApi()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

callOffchainMethod<T>(Map<String, dynamic> params) Future<T>
createContractAddress<T>(ViteAddress address, String currentHeight, String previousHash) Future<T>
getContractInfo<T>(ViteAddress address) Future<T>
getContractStorage<T>(ViteAddress address, String key) Future<T>
getDelegatedStakeInfo<T>(Map<String, dynamic> request) Future<T>
getQuotaByAccount<T>(ViteAddress address) Future<T>
getRequiredStakeAmount<T>(String quotaPerSecond) Future<T>
getSbp<T>(String sbpName) Future<T>
getSbpList<T>(ViteAddress address) Future<List<T>>
getSbpRewardByCycle<T>(String cycle) Future<T>
getSbpRewardByTimestamp<T>(int timestamp) Future<T>
getSbpRewardPendingWithdrawal<T>(String sbpName) Future<T>
getSbpVoteDetailsByCycle<T>(String cycle) Future<List<T>>
getSbpVoteList<T>() Future<List<T>>
getStakeList<T>(ViteAddress address, [int pageIndex = 0, int pageSize = 10]) Future<T>
getTokenInfoById<T>(TokenId tokenId) Future<T>
getTokenInfoList<T>(int pageIndex, int pageSize) Future<T>
getTokenInfoListByOwner<T>(ViteAddress address) Future<List<T>>
getVotedSbp<T>(ViteAddress address) Future<T?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query<T>(Map<String, dynamic> params) Future<T>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited