SignerWithProvider class abstract

Mixed-in types
Implementers

Constructors

SignerWithProvider({required String endpoint, RequestOptions? options, TxnDataSerializer? serializer})

Properties

client JsonRpcClient
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
rpcClient JsonRpcClient
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serializer TxnDataSerializer
latefinal

Methods

addStake(AddStakeTransaction transaction, {SuiTransactionBlockResponseOptions? options, ExecuteTransaction requestType = ExecuteTransaction.WaitForLocalExecution}) Future<SuiExecuteTransactionResponse>
devInspectTransaction(String sender, Uint8List txBytes, {BigInt? gasPrice, String? epoch}) Future<DevInspectResults>
inherited
dryRunTransaction<T>(T tx, {String? signerAddress}) Future<DryRunTransactionBlockResponse>
dryRunTransactionBlock(String txBytes) Future<DryRunTransactionBlockResponse>
inherited
executeMoveCall(MoveCallTransaction transaction, {SuiTransactionBlockResponseOptions? options, ExecuteTransaction requestType = ExecuteTransaction.WaitForLocalExecution}) Future<SuiExecuteTransactionResponse>
executeTransaction({required Uint8List txnBytes, required SignatureScheme signatureScheme, required Uint8List signature, required PublicKey pubkey, SuiTransactionBlockResponseOptions? options, ExecuteTransaction requestType = ExecuteTransaction.WaitForEffectsCert}) Future<SuiExecuteTransactionResponse>
inherited
executeTransactionBlock(String transactionBlockBase64, List<String> signature, {SuiTransactionBlockResponseOptions? options, ExecuteTransaction requestType = ExecuteTransaction.WaitForEffectsCert}) Future<SuiTransactionBlockResponse>
inherited
getAddress() SuiAddress
getAllBalance(String owner) Future<List<CoinBalance>>
inherited
getAllCoins(String owner, {String? cursor, int? limit}) Future<PaginatedCoins>
inherited
getBalance(String owner, {String coinType = "0x2::sui::SUI"}) Future<CoinBalance>
inherited
getBalanceBatch(List<String> owner, {String coinType = "0x2::sui::SUI"}) Future<List<CoinBalance>>
inherited
getChainIdentifier() Future<String>
inherited
getCheckpoint(String id) Future<Checkpoint>
inherited
getCheckpoints({String? cursor, int? limit, bool descendingOrder = false}) Future<Paged<List<Checkpoint>>>
inherited
getCoinMetadata(String coinType) Future<CoinMetadataStruct>
inherited
getCoins(String owner, {String? coinType, String? cursor, int? limit}) Future<PaginatedCoins>
inherited
getCommitteeInfo([String? epoch]) Future<CommitteeInfo>
inherited
getCurrentEpoch() Future
inherited
getDynamicFieldObject(String parentObjectId, String nameType, String nameValue) Future<SuiObjectResponse>
inherited
getDynamicFields(String parentId, {String? cursor, int? limit}) Future<DynamicFieldPage>
inherited
getEvents(String txDigest) Future<List<SuiEvent>>
Events
inherited
getGasCostEstimation<T>(T tx, [String? signerAddress]) Future<int>
Returns the estimated gas cost for the transaction, throw whens fails to estimate the gas cost.
getGasObjectsOwnedByAddress(String address) Future<List<SuiObject>>
inherited
getLatestCheckpointSequenceNumber() Future<BigInt>
inherited
getLatestSuiSystemState() Future<SuiSystemStateSummary>
inherited
getMoveFunctionArgTypes({required String packageId, required String moduleName, required String functionName}) Future<List>
inherited
getNormalizedMoveFunction(String packageId, String moduleName, String functionName) Future<SuiMoveNormalizedFunction>
inherited
getNormalizedMoveModule(String packageId, String moduleName) Future<SuiMoveNormalizedModule>
inherited
getNormalizedMoveModulesByPackage(String packageId) Future<SuiMoveNormalizedModules>
inherited
getNormalizedMoveStruct(String packageId, String moduleName, String structName) Future<SuiMoveNormalizedStruct>
inherited
getObject(String objectId, {SuiObjectDataOptions? options}) Future<SuiObjectResponse>
inherited
getObjectBatch(List<String> objectIds) Future<List<SuiObjectResponse>>
inherited
getObjectRef(String objectId) Future<SuiObjectRef?>
inherited
getObjectsOwnedByObject(String objectId) Future<List<SuiObject>>
inherited
getOwnedObjects(String address, {SuiObjectDataOptions? options, int limit = 50, String? cursor, Map? filter}) Future<PaginatedObjectsResponse>
Objects
inherited
getOwnedObjectsShowAllOptions(String address, {Map<String, dynamic>? filter, int limit = 50, String? cursor}) Future<PaginatedObjectsResponse>
getProtocolConfig([String? version]) Future
inherited
getReferenceGasPrice() Future<BigInt>
inherited
getRpcApiVersion() Future<RpcApiVersion>
inherited
getStakes(SuiAddress address) Future<List<DelegatedStake>>
inherited
getStakesByIds(List<ObjectId> stakedSuiIds) Future<List<DelegatedStake>>
inherited
getTotalSupply(String coinType) Future<CoinSupply>
inherited
getTotalTransactionBlocks() Future<BigInt>
inherited
getTransactionBlock(TransactionDigest digest, {SuiTransactionBlockResponseOptions? options}) Future<SuiTransactionBlockResponse>
inherited
getTransactionBlockBatch(List<TransactionDigest> digests, [SuiTransactionBlockResponseOptions? options]) Future<List<SuiTransactionBlockResponse>>
inherited
getTransactions(String address, {SuiTransactionBlockResponseOptions? options, TransactionDigest? filterFromCursor, TransactionDigest? filterToCursor, int? limit, bool descendingOrder = true}) Future<(List<SuiTransactionBlockResponse>, String?, String?)>
Query Transactions
inherited
getValidatorsApy() Future<ValidatorsApy>
inherited
multiGetObjects(List<String> objectIds, {SuiObjectDataOptions? options}) Future<List<SuiObjectResponse>>
inherited
multiGetTransactionBlocks(List<TransactionDigest> digests, {SuiTransactionBlockResponseOptions? options}) Future<List<SuiTransactionBlockResponse>>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pay(PayTransaction transaction, {SuiTransactionBlockResponseOptions? options, ExecuteTransaction requestType = ExecuteTransaction.WaitForLocalExecution}) Future<SuiExecuteTransactionResponse>
payAllSui(PayAllSuiTransaction transaction, {SuiTransactionBlockResponseOptions? options, ExecuteTransaction requestType = ExecuteTransaction.WaitForLocalExecution}) Future<SuiExecuteTransactionResponse>
paySui(PaySuiTransaction transaction, {SuiTransactionBlockResponseOptions? options, ExecuteTransaction requestType = ExecuteTransaction.WaitForLocalExecution}) Future<SuiExecuteTransactionResponse>
publish(PublishTransaction transaction, {SuiTransactionBlockResponseOptions? options, ExecuteTransaction requestType = ExecuteTransaction.WaitForLocalExecution}) Future<SuiExecuteTransactionResponse>
queryEvents(Map query, {String? cursor, int? limit, bool descendingOrder = false}) Future<Paged<List<SuiEvent>>>
inherited
queryEventsByFilter(EventFilter filter, {String? cursor, int? limit, bool descendingOrder = false}) Future<Paged<List<SuiEvent>>>
inherited
queryTransactionBlocks(Map filter, {SuiTransactionBlockResponseOptions? options, int? limit, String? cursor, bool descendingOrder = true}) Future<PaginatedTransactionResponse>
inherited
queryTransactionEvents(TransactionDigest digest, {String? cursor, int limit = 1, bool descendingOrder = true}) Future<Paged<List<SuiEvent>>>
inherited
resolveNameServiceAddress(String name) Future<String?>
inherited
resolveNameServiceNames(String address, {String? cursor, int? limit}) Future<Paged<List<String>>?>
inherited
setSigner(SuiAccount signer) → void
signAndExecuteSignableTransaction({required SignableTransaction transaction, SuiTransactionBlockResponseOptions? options, ExecuteTransaction requestType = ExecuteTransaction.WaitForLocalExecution}) Future<SuiExecuteTransactionResponse>
signAndExecuteTransaction({required Uint8List transaction, SuiTransactionBlockResponseOptions? options, ExecuteTransaction requestType = ExecuteTransaction.WaitForLocalExecution}) Future<SuiExecuteTransactionResponse>
Sign a transaction and submit to the Fullnode for execution. Only exists on Fullnode
signData(Uint8List data) SignaturePubkeyPair
splitCoin(SplitCoinTransaction transaction, {SuiTransactionBlockResponseOptions? options, ExecuteTransaction requestType = ExecuteTransaction.WaitForLocalExecution}) Future<SuiExecuteTransactionResponse>
splitCoinEqual(SplitCoinEqualTransaction transaction, {SuiTransactionBlockResponseOptions? options, ExecuteTransaction requestType = ExecuteTransaction.WaitForLocalExecution}) Future<SuiExecuteTransactionResponse>
toString() String
A string representation of this object.
inherited
transferObject(TransferObjectTransaction transaction, {SuiTransactionBlockResponseOptions? options, ExecuteTransaction requestType = ExecuteTransaction.WaitForLocalExecution}) Future<SuiExecuteTransactionResponse>
transferSui(TransferSuiTransaction transaction, {SuiTransactionBlockResponseOptions? options, ExecuteTransaction requestType = ExecuteTransaction.WaitForLocalExecution}) Future<SuiExecuteTransactionResponse>
tryGetPastObject(String id, int version, {SuiObjectDataOptions? options}) Future<ObjectRead>
inherited
waitForTransaction(TransactionDigest digest, {SuiTransactionBlockResponseOptions? options, int timeout = 60 * 1000, int pollInterval = 2 * 1000}) Future<SuiTransactionBlockResponse>
inherited
withdrawStake(WithdrawStakeTransaction transaction, {SuiTransactionBlockResponseOptions? options, ExecuteTransaction requestType = ExecuteTransaction.WaitForLocalExecution}) Future<SuiExecuteTransactionResponse>

Operators

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