RpcContract class abstract
- Implemented types
- Implementers
Constructors
Properties
- api → RpcApi
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isClosed → bool
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- typeMapping → TypeMapping
-
no setterinherited
Methods
-
callOffchainMethod(
RpcContractCallParams params) → Future< RpcBase64> -
close(
) → Future< void> -
inherited
-
convertJson<
T> (dynamic json) → T -
inherited
-
createContractAddress(
ViteAddress address, String currentHeight, RpcHash previousHash) → Future< ViteAddress> -
getContractInfo(
ViteAddress address) → Future< RpcContractInfo> -
getContractStorage(
ViteAddress address, RpcHex key) → Future< Map< RpcHex, RpcHex> > -
getDelegatedStakeInfo(
RpcStakeInfoRequest request) → Future< RpcStakeInfo> -
getQuotaByAccount(
ViteAddress address) → Future< RpcQuotaInfo> -
getRequiredStakeAmount(
RpcUint64 quotaPerSecond) → Future< RpcBigInt> -
getSbp(
String sbpName) → Future< RpcSbpInfo> -
getSbpList(
ViteAddress address) → Future< List< RpcSbpInfo> > -
getSbpRewardByCycle(
RpcUint64 cycle) → Future< RpcRewardByDayInfo> -
getSbpRewardByTimestamp(
int timestamp) → Future< RpcRewardByDayInfo> -
getSbpRewardPendingWithdrawal(
String sbpName) → Future< RpcRewardInfo> -
getSbpVoteDetailsByCycle(
RpcUint64 cycle) → Future< List< RpcSbpVoteDetail> > -
getSbpVoteList(
) → Future< List< RpcSbpVoteInfo> > -
getStakeList(
ViteAddress address, [int pageIndex = 0, int pageSize = 10]) → Future< RpcStakeListInfo> -
getTokenInfoById(
TokenId tokenId) → Future< RpcTokenInfo> -
getTokenInfoList(
int pageIndex, int pageSize) → Future< RpcTokenListInfo> -
getTokenInfoListByOwner(
ViteAddress address) → Future< List< RpcTokenInfo> > -
getVotedSbp(
ViteAddress address) → Future< RpcVoteInfo?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
query(
RpcQueryParams params) → Future< RpcBase64> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- factories → TypeMapping
-
final