Sep24InteractiveResponse
public struct Sep24InteractiveResponse : Decodable, Sendable
Response returned when initiating an interactive deposit or withdrawal transaction.
This response contains the URL that the client should present to the user for completing the interactive flow, along with a transaction ID for tracking the request.
See also:
- [Sep24DepositRequest] for initiating deposits
- [Sep24WithdrawRequest] for initiating withdrawals
- SEP-0024
-
Always set to interactive_customer_info_needed.
Declaration
Swift
public let type: String -
URL hosted by the anchor. The wallet should show this URL to the user as a popup.
Declaration
Swift
public let url: String -
The anchor’s internal ID for this deposit / withdrawal request. The wallet will use this ID to query the /transaction endpoint to check status of the request.
Declaration
Swift
public let id: String -
Creates a new instance by decoding from the given decoder.
Declaration
Swift
public init(from decoder: Decoder) throwsParameters
decoderThe decoder containing the data
View on GitHub
Install in Dash