UtxoApi class

Constructors

UtxoApi(AccountApi _accountApi, TokenApi _tokenApi, {required Dio dio})

Properties

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

Methods

assetBalance({required String assetId, required int threshold, List<String>? members}) Future<String>
createDeposit({required String chainId, List<String>? members, int? threshold}) Future<MixinResponse<List<DepositEntry>>>
https://developers.mixin.one/docs/api/safe-apis#get-a-recharge-address
getMultisigs(String requestId) Future<MixinResponse<TransactionResponse>>
getOutputs({required int threshold, List<String>? members, int? offset, int limit = _kLimit, String? state, String? asset}) Future<MixinResponse<List<SafeUtxoOutput>>>
https://developers.mixin.one/docs/api/safe-apis#get-utxo-list
getTransactionsById({required String id}) Future<MixinResponse<TransactionResponse>>
https://developers.mixin.one/docs/api/safe-apis#query-transaction
ghostKey(List<GhostKeyRequest> ghostKeyRequests) Future<MixinResponse<List<SafeGhostKey>>>
https://developers.mixin.one/docs/api/safe-apis#get-payment-information
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerPublicKey({required String publicKey, required String signature, required String pin}) Future<MixinResponse<Account>>
https://developers.mixin.one/docs/api/safe-apis#register-user
registerSafe({required String userId, required Uint8List tipPrivateKey, required String pinTokenBase64, required String sessionPrivateKeyBase64}) Future<Account>
signTransactionMultisigs(String requestId, TransactionRequest request) Future<MixinResponse<TransactionResponse>>
toString() String
A string representation of this object.
inherited
transactionRequest(List<TransactionRequest> transactionRequests) Future<MixinResponse<List<TransactionResponse>>>
https://developers.mixin.one/docs/api/safe-apis#verify-transaction-format
transactions(List<TransactionRequest> transactionRequests) Future<MixinResponse<List<TransactionResponse>>>
https://developers.mixin.one/docs/api/safe-apis#sign-and-send-transaction
transactionToMixAddress({required MixAddress address, required String amount, required Key spendKey, required String asset, String? transactionRequestId}) Future<List<TransactionResponse>>
transactionToUser({required List<String> receiverIds, required String amount, required String asset, required Key spendKey, List<String> senderIds = const [], int threshold = 1, String? memo, String? transactionRequestId}) Future<List<TransactionResponse>>
Send a tx to mixin user.
unlockTransactionMultisigs(String requestId) Future<MixinResponse<TransactionResponse>>
withdrawalToAddress({required String asset, required String destination, required Key spendKey, required String amount, String? tag, String? memo, bool preferAssetFeeOverChainFee = false, String? transactionRequestId}) Future<List<TransactionResponse>>

Operators

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