XRPL (XRP Ledger)
Sign Transaction
Supported Transaction Types
The following transaction types are supported on D'CENT Biometric wallet.
AccountSet
O
AccountDelete
O
CheckCancel
O
CheckCash
O
CheckCreate
O
DepositPreauth
O
EscrowCancel
O
EscrowCreate
O
EscrowFinish
O
NFTokenAcceptOffer
X
NFTokenBurn
X
NFTokenCancelOffer
X
NFTokenCreateOffer
X
NFTokenMint
X
OfferCancel
O
OfferCreate
O
Payment
O
PaymentChannelClaim
O
PaymentChannelCreate
O
PaymentChannelFund
O
SetRegularKey
O
SignerListSet
O
TicketCreate
X
TrustSet
O
For your reference, All transaction types for XRPL can be found here.
getXrpSignedTransaction()
Supported Coin Type
XRP(Ripple)
Parameters :
transaction: this value conforms JSON format of Transaction Types in XRP Doc.
key: key path, wallet sign with that private key with a given key path (BIP32 ex) "m/44'/144'/0'/0/0").
Requirements:
D'CENT Bridge
version 1.1.4 or higher is required.D'CENT Biometric Wallet version 2.4.0. or higher is required.
Usage:
Returned response object:
Send a Multi-Signed Transaction
Reference the XRP Doc
Multi-signing a Transaction
First, prepare by referring to Set Up Multi-Signing (You can get address of account using
getAddress()
function.)Get signature
Example
For broadcast the sign transaction, you must reconstruct transaction include TxnSignature
& SigningPubKey
for normal (single-signature) or Signers
array for multi-signed-transaction
Last updated