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.3
Review and test your knowledge on Create trust line and send currency.
Why is a trust line necessary for transactions with tokens and currency?
A) By establishing trust lines with different assets, users can participate in trustless trading and make atomic swaps between assets directly on the XRPL without relying on a centralized intermediary.
B) Without trust lines, accounts could be subject to receiving assets or tokens that they do not want to receive.
C) We use trust line as a means of consenting to receive currency or a token.
D) All of the above
Which of the following statements best summarizes how we use trust lines?
A) When sending currency, a trust line must be created from the receiving/destination account to the sending/issuer account.
B) When sending currency, a trust line must be created from the sending/issuer account to the receiving/destination account.
C) After initiating a transaction with currency between two accounts, both accounts must approve a mutual trust line for the currency transaction to go through.
D) All of the above.
Which piece of code defines a transaction as a trust line?
const trustSet_tx = {"TransactionType": "TrustSet"}
const trustSet_tx = {"TransactionType": "Payment"}
await client.autofill(trustSet_tx)
operational_wallet.sign(ts_prepared)
Previous
Submit