XRPL
getXrpSignedTransaction
This function for :
.XRP
- xrpl (XRP).XRP_TA
- xrp ta.XRP_TESTNET
- xrpl testnet (XRPt).XRP_TA_TESTNET
- xrp ta testnet
Parameters
coinType: xrp networks coin type
xrpTransaction: (XrpTransation)xrp transaction parameter
class XrpTransaction
Name | Type | Description |
---|---|---|
addressPath |
| sign key path for xrp transaction |
sourceAddress |
| Source address of xrp transaction |
destinationAddress |
| Destination addresse of xrp transaction |
amount |
| Amount to be send ( Drops unit value) |
fee |
| Fee of this transaction ( Drops unit value) |
sequence |
| The sequence number, relative to the initiating account, of xrp transaction |
destinationTag |
| Destination tag of xrp transaction |
Returns
result: (Bool)
true
if successful,false
if error occurredtxData: signed transaction
Example
getXrpSignedTransactionWithUnsignedTx
This fuction for :
.XRP
- xrpl (XRP).XRP_TA
- xrp ta.XRP_TESTNET
- xrpl testnet (XRPt).XRP_TA_TESTNET
- xrp ta testnet
Parameters
coinType: xrp networks coin type
xrpTransaction: (XrpTransationWithUnsigedTx)xrp transaction with unsiged tx parameter
class XrpTransationWithUnsigedTx
Name | Type | Description |
---|---|---|
addressPath |
| sign key path for xrp transaction |
unsigned |
| unsigned xrp transaction data |
Returns
result: (Bool)
true
if successful,false
if error occurredcoinType: xrp networks coin type
sign: signed transaction
pubkey: public key used to signed transaction
accountId: xrp transaction accountId
Example
Last updated