Through this endpoint customers can prepare an unsigned XRP (Ripple) native-coin transaction from a source address, returning the fee (in drops and XRP), the amount (in drops), the account sequence, the transaction flags and an internal id, ready to sign and broadcast.
Represents the specific XRP network; mainnet is live, testnet is for testing.
In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.
In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.
Represents the sender address which funds the transaction, pays the fee and is the source account.
Represents the recipient address.
Represents the amount to transfer, denominated in XRP.
Represents the fee options for the transaction.
Represents the fee priority.
Represents an exact fee amount instead of the priority-derived fee.
When true the fee is subtracted from the transferred amount.
Represents the XRP destination tag / memo data.
Represents the source account sequence number; derived from the ledger if omitted.
Specifies the version of the API that incorporates this endpoint.
Defines the ID of the request. The requestId is generated by Crypto APIs and it's unique for every request.
In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.
Represents the sender address.
Represents the recipient address.
Represents the transaction fee.
Represents the fee in drops (1 XRP = 1,000,000 drops).
Represents the fee in XRP.
Represents the transferred amount, denominated in drops.
Represents the account sequence used by the prepared transaction.
Represents the internal prepared-transaction id.
Represents the XRP transaction flags bitmask (e.g. 2147483648 is tfFullyCanonical).
Represents the XRP transaction type.
| Blockchain protocol | Credits for 1 Results |
| Default Cost | 60 |
| XRP | 60 |
API Key
{
"context": "yourExampleString",
"data": {
"item": {
"fromAddress": "rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe",
"toAddress": "rUCzEr6jrEyMpjhs4wSdQdz4g8Y382NxfM",
"amount": "1",
"feeOptions": {
"priority": "standard",
"exactAmount": "0.000015",
"subtractFromAmount": false
},
"destinationTag": "12345",
"sequence": "17027004"
}
}
}
{
"apiVersion": "2024-12-12",
"requestId": "601c1710034ed6d407996b30",
"context": "yourExampleString",
"data": {
"item": {
"fromAddress": "rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe",
"toAddress": "rUCzEr6jrEyMpjhs4wSdQdz4g8Y382NxfM",
"fee": {
"feeInDrops": "18",
"feeInXrp": "0.000018"
},
"amount": "1000000",
"sequence": "17027004",
"transactionId": "6a4f876a5777eb5c902a0c33",
"flags": 2147483648,
"transactionType": "payment"
}
}
}