XRPLRpc class
XRPL RPC Client
This class provides access to the XRPL (XRP Ledger) network through JSON-RPC. It supports different XRPL networks, including Testnet, Mainnet, Devnet, and AMM Devnet.
Constructors
- XRPLRpc.new(RpcService rpc)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- rpc → RpcService
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getFaucetUrl(
String url, [String? faucetHost]) → String - Get Faucet URL
-
getFucent(
String address) → Future< Map< String, dynamic> > - get fucent in specify node
-
getTransactionNetworkId(
) → Future< int?> - Get the network ID for XRPL transactions.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
request<
T> (XRPLedgerRequest< T> request) → Future<T> - Sends an XRPLedgerRequest and returns the parsed response.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
devNet(
OnGenerateRpc rpcGenerator) → Future< XRPLRpc> - Create an XRPL RPC client for the Devnet network.
-
mainnet(
OnGenerateRpc rpcGenerator) → Future< XRPLRpc> - Create an XRPL RPC client for the Mainnet network.
-
testNet(
OnGenerateRpc rpcGenerator) → Future< XRPLRpc> - Create an XRPL RPC client for the Testnet network.