Transfers
Get transfer estimate
Get an estimate of the fee to make an "outbound" transfer from an exchange (connected to xRapid) to an another account outside of RippleNet (such as a bank account). This operation is only available to xCurrent instances enabled as receivers of xRapid payments.
get/transfers/estimate
Request
- Base URL//[domainPrefix].ripplexcurrent.com/v4 (relative, and it does not resolve against the document’s source URL)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
sender_addressstring
RippleNet address of the xRapid account from which the transfer is funded
receiver_addressstring
RippleNet address representing an account outside of RippleNet to which the transfer amount is sent.
amountnumber
The amount to be transferred
Response
Successfully retrieved estimate of transfer sending fee
Example response
{
"transfer_id": "9eca588f-e89d-4629-82fa-da9c4646310f",
"state": "EXECUTED",
"owner_address": "rn.us.ca.san_francisco",
"sender_address": "trans_usd_sf@rn.us.ca.san_francisco",
"receiver_address": "conct_usd_sf@rn.us.ca.san_francisco",
"amount": 15,
"internal_id": "9cf5aa4b-1e44-436a-ab7c-d399aec905da",
"end_to_end_id": "fd7559be-aa85-433f-a283-0cd58681cdf0",
"created_at": "2019-10-01T21:28:28.354Z",
"user_info": [
{
"node_address": "rn.us.ca.san_francisco",
"state": "EXECUTED",
"created_at": "2019-10-01T21:28:28.357Z"
}
],
"labels": [
"label1",
"label2",
"label3"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.