【发布时间】:2021-05-13 07:08:44
【问题描述】:
如何在 Rippleapi 支付 JSON 字符串中使用目标标签
const payment = {
source: {
address: ADDRESS_1,
maxAmount: {
value: amount,
currency: currency
}
},
destination: {
address: ADDRESS_2,
amount: {
value: amount,
currency: currency
}
}
}
支付部分包括发送方和接收方的来源和目的地信息,如地址、金额、货币等更多可选参数,在新版本的瑞波文档中,有一些解决方案来处理这个问题(使用目的地标签),但我只想处理我的旧脚本,不再做任何更改。
【问题讨论】:
标签: node.js transactions payment send ripple