📝Sign Transaction
Last updated
Last updated
XRPL Snap is capable of signing and submitting transactions to XRP Ledger. When XRPL Snap gets request to sign transaction, user will be prompt to Accept or Reject signing of the transaction. Metadata of this transaction (Destination, amount,...) will also be visible in confirmation screen.
In order to sign transaction, payload needs to be sent to xrpl_sign
RPC endpoint. Response of this call will be an object where one field will be signedTransaction
. Value of this field can be passes as blob param to xrpl_submit
RPC call.
Currently it is not possible to multisign transaction
Field | Type | Mandatory | Description |
---|---|---|---|
After every sign request, user will be prompted to approve or reject the transaction like in the below image
Please note that XRPL SDK is not yet released. This is just an example of supposed solution.
method
String
RPC Method to call
params.data
JSON
XRPL Transaction Payload. For more information check XRPL Transaction Types