Skip to Content
About
Courses
Study Center
Blog
Docs
moon
English
한국어
繁體中文
nav-icon
achievement
Close
About
Courses
Study Center
Blog
Docs
moon
English
한국어
繁體中文
achievement
Quiz 3.2
Review and test your knowledge on Create accounts and send XRP.
What line of code correctly instantiates a client on the XRPL?
A) const client = new xrpl.Client(net);
B) let net = getNet();
C) await client.connect();
D) results = "Connecting to " + net + "....";
What code correctly creates and funds an account on the testnet?
A) await client.fundWallet(null, {amount, faucetHost })).wallet;
B) await client.connect()
C) const client = new xrpl.Client(net)
D) const standby_wallet = xrpl.Wallet.fromSeed(lines[0])
What code checks the balance of an account?
A) client.getXrpBalance(my_wallet.address))
B) const standby_wallet = xrpl.Wallet.fromSeed(lines[0])
C) const sendAmount = standbyAmountField.value
D) const signed = standby_wallet.sign(prepared)
Previous
Submit