Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Reference for the XRP Ledger signing endpoint, including supported signature kinds, request payloads, and the fields required to sign XRP transactions.
kinds
Transaction
blockchainKind
XrpLedger
kind
transaction
{ "blockchainKind": "XrpLedger", "kind": "Transaction", "transaction": "0x120000220000000024029a62a82e0001e240201b02a6243661400000000000000168400000000000000c8114860184b4f4c6cc17ae9c2a77cfcd328b43ec2aac8314543aba55a3bede29c5d512ff0cb17db626b9ed9a" }
import { Client, encode } from 'xrpl' const walletId = 'wa-6lbfv-9esgj-xxxxxxxxxxxxxxxx' const wallet = await dfnsClient.wallets.getWallet({ walletId }) const client = new Client(RIPPLE_NODE_URL) await client.connect() const transaction = await client.autofill({ TransactionType: 'Payment', Account: wallet.address, Destination: 'rBYtCQKxGTfFuob3hxSc8pEYddetT9CdDZ', Amount: '1', }) const res = await dfnsClient.wallets.generateSignature({ walletId, body: { kind: 'Transaction', transaction: `0x${encode(transaction).toLowerCase()}`, }, })
Was this page helpful?