Layer1Api 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
-
getCurrentHeight()
→ Future<int>
-
-
getNodeCryptoConfig()
→ Future<NodeCryptoConfigResponse>
-
-
getTxnStatus(String txId)
→ Future<TransactionStatusResponse?>
-
-
getWallet(String addressOrPublicKey)
→ Future<WalletResponse?>
-
-
getWalletBalance(String addressOrPublicKey)
→ Future<int>
-
-
getWalletNonce(String addressOrPublicKey)
→ Future<int>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
sendCoeusTx(String fromAddress, List<UserOperation> userOperations, HydraPrivate hydraPrivate, {int? layer1SenderNonce, int? layer2PublicKeyNonce})
→ Future<String>
-
-
sendMorpheusTx(String senderAddress, MorpheusAsset morpheusAsset, HydraPrivate hydraPrivate, {int? nonce})
→ Future<String>
-
-
sendMorpheusTxWithPassphrase(MorpheusAsset morpheusAsset, String passphrase, {int? nonce})
→ Future<String>
-
-
sendTransferTx(String senderAddress, String targetAddress, int amountInFlake, HydraPrivate hydraPrivate, {int? nonce})
→ Future<String>
-
-
sendTransferTxWithPassphrase(String passphrase, String targetAddress, int amountInFlake, {int? nonce})
→ Future<String>
-
-
sendTx(String signedTx)
→ Future<String>
-
-
sendUnvoteTx(String voterAddress, SecpPublicKey delegate, HydraPrivate hydraPrivate, {int? nonce})
→ Future<String>
-
-
sendVoteOrUnvote(String voterAddress, HydraPrivate hydraPrivate, String createTx(HydraTxBuilder builder, SecpPublicKey senderPubKey, int nonce), int? nonce)
→ Future<String>
-
-
sendVoteTx(String voterAddress, SecpPublicKey delegate, HydraPrivate hydraPrivate, {int? nonce})
→ Future<String>
-
-
toString()
→ String
-
A string representation of this object.
inherited