JsonRpcProvider mixin

Mixin Applications

Properties

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

Methods

devInspectTransaction(String sender, Uint8List txBytes, {BigInt? gasPrice, String? epoch}) Future<DevInspectResults>
dryRunTransactionBlock(String txBytes) Future<DryRunTransactionBlockResponse>
executeTransaction({required Uint8List txnBytes, required SignatureScheme signatureScheme, required Uint8List signature, required PublicKey pubkey, SuiTransactionBlockResponseOptions? options, ExecuteTransaction requestType = ExecuteTransaction.WaitForEffectsCert}) Future<SuiExecuteTransactionResponse>
executeTransactionBlock(String transactionBlockBase64, List<String> signature, {SuiTransactionBlockResponseOptions? options, ExecuteTransaction requestType = ExecuteTransaction.WaitForEffectsCert}) Future<SuiTransactionBlockResponse>
getAllBalance(String owner) Future<List<CoinBalance>>
getAllCoins(String owner, {String? cursor, int? limit}) Future<PaginatedCoins>
getBalance(String owner, {String coinType = "0x2::sui::SUI"}) Future<CoinBalance>
getBalanceBatch(List<String> owner, {String coinType = "0x2::sui::SUI"}) Future<List<CoinBalance>>
getChainIdentifier() Future<String>
getCheckpoint(String id) Future<Checkpoint>
getCheckpoints({String? cursor, int? limit, bool descendingOrder = false}) Future<Paged<List<Checkpoint>>>
getCoinBalancesOwnedByAddress(String address, {String? typeArg}) Future<List<SuiObjectResponse>>
getCoinMetadata(String coinType) Future<CoinMetadataStruct>
getCoins(String owner, {String? coinType, String? cursor, int? limit}) Future<PaginatedCoins>
getCommitteeInfo([String? epoch]) Future<CommitteeInfo>
getCurrentEpoch() Future
getDynamicFieldObject(String parentObjectId, String nameType, String nameValue) Future<SuiObjectResponse>
getDynamicFields(String parentId, {String? cursor, int? limit}) Future<DynamicFieldPage>
getEvents(String txDigest) Future<List<SuiEvent>>
Events
getGasObjectsOwnedByAddress(String address) Future<List<SuiObject>>
getLatestCheckpointSequenceNumber() Future<BigInt>
getLatestSuiSystemState() Future<SuiSystemStateSummary>
getLoadedChildObjects(String txDigest) Future<LoadedChildObjects>
getMoveFunctionArgTypes({required String packageId, required String moduleName, required String functionName}) Future<List>
getNormalizedMoveFunction(String packageId, String moduleName, String functionName) Future<SuiMoveNormalizedFunction>
getNormalizedMoveModule(String packageId, String moduleName) Future<SuiMoveNormalizedModule>
getNormalizedMoveModulesByPackage(String packageId) Future<SuiMoveNormalizedModules>
getNormalizedMoveStruct(String packageId, String moduleName, String structName) Future<SuiMoveNormalizedStruct>
getObject(String objectId, {SuiObjectDataOptions? options}) Future<SuiObjectResponse>
getObjectBatch(List<String> objectIds) Future<List<SuiObjectResponse>>
getObjectRef(String objectId) Future<SuiObjectRef?>
getObjectsOwnedByObject(String objectId) Future<List<SuiObject>>
getOwnedObjects(String address, {SuiObjectDataOptions? options, int limit = 50, String? cursor, Map? filter}) Future<PaginatedObjectsResponse>
Objects
getProtocolConfig([String? version]) Future
getReferenceGasPrice() Future<BigInt>
getRpcApiVersion() Future<RpcApiVersion>
getStakes(SuiAddress address) Future<List<DelegatedStake>>
getStakesByIds(List<ObjectId> stakedSuiIds) Future<List<DelegatedStake>>
getTotalSupply(String coinType) Future<CoinSupply>
getTotalTransactionBlocks() Future<BigInt>
getTransactionBlock(TransactionDigest digest, {SuiTransactionBlockResponseOptions? options}) Future<SuiTransactionBlockResponse>
getTransactionBlockBatch(List<TransactionDigest> digests, [SuiTransactionBlockResponseOptions? options]) Future<List<SuiTransactionBlockResponse>>
getTransactions(String address, {SuiTransactionBlockResponseOptions? options, TransactionDigest? filterFromCursor, TransactionDigest? filterToCursor, int? limit, bool descendingOrder = true}) Future<(List<SuiTransactionBlockResponse>, String?, String?)>
Query Transactions
getValidatorsApy() Future<ValidatorsApy>
multiGetObjects(List<String> objectIds, {SuiObjectDataOptions? options}) Future<List<SuiObjectResponse>>
multiGetTransactionBlocks(List<TransactionDigest> digests, {SuiTransactionBlockResponseOptions? options}) Future<List<SuiTransactionBlockResponse>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryEvents(Map query, {String? cursor, int? limit, bool descendingOrder = false}) Future<Paged<List<SuiEvent>>>
queryEventsByFilter(EventFilter filter, {String? cursor, int? limit, bool descendingOrder = false}) Future<Paged<List<SuiEvent>>>
queryTransactionBlocks(Map filter, {SuiTransactionBlockResponseOptions? options, int? limit, String? cursor, bool descendingOrder = true}) Future<PaginatedTransactionResponse>
queryTransactionEvents(TransactionDigest digest, {String? cursor, int limit = 1, bool descendingOrder = true}) Future<Paged<List<SuiEvent>>>
resolveNameServiceAddress(String name) Future<String?>
resolveNameServiceNames(String address, {String? cursor, int? limit}) Future<Paged<List<String>>?>
toString() String
A string representation of this object.
inherited
tryGetPastObject(String id, int version, {SuiObjectDataOptions? options}) Future<ObjectRead>

Operators

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