RubixService class
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
-
createDID({required String gateway, required String didImagePath, required String publicSharePath, required String publicKey, required String privateKeyString})
→ Future<CreateDIDRes>
-
-
generateAccessToken({required String gateway, required String accessToken, required String privateKeyString})
→ Future<Token>
-
-
generateRbt({required String did, required double tokenCount, required String accessToken, required String gateway, required String imagePath, required String privateKeyString})
→ Future<Status>
-
-
getAsset({required String gateway, required String accessToken, required String did})
→ Future<Assets>
-
-
getBalance({required String gateway, required String accessToken, required String did})
→ Future<GetBalanceRes>
-
-
getConnection({required String gateway, required String accessToken, Duration idleTimeout = const Duration(minutes: 5)})
→ RubixServiceClient
-
-
getTransactionHistory({required String gateway, required String accessToken})
→ Future<TransactionHistory>
-
-
initiateTransaction({required String gateway, required String accessToken, required RequestTransactionPayloadReq initiatePayload, required String imagePath, required String privateKeyString, Duration idleTimeout = const Duration(minutes: 15)})
→ Future<Status>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
signData({required RequestTransactionPayloadRes createDataResponse, required String imagePath, required String privateKeyString, required String gateway, required String accessToken, required bool onlyPrivateKey})
→ Future<Status>
-
-
signResponse({required RequestTransactionPayloadRes initiateTransactionResponse, required String imagePath, required ECPrivateKey privateKey, required RubixServiceClient stub, required bool onlyPrivateKey})
→ Future<Status>
-
-
streamIncomingTxn({required String gateway, required String accessToken})
→ ResponseStream<IncomingTxnDetails>
-
-
streamSignResponse({required String gateway, required String accessToken})
→ ResponseStream<RequestTransactionPayloadRes>
-
-
toString()
→ String
-
A string representation of this object.
inherited