xrpSignTransaction
Ripple: Sign transaction
Asks device to sign given transaction. User is asked to confirm all transaction details on OneKey.
const response = await HardwareSDK.xrpSignTransaction(connectId, deviceId, params)Params
path- requiredstring | Array<number>minimum length is3. read moretransaction- requiredXrpTransactiontype
XrpTransaction Type
type XrpTransaction = {
fee: string;
flags?: number;
sequence: number;
maxLedgerVersion?: number; // Proto: "last_ledger_sequence"
payment: RipplePayment;
}
type XrpPayment = {
amount: string;
destination: string;
destinationTag?: number;
}Example
Result
Error
Last updated
Was this helpful?