mirror of
https://github.com/Xahau/xahau.js.git
synced 2026-06-04 09:16:41 +00:00
refactor: remove unused fixtures (#1710)
delete all unused fixtures in: - tests/fixtures/requests - tests/fixtures/responses - tests/fixtures/rippled
This commit is contained in:
38
test/fixtures/hashes.json
vendored
38
test/fixtures/hashes.json
vendored
@@ -1,38 +0,0 @@
|
||||
{
|
||||
"VALID_TRANSACTION_HASH":
|
||||
"F4AB442A6D4CBB935D66E1DA7309A5FC71C7143ED4049053EC14E3875B0CF9BF",
|
||||
"NOTFOUND_TRANSACTION_HASH":
|
||||
"D7FA4BBD23FAA88FC208BD194EC435D7A1FD9E2E8887B9C17A811A0739AA4AE4",
|
||||
"INVALID_TRANSACTION_HASH":
|
||||
"XF4AB442A6D4CBB935D66E1DA7309A5FC71C7143ED4049053EC14E3875B0CF9BF",
|
||||
"ORDER_HASH":
|
||||
"71AE74B03DE3B9A06C559AD4D173A362D96B7D2A5AA35F56B9EF21543D627F34",
|
||||
"WITH_MEMO_TRANSACTION_HASH":
|
||||
"995570FE1E40F42DF56BFC80503BA9E3C1229619C61A1C279A76BC0805036D74",
|
||||
"WITH_MEMOS_TRANSACTION_HASH":
|
||||
"995570FE1E40F42DF56BFC80503BA9E3C1229619C61A1C279A76BC0805036D73",
|
||||
"WITH_MEMOS_ACCOUNT_DELETE_TRANSACTION_HASH":
|
||||
"BB1F552C57880F636FE8A88C041DEBAE96B428074CB4AB7DF489181F512B9FC3",
|
||||
"WITH_MEMOS_ORDER_CANCELLATION_TRANSACTION_HASH":
|
||||
"447D52F132DB6B5EFB828D67E4D746B5A580FC37A61077A17920BFFFC86D05D1",
|
||||
"WITH_MEMOS_CHECK_CREATE_TRANSACTION_HASH":
|
||||
"605A2E2C8E48AECAF5C56085D1AEAA0348DC838CE122C9188F94EB19DA05C2F1",
|
||||
"WITH_MEMOS_CHECK_CANCEL_TRANSACTION_HASH":
|
||||
"B4105D1B2D83819647E4692B7C5843D674283F669524BD50C9614182E3A12CD1",
|
||||
"WITH_MEMOS_CHECK_CASH_TRANSACTION_HASH":
|
||||
"8321208465F70BA52C28BCC4F646BAF3B012BA13B57576C0336F42D77E3E0741",
|
||||
"WITH_MEMOS_PAYMENT_CHANNEL_CLAIM_TRANSACTION_HASH":
|
||||
"81B9ECAE7195EB6E8034AEDF44D8415A7A803E14513FDBB34FA984AB37D59561",
|
||||
"WITH_MEMOS_PAYMENT_CHANNEL_CREATE_TRANSACTION_HASH":
|
||||
"0E9CA3AB1053FC0C1CBAA75F636FE1EC92F118C7056BBEF5D63E4C116458A161",
|
||||
"WITH_MEMOS_PAYMENT_CHANNEL_FUND_TRANSACTION_HASH":
|
||||
"CD053D8867007A6A4ACB7A432605FE476D088DCB515AFFC886CF2B4EB6D2AE81",
|
||||
"WITH_MEMOS_DEPOSIT_PREAUTH_TRANSACTION_HASH":
|
||||
"3BA61A2621C09A119A12EA9271AE5FA165B6E39657E02BFD3C5B21E28F72B883",
|
||||
"WITH_MEMOS_FEE_UPDATE_TRANSACTION_HASH":
|
||||
"C6A40F56127436DCD830B1B35FF939FD05B5747D30D6542572B7A835239817A1",
|
||||
"WITH_MEMOS_TICKET_CREATE_TRANSACTION_HASH":
|
||||
"1797BD0898F54F0732D2FFFF715A75CC1C50D1883A875A7B9BFD0F6936461359",
|
||||
"WITH_MEMOS_OFFER_CREATE_TRANSACTION_HASH":
|
||||
"5D9B0B246255815B63983C188B4C23325B3544F605CDBE3004769EE9E990D2F1"
|
||||
}
|
||||
2
test/fixtures/requests/combine.json
vendored
2
test/fixtures/requests/combine.json
vendored
@@ -1,2 +0,0 @@
|
||||
[ "12000322800000002400000004201B000000116840000000000F42407300770B6578616D706C652E636F6D811407C532442A675C881BA1235354D4AB9D023243A6F3E0107321026C784C1987F83BACBF02CD3E484AFC84ADE5CA6B36ED4DCA06D5BA233B9D382774473045022100E484F54FF909469FA2033E22EFF3DF8EDFE62217062680BB2F3EDF2F185074FE0220350DB29001C710F0450DAF466C5D819DC6D6A3340602DE9B6CB7DA8E17C90F798114FE9337B0574213FA5BCC0A319DBB4A7AC0CCA894E1F1",
|
||||
"12000322800000002400000004201B000000116840000000000F42407300770B6578616D706C652E636F6D811407C532442A675C881BA1235354D4AB9D023243A6F3E01073210287AAAB8FBE8C4C4A47F6F1228C6E5123A7ED844BFE88A9B22C2F7CC34279EEAA74473045022100B09DDF23144595B5A9523B20E605E138DC6549F5CA7B5984D7C32B0E3469DF6B022018845CA6C203D4B6288C87DDA439134C83E7ADF8358BD41A8A9141A9B631419F8114517D9B9609229E0CDFE2428B586738C5B2E84D45E1F1" ]
|
||||
16
test/fixtures/requests/getpaths/invalid.json
vendored
16
test/fixtures/requests/getpaths/invalid.json
vendored
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"source": {
|
||||
"address": "rwBYyfufTzk77zUSKEu4MvixfarC35av1J",
|
||||
"amount": {
|
||||
"value": "1000002",
|
||||
"currency": "USD"
|
||||
}
|
||||
},
|
||||
"destination": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"amount": {
|
||||
"value": "1000002",
|
||||
"currency": "USD"
|
||||
}
|
||||
}
|
||||
}
|
||||
16
test/fixtures/requests/getpaths/issuer.json
vendored
16
test/fixtures/requests/getpaths/issuer.json
vendored
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"source": {
|
||||
"address": "rwBYyfufTzk77zUSKEu4MvixfarC35av1J",
|
||||
"amount": {
|
||||
"value": "1000002",
|
||||
"currency": "USD",
|
||||
"counterparty": "rwBYyfufTzk77zUSKEu4MvixfarC35av1J"
|
||||
}
|
||||
},
|
||||
"destination": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"amount": {
|
||||
"currency": "USD"
|
||||
}
|
||||
}
|
||||
}
|
||||
12
test/fixtures/requests/getpaths/noPaths.json
vendored
12
test/fixtures/requests/getpaths/noPaths.json
vendored
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"source": {
|
||||
"address": "rwBYyfufTzk77zUSKEu4MvixfarC35av1J"
|
||||
},
|
||||
"destination": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"amount": {
|
||||
"value": "1000002",
|
||||
"currency": "USD"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"source": {
|
||||
"address": "rhVgDEfS1r1fLyRUZCpab4TdowZcAJwHy2",
|
||||
"amount": {
|
||||
"value": "1000002",
|
||||
"currency": "USD"
|
||||
}
|
||||
},
|
||||
"destination": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"amount": {"currency": "USD"}
|
||||
}
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"source": {
|
||||
"address": "rwBYyfufTzk77zUSKEu4MvixfarC35av1J",
|
||||
"currencies": [
|
||||
{
|
||||
"currency": "USD"
|
||||
}
|
||||
]
|
||||
},
|
||||
"destination": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"amount": {
|
||||
"value": "1000002",
|
||||
"currency": "USD"
|
||||
}
|
||||
}
|
||||
}
|
||||
13
test/fixtures/requests/getpaths/normal.json
vendored
13
test/fixtures/requests/getpaths/normal.json
vendored
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"source": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59"
|
||||
},
|
||||
"destination": {
|
||||
"address": "rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo",
|
||||
"amount": {
|
||||
"currency": "USD",
|
||||
"counterparty": "rMH4UxPrbuMa1spCBR98hLLyNJp4d8p4tM",
|
||||
"value": "100"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"source": {
|
||||
"address": "rwBYyfufTzk77zUSKEu4MvixfarC35av1J"
|
||||
},
|
||||
"destination": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"amount": {
|
||||
"value": "0.000002",
|
||||
"currency": "GBP"
|
||||
}
|
||||
}
|
||||
}
|
||||
15
test/fixtures/requests/getpaths/sendAll.json
vendored
15
test/fixtures/requests/getpaths/sendAll.json
vendored
@@ -1,15 +0,0 @@
|
||||
{
|
||||
"source": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"amount": {
|
||||
"currency": "USD",
|
||||
"value": "5.00"
|
||||
}
|
||||
},
|
||||
"destination": {
|
||||
"address": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX",
|
||||
"amount": {
|
||||
"currency": "USD"
|
||||
}
|
||||
}
|
||||
}
|
||||
20
test/fixtures/requests/getpaths/usd2usd.json
vendored
20
test/fixtures/requests/getpaths/usd2usd.json
vendored
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"source": {
|
||||
"address": "rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo",
|
||||
"currencies": [
|
||||
{
|
||||
"currency": "LTC"
|
||||
},
|
||||
{
|
||||
"currency": "USD"
|
||||
}
|
||||
]
|
||||
},
|
||||
"destination": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"amount": {
|
||||
"currency": "USD",
|
||||
"value": "0.000001"
|
||||
}
|
||||
}
|
||||
}
|
||||
12
test/fixtures/requests/getpaths/xrp2xrp.json
vendored
12
test/fixtures/requests/getpaths/xrp2xrp.json
vendored
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"source": {
|
||||
"address": "rwBYyfufTzk77zUSKEu4MvixfarC35av1J"
|
||||
},
|
||||
"destination": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"amount": {
|
||||
"value": "0.000002",
|
||||
"currency": "XRP"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"source": {
|
||||
"address": "rwBYyfufTzk77zUSKEu4MvixfarC35av1J"
|
||||
},
|
||||
"destination": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"amount": {
|
||||
"value": "1000002",
|
||||
"currency": "XRP"
|
||||
}
|
||||
}
|
||||
}
|
||||
177
test/fixtures/requests/index.ts
vendored
177
test/fixtures/requests/index.ts
vendored
@@ -1,156 +1,13 @@
|
||||
import setDomain from './combine.json'
|
||||
import normalOrderBook from './getOrderbook.json'
|
||||
import withXRPOrderBook from './getOrderbookWithXrp.json'
|
||||
import invalid from './getpaths/invalid.json'
|
||||
import issuer from './getpaths/issuer.json'
|
||||
import NoPaths from './getpaths/noPaths.json'
|
||||
import NoPathsSource from './getpaths/noPathsSourceAmount.json'
|
||||
import NoPathsWithCurrencies from './getpaths/noPathsWithCurrencies.json'
|
||||
import normalPaths from './getpaths/normal.json'
|
||||
import NotAcceptCurrency from './getpaths/notAcceptCurrency.json'
|
||||
import sendAll from './getpaths/sendAll.json'
|
||||
import UsdToUsd from './getpaths/usd2usd.json'
|
||||
import XrpToXrp from './getpaths/xrp2xrp.json'
|
||||
import XrpToXrpNotEnough from './getpaths/xrp2xrpNotEnough.json'
|
||||
import header from './hashLedger.json'
|
||||
import transactions from './hashLedgerTransactions.json'
|
||||
import normalCheckCancel from './prepareCheckCancel.json'
|
||||
import amountCheckCash from './prepareCheckCashAmount.json'
|
||||
import deliverMinCheckCash from './prepareCheckCashDelivermin.json'
|
||||
import normalCheckCreate from './prepareCheckCreate.json'
|
||||
import fullCheckCreate from './prepareCheckCreateFull.json'
|
||||
import normalEscrowCancel from './prepareEscrowCancellation.json'
|
||||
import memosEscrowCancel from './prepareEscrowCancellationMemos.json'
|
||||
import normalEscrowCreate from './prepareEscrowCreation.json'
|
||||
import fullEscrowCreate from './prepareEscrowCreationFull.json'
|
||||
import normalEscrowExec from './prepareEscrowExecution.json'
|
||||
import noConditionEscrowExec from './prepareEscrowExecutionNoCondition.json'
|
||||
import noFulfillmentEscrowExec from './prepareEscrowExecutionNoFulfillment.json'
|
||||
import simpleEscrowExec from './prepareEscrowExecutionSimple.json'
|
||||
import buyOrder from './prepareOrder.json'
|
||||
import simpleCancel from './prepareOrderCancellation.json'
|
||||
import withMemosCancel from './prepareOrderCancellationMemos.json'
|
||||
import expirationOrder from './prepareOrderExpiration.json'
|
||||
import sellOrder from './prepareOrderSell.json'
|
||||
import normalPayment from './preparePayment.json'
|
||||
import allOptions from './preparePaymentAllOptions.json'
|
||||
import normalPayChanClaim from './preparePaymentChannelClaim.json'
|
||||
import closePayChanClaim from './preparePaymentChannelClaimClose.json'
|
||||
import fullPayChanClaim from './preparePaymentChannelClaimFull.json'
|
||||
import noSignaturePayChanClaim from './preparePaymentChannelClaimNoSignature.json'
|
||||
import renewPayChanClaim from './preparePaymentChannelClaimRenew.json'
|
||||
import normalPayChanCreate from './preparePaymentChannelCreate.json'
|
||||
import fullPayChanCreate from './preparePaymentChannelCreateFull.json'
|
||||
import normalPayChanFund from './preparePaymentChannelFund.json'
|
||||
import fullPayChanFund from './preparePaymentChannelFundFull.json'
|
||||
import minAmount from './preparePaymentMin.json'
|
||||
import minAmountXRP from './preparePaymentMinXrp.json'
|
||||
import noCounterparty from './preparePaymentNoCounterparty.json'
|
||||
import wrongAddress from './preparePaymentWrongAddress.json'
|
||||
import wrongAmount from './preparePaymentWrongAmount.json'
|
||||
import wrongPartial from './preparePaymentWrongPartial.json'
|
||||
import domain from './prepareSettings.json'
|
||||
import noSignerEntries from './prepareSettingsNoSignerEntries.json'
|
||||
import normalSigners from './prepareSettingsSigners.json'
|
||||
import noThresholdSigners from './prepareSettingsSignersNoThreshold.json'
|
||||
import noWeightsSigners from './prepareSettingsSignersNoWeights.json'
|
||||
import complexTrustline from './prepareTrustline.json'
|
||||
import frozenTrustline from './prepareTrustlineFrozen.json'
|
||||
import issuedXAddressTrustline from './prepareTrustlineIssuerXaddress.json'
|
||||
import simpleTrustline from './prepareTrustlineSimple.json'
|
||||
import normalSign from './sign.json'
|
||||
import signAsSign from './signAs.json'
|
||||
import escrowSign from './signEscrow.json'
|
||||
import signPaymentChannelClaim from './signPaymentChannelClaim.json'
|
||||
import ticketSign from './signTicket.json'
|
||||
|
||||
const prepareOrder = {
|
||||
buy: buyOrder,
|
||||
sell: sellOrder,
|
||||
expiration: expirationOrder,
|
||||
}
|
||||
|
||||
const prepareOrderCancellation = {
|
||||
simple: simpleCancel,
|
||||
withMemos: withMemosCancel,
|
||||
}
|
||||
|
||||
const preparePayment = {
|
||||
normal: normalPayment,
|
||||
minAmountXRP,
|
||||
minAmount,
|
||||
wrongAddress,
|
||||
wrongAmount,
|
||||
wrongPartial,
|
||||
allOptions,
|
||||
noCounterparty,
|
||||
}
|
||||
|
||||
const prepareSettings = {
|
||||
domain,
|
||||
noSignerEntries,
|
||||
signers: {
|
||||
normal: normalSigners,
|
||||
noThreshold: noThresholdSigners,
|
||||
noWeights: noWeightsSigners,
|
||||
},
|
||||
}
|
||||
const prepareEscrowCreation = {
|
||||
normal: normalEscrowCreate,
|
||||
full: fullEscrowCreate,
|
||||
}
|
||||
|
||||
const prepareEscrowExecution = {
|
||||
normal: normalEscrowExec,
|
||||
simple: simpleEscrowExec,
|
||||
noCondition: noConditionEscrowExec,
|
||||
noFulfillment: noFulfillmentEscrowExec,
|
||||
}
|
||||
|
||||
const prepareEscrowCancellation = {
|
||||
normal: normalEscrowCancel,
|
||||
memos: memosEscrowCancel,
|
||||
}
|
||||
|
||||
const prepareCheckCreate = {
|
||||
normal: normalCheckCreate,
|
||||
full: fullCheckCreate,
|
||||
}
|
||||
|
||||
const prepareCheckCash = {
|
||||
amount: amountCheckCash,
|
||||
deliverMin: deliverMinCheckCash,
|
||||
}
|
||||
|
||||
const prepareCheckCancel = {
|
||||
normal: normalCheckCancel,
|
||||
}
|
||||
|
||||
const preparePaymentChannelCreate = {
|
||||
normal: normalPayChanCreate,
|
||||
full: fullPayChanCreate,
|
||||
}
|
||||
|
||||
const preparePaymentChannelFund = {
|
||||
normal: normalPayChanFund,
|
||||
full: fullPayChanFund,
|
||||
}
|
||||
|
||||
const preparePaymentChannelClaim = {
|
||||
normal: normalPayChanClaim,
|
||||
full: fullPayChanClaim,
|
||||
close: closePayChanClaim,
|
||||
renew: renewPayChanClaim,
|
||||
noSignature: noSignaturePayChanClaim,
|
||||
}
|
||||
|
||||
const prepareTrustline = {
|
||||
simple: simpleTrustline,
|
||||
complex: complexTrustline,
|
||||
frozen: frozenTrustline,
|
||||
issuedXAddress: issuedXAddressTrustline,
|
||||
}
|
||||
|
||||
const sign = {
|
||||
normal: normalSign,
|
||||
ticket: ticketSign,
|
||||
@@ -158,20 +15,6 @@ const sign = {
|
||||
signAs: signAsSign,
|
||||
}
|
||||
|
||||
const getPaths = {
|
||||
normal: normalPaths,
|
||||
UsdToUsd,
|
||||
XrpToXrp,
|
||||
XrpToXrpNotEnough,
|
||||
NotAcceptCurrency,
|
||||
NoPaths,
|
||||
NoPathsSource,
|
||||
NoPathsWithCurrencies,
|
||||
sendAll,
|
||||
invalid,
|
||||
issuer,
|
||||
}
|
||||
|
||||
const getOrderbook = {
|
||||
normal: normalOrderBook,
|
||||
withXRP: withXRPOrderBook,
|
||||
@@ -182,29 +25,9 @@ const hashLedger = {
|
||||
transactions,
|
||||
}
|
||||
|
||||
const combine = {
|
||||
setDomain,
|
||||
}
|
||||
|
||||
const requests = {
|
||||
combine,
|
||||
hashLedger,
|
||||
getOrderbook,
|
||||
getPaths,
|
||||
prepareCheckCash,
|
||||
prepareCheckCancel,
|
||||
prepareCheckCreate,
|
||||
prepareEscrowCancellation,
|
||||
prepareEscrowCreation,
|
||||
prepareEscrowExecution,
|
||||
prepareOrder,
|
||||
prepareOrderCancellation,
|
||||
preparePayment,
|
||||
preparePaymentChannelClaim,
|
||||
preparePaymentChannelCreate,
|
||||
preparePaymentChannelFund,
|
||||
prepareTrustline,
|
||||
prepareSettings,
|
||||
sign,
|
||||
signPaymentChannelClaim,
|
||||
}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"checkID": "49647F0D748DC3FE26BDACBC57F251AADEFFF391403EC9BF87C97F67E9977FB0"
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"amount": {
|
||||
"currency": "drops",
|
||||
"value": "1000000"
|
||||
},
|
||||
"checkID": "838766BA2B995C00744175F69A1B11E32C3DBC40E64801A4056FCBD657F57334"
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"deliverMin": {
|
||||
"currency": "XRP",
|
||||
"value": "0.8"
|
||||
},
|
||||
"checkID": "838766BA2B995C00744175F69A1B11E32C3DBC40E64801A4056FCBD657F57334"
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"destination": "rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW",
|
||||
"sendMax": {
|
||||
"currency": "drops",
|
||||
"value": "1000000"
|
||||
}
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"destination": "rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW",
|
||||
"sendMax": {
|
||||
"currency": "XRP",
|
||||
"value": "1"
|
||||
},
|
||||
"destinationTag": 2,
|
||||
"expiration": "2018-09-24T21:21:50.000Z",
|
||||
"invoiceID": "1F40FC92DA241694750979EE6CF582F2D5D7D28E18335DE05ABC54D0560E0F53"
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"owner": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"escrowSequence": 1234
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"owner": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"escrowSequence": 1234,
|
||||
"memos": [
|
||||
{
|
||||
"type": "test",
|
||||
"format": "text/plain",
|
||||
"data": "texted data"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"destination": "rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo",
|
||||
"amount": "0.01",
|
||||
"allowExecuteAfter": "2014-09-24T21:21:50.000Z",
|
||||
"allowCancelAfter": "2017-01-01T00:00:00.000Z"
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"destination": "rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo",
|
||||
"amount": "0.01",
|
||||
"condition": "A0258020E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855810100",
|
||||
"allowExecuteAfter": "2014-09-24T21:21:50.000Z",
|
||||
"memos": [
|
||||
{
|
||||
"type": "test",
|
||||
"data": "texted data"
|
||||
}
|
||||
],
|
||||
"destinationTag": 2,
|
||||
"sourceTag": 1
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"owner": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"escrowSequence": 1234,
|
||||
"condition": "A0258020E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855810100",
|
||||
"fulfillment": "A0028000"
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"owner": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"escrowSequence": 1234,
|
||||
"fulfillment": "A0028000"
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"owner": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"escrowSequence": 1234,
|
||||
"condition": "A0258020E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855810100"
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"owner": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"escrowSequence": 1234,
|
||||
"memos": [
|
||||
{
|
||||
"type": "test",
|
||||
"format": "text/plain",
|
||||
"data": "texted data"
|
||||
}
|
||||
]
|
||||
}
|
||||
14
test/fixtures/requests/prepareOrder.json
vendored
14
test/fixtures/requests/prepareOrder.json
vendored
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"counterparty": "rMH4UxPrbuMa1spCBR98hLLyNJp4d8p4tM",
|
||||
"value": "10.1"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "drops",
|
||||
"value": "2000000"
|
||||
},
|
||||
"passive": false,
|
||||
"fillOrKill": true
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"orderSequence": 23
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"orderSequence": 23,
|
||||
"memos": [
|
||||
{
|
||||
"type": "test",
|
||||
"format": "text/plain",
|
||||
"data": "texted data"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"counterparty": "rMH4UxPrbuMa1spCBR98hLLyNJp4d8p4tM",
|
||||
"value": "10.1"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "XRP",
|
||||
"value": "2"
|
||||
},
|
||||
"immediateOrCancel": true,
|
||||
"expirationTime": "2015-01-14T18:36:52.000Z"
|
||||
}
|
||||
21
test/fixtures/requests/prepareOrderSell.json
vendored
21
test/fixtures/requests/prepareOrderSell.json
vendored
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"direction": "sell",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"counterparty": "rMH4UxPrbuMa1spCBR98hLLyNJp4d8p4tM",
|
||||
"value": "10.1"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "XRP",
|
||||
"value": "2"
|
||||
},
|
||||
"immediateOrCancel": true,
|
||||
"orderToReplace": 12345,
|
||||
"memos": [
|
||||
{
|
||||
"type": "test",
|
||||
"format": "text/plain",
|
||||
"data": "texted data"
|
||||
}
|
||||
]
|
||||
}
|
||||
18
test/fixtures/requests/preparePayment.json
vendored
18
test/fixtures/requests/preparePayment.json
vendored
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"source": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"maxAmount": {
|
||||
"value": "0.01",
|
||||
"currency": "USD",
|
||||
"counterparty": "rMH4UxPrbuMa1spCBR98hLLyNJp4d8p4tM"
|
||||
}
|
||||
},
|
||||
"destination": {
|
||||
"address": "rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo",
|
||||
"amount": {
|
||||
"value": "0.01",
|
||||
"currency": "USD",
|
||||
"counterparty": "rMH4UxPrbuMa1spCBR98hLLyNJp4d8p4tM"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
{
|
||||
"source": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"maxAmount": {
|
||||
"value": "0.01",
|
||||
"currency": "XRP"
|
||||
},
|
||||
"tag": 14
|
||||
},
|
||||
"destination": {
|
||||
"address": "rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo",
|
||||
"amount": {
|
||||
"value": "0.01",
|
||||
"currency": "XRP"
|
||||
},
|
||||
"tag": 58
|
||||
},
|
||||
"memos": [
|
||||
{
|
||||
"type": "test",
|
||||
"format": "text/plain",
|
||||
"data": "texted data"
|
||||
}
|
||||
],
|
||||
"invoiceID": "A98FD36C17BE2B8511AD36DC335478E7E89F06262949F36EB88E2D683BBCC50A",
|
||||
"noDirectRipple": true,
|
||||
"limitQuality": true
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"channel": "C1AE6DDDEEC05CF2978C0BAD6FE302948E9533691DC749DCDD3B9E5992CA6198"
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"channel": "C1AE6DDDEEC05CF2978C0BAD6FE302948E9533691DC749DCDD3B9E5992CA6198",
|
||||
"balance": "1",
|
||||
"amount": "1",
|
||||
"signature": "30440220718D264EF05CAED7C781FF6DE298DCAC68D002562C9BF3A07C1E721B420C0DAB02203A5A4779EF4D2CCC7BC3EF886676D803A9981B928D3B8ACA483B80ECA3CD7B9B",
|
||||
"publicKey": "32D2471DB72B27E3310F355BB33E339BF26F8392D5A93D3BC0FC3B566612DA0F0A",
|
||||
"close": true
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"channel": "C1AE6DDDEEC05CF2978C0BAD6FE302948E9533691DC749DCDD3B9E5992CA6198",
|
||||
"balance": "1",
|
||||
"amount": "1",
|
||||
"signature": "30440220718D264EF05CAED7C781FF6DE298DCAC68D002562C9BF3A07C1E721B420C0DAB02203A5A4779EF4D2CCC7BC3EF886676D803A9981B928D3B8ACA483B80ECA3CD7B9B",
|
||||
"publicKey": "32D2471DB72B27E3310F355BB33E339BF26F8392D5A93D3BC0FC3B566612DA0F0A",
|
||||
"renew": true,
|
||||
"close": true
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"channel": "C1AE6DDDEEC05CF2978C0BAD6FE302948E9533691DC749DCDD3B9E5992CA6198",
|
||||
"balance": "1",
|
||||
"amount": "1",
|
||||
"publicKey": "32D2471DB72B27E3310F355BB33E339BF26F8392D5A93D3BC0FC3B566612DA0F0A"
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"channel": "C1AE6DDDEEC05CF2978C0BAD6FE302948E9533691DC749DCDD3B9E5992CA6198",
|
||||
"balance": "1",
|
||||
"amount": "1",
|
||||
"signature": "30440220718D264EF05CAED7C781FF6DE298DCAC68D002562C9BF3A07C1E721B420C0DAB02203A5A4779EF4D2CCC7BC3EF886676D803A9981B928D3B8ACA483B80ECA3CD7B9B",
|
||||
"publicKey": "32D2471DB72B27E3310F355BB33E339BF26F8392D5A93D3BC0FC3B566612DA0F0A",
|
||||
"renew": true
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"amount": "1",
|
||||
"destination": "rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW",
|
||||
"settleDelay": 86400,
|
||||
"publicKey": "32D2471DB72B27E3310F355BB33E339BF26F8392D5A93D3BC0FC3B566612DA0F0A"
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"amount": "1",
|
||||
"destination": "rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW",
|
||||
"settleDelay": 86400,
|
||||
"publicKey": "32D2471DB72B27E3310F355BB33E339BF26F8392D5A93D3BC0FC3B566612DA0F0A",
|
||||
"cancelAfter": "2017-02-17T15:04:57Z",
|
||||
"destinationTag": 23480,
|
||||
"sourceTag": 11747
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"channel": "C1AE6DDDEEC05CF2978C0BAD6FE302948E9533691DC749DCDD3B9E5992CA6198",
|
||||
"amount": "1"
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"channel": "C1AE6DDDEEC05CF2978C0BAD6FE302948E9533691DC749DCDD3B9E5992CA6198",
|
||||
"amount": "1",
|
||||
"expiration": "2017-02-17T15:04:57Z"
|
||||
}
|
||||
16
test/fixtures/requests/preparePaymentMin.json
vendored
16
test/fixtures/requests/preparePaymentMin.json
vendored
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"source": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"amount": {
|
||||
"value": "0.01",
|
||||
"currency": "XRP"
|
||||
}
|
||||
},
|
||||
"destination": {
|
||||
"address": "rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo",
|
||||
"minAmount": {
|
||||
"value": "0.01",
|
||||
"currency": "XRP"
|
||||
}
|
||||
}
|
||||
}
|
||||
17
test/fixtures/requests/preparePaymentMinXrp.json
vendored
17
test/fixtures/requests/preparePaymentMinXrp.json
vendored
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"source": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"amount": {
|
||||
"value": "0.01",
|
||||
"currency": "USD",
|
||||
"counterparty": "rMH4UxPrbuMa1spCBR98hLLyNJp4d8p4tM"
|
||||
}
|
||||
},
|
||||
"destination": {
|
||||
"address": "rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo",
|
||||
"minAmount": {
|
||||
"value": "0.01",
|
||||
"currency": "XRP"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
{
|
||||
"source": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"maxAmount": {
|
||||
"value": "0.01",
|
||||
"currency": "USD"
|
||||
},
|
||||
"tag": 14
|
||||
},
|
||||
"destination": {
|
||||
"address": "rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo",
|
||||
"amount": {
|
||||
"value": "0.01",
|
||||
"currency": "LTC"
|
||||
},
|
||||
"tag": 58
|
||||
},
|
||||
"memos": [
|
||||
{
|
||||
"type": "test",
|
||||
"format": "text/plain",
|
||||
"data": "texted data"
|
||||
}
|
||||
],
|
||||
"invoiceID": "A98FD36C17BE2B8511AD36DC335478E7E89F06262949F36EB88E2D683BBCC50A",
|
||||
"allowPartialPayment": true,
|
||||
"noDirectRipple": true,
|
||||
"limitQuality": true,
|
||||
"paths": "[[{\"account\":\"rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q\",\"currency\":\"USD\",\"issuer\":\"rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q\"},{\"currency\":\"LTC\",\"issuer\":\"rfYv1TXnwgDDK4WQNbFALykYuEBnrR4pDX\"},{\"account\":\"rfYv1TXnwgDDK4WQNbFALykYuEBnrR4pDX\",\"currency\":\"LTC\",\"issuer\":\"rfYv1TXnwgDDK4WQNbFALykYuEBnrR4pDX\"}]]"
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"source": {
|
||||
"address": "rMH4UxPrbuMa1spCBR98hLLyNJp4d8p4tM",
|
||||
"amount": {
|
||||
"value": "0.01",
|
||||
"currency": "USD",
|
||||
"counterparty": "rMH4UxPrbuMa1spCBR98hLLyNJp4d8p4tM"
|
||||
}
|
||||
},
|
||||
"destination": {
|
||||
"address": "rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo",
|
||||
"minAmount": {
|
||||
"value": "0.01",
|
||||
"currency": "XRP"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"source": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"maxAmount": {
|
||||
"value": "0.01",
|
||||
"currency": "USD",
|
||||
"counterparty": "rMH4UxPrbuMa1spCBR98hLLyNJp4d8p4tM"
|
||||
}
|
||||
},
|
||||
"destination": {
|
||||
"address": "rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo",
|
||||
"minAmount": {
|
||||
"value": "0.01",
|
||||
"currency": "XRP"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"source": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"amount": {
|
||||
"value": "0.01",
|
||||
"currency": "XRP"
|
||||
}
|
||||
},
|
||||
"destination": {
|
||||
"address": "rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo",
|
||||
"minAmount": {
|
||||
"value": "0.01",
|
||||
"currency": "XRP"
|
||||
}
|
||||
},
|
||||
"allowPartialPayment": true
|
||||
}
|
||||
10
test/fixtures/requests/prepareSettings.json
vendored
10
test/fixtures/requests/prepareSettings.json
vendored
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"domain": "example.com",
|
||||
"memos": [
|
||||
{
|
||||
"type": "test",
|
||||
"format": "text/plain",
|
||||
"data": "texted data"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"signers": {
|
||||
"threshold": 0
|
||||
}
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
{
|
||||
"signers": {
|
||||
"threshold": 2,
|
||||
"weights": [
|
||||
{
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"address": "rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"address": "rwBYyfufTzk77zUSKEu4MvixfarC35av1J",
|
||||
"weight": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"signers": {
|
||||
"weights": [
|
||||
{
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"address": "rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo",
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"address": "rwBYyfufTzk77zUSKEu4MvixfarC35av1J",
|
||||
"weight": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"signers": {
|
||||
"threshold": 2
|
||||
}
|
||||
}
|
||||
16
test/fixtures/requests/prepareTrustline.json
vendored
16
test/fixtures/requests/prepareTrustline.json
vendored
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"currency": "USD",
|
||||
"counterparty": "rMH4UxPrbuMa1spCBR98hLLyNJp4d8p4tM",
|
||||
"limit": "10000",
|
||||
"qualityIn": 0.91,
|
||||
"qualityOut": 0.87,
|
||||
"ripplingDisabled": true,
|
||||
"frozen": false,
|
||||
"memos": [
|
||||
{
|
||||
"type": "test",
|
||||
"format": "text/plain",
|
||||
"data": "texted data"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"currency": "BTC",
|
||||
"counterparty": "rMH4UxPrbuMa1spCBR98hLLyNJp4d8p4tM",
|
||||
"limit": "0.1",
|
||||
"authorized": true,
|
||||
"ripplingDisabled": false,
|
||||
"frozen": true
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"currency": "BTC",
|
||||
"counterparty": "XVbehP2sFMQAd5orFAy8Lt6vLHGiDhA7VMAnsv9H6WpuB1s",
|
||||
"limit": "0.1"
|
||||
}
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"currency": "BTC",
|
||||
"counterparty": "rMH4UxPrbuMa1spCBR98hLLyNJp4d8p4tM",
|
||||
"limit": "0.1"
|
||||
}
|
||||
4
test/fixtures/responses/combine.json
vendored
4
test/fixtures/responses/combine.json
vendored
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"signedTransaction": "12000322800000002400000004201B000000116840000000000F42407300770B6578616D706C652E636F6D811407C532442A675C881BA1235354D4AB9D023243A6F3E01073210287AAAB8FBE8C4C4A47F6F1228C6E5123A7ED844BFE88A9B22C2F7CC34279EEAA74473045022100B09DDF23144595B5A9523B20E605E138DC6549F5CA7B5984D7C32B0E3469DF6B022018845CA6C203D4B6288C87DDA439134C83E7ADF8358BD41A8A9141A9B631419F8114517D9B9609229E0CDFE2428B586738C5B2E84D45E1E0107321026C784C1987F83BACBF02CD3E484AFC84ADE5CA6B36ED4DCA06D5BA233B9D382774473045022100E484F54FF909469FA2033E22EFF3DF8EDFE62217062680BB2F3EDF2F185074FE0220350DB29001C710F0450DAF466C5D819DC6D6A3340602DE9B6CB7DA8E17C90F798114FE9337B0574213FA5BCC0A319DBB4A7AC0CCA894E1F1",
|
||||
"id": "8A3BFD2214B4C8271ED62648FCE9ADE4EE82EF01827CF7D1F7ED497549A368CC"
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"account": {
|
||||
"xAddress": "T7i2Q8yGcMcCQa2n6d9EvSEptT4CE6ap7Q1r1fmjstkLfsK",
|
||||
"secret": "ssKCsaRqWh669atvv83bdYRaiHomY",
|
||||
"classicAddress": "r9SYfmVxrb7iuCVfNhW2gqqzapfE2r6juG",
|
||||
"address": "r9SYfmVxrb7iuCVfNhW2gqqzapfE2r6juG"
|
||||
},
|
||||
"amount": 1000,
|
||||
"balance": 1000
|
||||
}
|
||||
7
test/fixtures/responses/getAccountInfo.json
vendored
7
test/fixtures/responses/getAccountInfo.json
vendored
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"sequence": 23,
|
||||
"xrpBalance": "922.913243",
|
||||
"ownerCount": 1,
|
||||
"previousAffectingTransactionID": "19899273706A9E040FDB5885EE991A1DC2BAD878A0D6E7DBCFB714E63BF737F7",
|
||||
"previousAffectingTransactionLedgerVersion": 6614625
|
||||
}
|
||||
54
test/fixtures/responses/getBalanceSheet.json
vendored
54
test/fixtures/responses/getBalanceSheet.json
vendored
@@ -1,54 +0,0 @@
|
||||
{
|
||||
"balances": [
|
||||
{
|
||||
"counterparty": "rKm4uWpg9tfwbVSeATv4KxDe6mpE9yPkgJ",
|
||||
"currency": "EUR",
|
||||
"value": "29826.1965999999"
|
||||
},
|
||||
{
|
||||
"counterparty": "rKm4uWpg9tfwbVSeATv4KxDe6mpE9yPkgJ",
|
||||
"currency": "USD",
|
||||
"value": "10.0"
|
||||
},
|
||||
{
|
||||
"counterparty": "ra7JkEzrgeKHdzKgo4EUUVBnxggY4z37kt",
|
||||
"currency": "USD",
|
||||
"value": "13857.70416"
|
||||
}
|
||||
],
|
||||
"assets": [
|
||||
{
|
||||
"counterparty": "r9F6wk8HkXrgYWoJ7fsv4VrUBVoqDVtzkH",
|
||||
"currency": "BTC",
|
||||
"value": "5444166510000000e-26"
|
||||
},
|
||||
{
|
||||
"counterparty": "r9F6wk8HkXrgYWoJ7fsv4VrUBVoqDVtzkH",
|
||||
"currency": "USD",
|
||||
"value": "100.0"
|
||||
},
|
||||
{
|
||||
"counterparty": "rwmUaXsWtXU4Z843xSYwgt1is97bgY8yj6",
|
||||
"currency": "BTC",
|
||||
"value": "8700000000000000e-30"
|
||||
}
|
||||
],
|
||||
"obligations": [
|
||||
{
|
||||
"currency": "BTC",
|
||||
"value": "5908.324927635318"
|
||||
},
|
||||
{
|
||||
"currency": "EUR",
|
||||
"value": "992471.7419793958"
|
||||
},
|
||||
{
|
||||
"currency": "GBP",
|
||||
"value": "4991.38706013193"
|
||||
},
|
||||
{
|
||||
"currency": "USD",
|
||||
"value": "1997134.20229482"
|
||||
}
|
||||
]
|
||||
}
|
||||
12
test/fixtures/responses/getLedger.json
vendored
12
test/fixtures/responses/getLedger.json
vendored
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"account_hash": "EC028EC32896D537ECCA18D18BEBE6AE99709FEFF9EF72DBD3A7819E918D8B96",
|
||||
"close_time": "2014-09-24T21:21:50.000Z",
|
||||
"close_time_resolution": 10,
|
||||
"close_flags": 0,
|
||||
"ledger_hash": "0F7ED9F40742D8A513AE86029462B7A6768325583DF8EE21B7EC663019DD6A0F",
|
||||
"ledger_index": 9038214,
|
||||
"parent_hash": "4BB9CBE44C39DC67A1BE849C7467FE1A6D1F73949EA163C38A0121A15E04FFDE",
|
||||
"parent_close_time": "2014-09-24T21:21:40.000Z",
|
||||
"total_coins": "99999973964317514",
|
||||
"transaction_hash": "ECB730839EB55B1B114D5D1AD2CD9A932C35BA9AB6D3A8C2F08935EAC2BAC239"
|
||||
}
|
||||
12
test/fixtures/responses/getLedgerByHash.json
vendored
12
test/fixtures/responses/getLedgerByHash.json
vendored
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"stateHash": "A155BFE86054BE654796EC449E7C374CD5CAA3789BA75D302E7F0F4CE470CCB3",
|
||||
"closeTime": "2018-12-07T11:10:30.000Z",
|
||||
"closeTimeResolution": 10,
|
||||
"closeFlags": 0,
|
||||
"ledgerHash": "15F20E5FA6EA9770BBFFDBD62787400960B04BE32803B20C41F117F41C13830D",
|
||||
"ledgerVersion": 14995338,
|
||||
"parentLedgerHash": "E0BC4F5FB8D9025087BE238664833DFA5658C9E7CE413B3B6F7DF4FFF1EDBF40",
|
||||
"parentCloseTime": "2018-12-07T11:10:22.000Z",
|
||||
"totalDrops": "99997114637345372",
|
||||
"transactionHash": "52C0B6604D2EF203710FEA24F4A3750A4F2BCD5C67D6EB5FB1B2DBAE9A14DCE8"
|
||||
}
|
||||
@@ -1,74 +0,0 @@
|
||||
{
|
||||
"stateHash": "334EE5F2209538C3099E133D25725E5BFEB40A198EA7028E6317F13E95D533DF",
|
||||
"closeTime": "2016-07-07T16:53:51.000Z",
|
||||
"closeTimeResolution": 10,
|
||||
"closeFlags": 0,
|
||||
"ledgerHash": "4F6C0495378FF68A15749C0D51D097EB638DA70319FDAC7A97A27CE63E0BFFED",
|
||||
"ledgerVersion": 12345,
|
||||
"parentLedgerHash": "4F636662B714CD9CCE965E9C23BB2E1058A2DF496F5A2416299317AE03F1CD35",
|
||||
"parentCloseTime": "2016-07-07T16:53:50.000Z",
|
||||
"totalDrops": "99997302532397566",
|
||||
"transactionHash": "C72A2BDCB471F3AEEB917ABC6019407CAE6DA4B858903A8AB2335A0EB077125D",
|
||||
"transactions": [
|
||||
{
|
||||
"type": "payment",
|
||||
"address": "rGFuMiw48HdbnrUbkRYuitXTmfrDBNTCnX",
|
||||
"sequence": 23295,
|
||||
"id": "A0A074D10355223CBE2520A42F93A52E3CC8B4D692570EB4841084F9BBB39F7A",
|
||||
"specification": {
|
||||
"source": {
|
||||
"address": "rGFuMiw48HdbnrUbkRYuitXTmfrDBNTCnX",
|
||||
"maxAmount": {
|
||||
"currency": "USD",
|
||||
"value": "10",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
|
||||
}
|
||||
},
|
||||
"destination": {
|
||||
"address": "rNNuQMuExCiEjeZ4h9JJnj5PSWypdMXDj4"
|
||||
},
|
||||
"allowPartialPayment": true
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"fee": "0.01",
|
||||
"balanceChanges": {
|
||||
"rGFuMiw48HdbnrUbkRYuitXTmfrDBNTCnX": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.01"
|
||||
},
|
||||
{
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
|
||||
"currency": "USD",
|
||||
"value": "-10"
|
||||
}
|
||||
],
|
||||
"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B": [
|
||||
{
|
||||
"counterparty": "rNNuQMuExCiEjeZ4h9JJnj5PSWypdMXDj4",
|
||||
"currency": "USD",
|
||||
"value": "-9.980039920159681"
|
||||
},
|
||||
{
|
||||
"counterparty": "rGFuMiw48HdbnrUbkRYuitXTmfrDBNTCnX",
|
||||
"currency": "USD",
|
||||
"value": "10"
|
||||
}
|
||||
],
|
||||
"rNNuQMuExCiEjeZ4h9JJnj5PSWypdMXDj4": [
|
||||
{
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
|
||||
"currency": "USD",
|
||||
"value": "9.980039920159681"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {},
|
||||
"ledgerVersion": 12345,
|
||||
"indexInLedger": 1
|
||||
},
|
||||
"rawTransaction": "{\"Account\":\"rGFuMiw48HdbnrUbkRYuitXTmfrDBNTCnX\",\"Amount\":{\"currency\":\"USD\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\",\"value\":\"10\"},\"Destination\":\"rNNuQMuExCiEjeZ4h9JJnj5PSWypdMXDj4\",\"Fee\":\"10000\",\"Flags\":131072,\"Sequence\":23295,\"SigningPubKey\":\"02B205F4B92351AC0EEB04254B636F4C49EF922CFA3CAAD03C6477DA1E04E94B53\",\"TransactionType\":\"Payment\",\"TxnSignature\":\"3045022100FAF247A836D601DE74A515B2AADE31186D8B0DA9C23DE489E09753F5CF4BB81F0220477C5B5BC3AC89F2347744F9E00CCA62267E198489D747578162C4C7D156211D\",\"hash\":\"A0A074D10355223CBE2520A42F93A52E3CC8B4D692570EB4841084F9BBB39F7A\",\"meta\":{\"AffectedNodes\":[{\"ModifiedNode\":{\"FinalFields\":{\"Account\":\"rGFuMiw48HdbnrUbkRYuitXTmfrDBNTCnX\",\"Balance\":\"1930599790\",\"Flags\":0,\"OwnerCount\":2,\"Sequence\":23296},\"LedgerEntryType\":\"AccountRoot\",\"LedgerIndex\":\"267C16D24EC42EEF8B03D5BE4E94266B1675FA54AFCE42DE795E02AB61031CBD\",\"PreviousFields\":{\"Balance\":\"1930609790\",\"Sequence\":23295},\"PreviousTxnID\":\"0F5396388E91D37BB26C8E24073A57E7C5D51E79AEE4CD855653B8499AE4E3DD\",\"PreviousTxnLgrSeq\":22419806}},{\"ModifiedNode\":{\"FinalFields\":{\"Balance\":{\"currency\":\"USD\",\"issuer\":\"rrrrrrrrrrrrrrrrrrrrBZbvji\",\"value\":\"-9.980959751659681\"},\"Flags\":2228224,\"HighLimit\":{\"currency\":\"USD\",\"issuer\":\"rNNuQMuExCiEjeZ4h9JJnj5PSWypdMXDj4\",\"value\":\"1000000\"},\"HighNode\":\"0000000000000000\",\"LowLimit\":{\"currency\":\"USD\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\",\"value\":\"0\"},\"LowNode\":\"0000000000000423\"},\"LedgerEntryType\":\"RippleState\",\"LedgerIndex\":\"C66957AF25229357F9C2D2BA17CE47D88169788EDA7610AD0F29AD5BCB225EE5\",\"PreviousFields\":{\"Balance\":{\"currency\":\"USD\",\"issuer\":\"rrrrrrrrrrrrrrrrrrrrBZbvji\",\"value\":\"-0.0009198315\"}},\"PreviousTxnID\":\"2A01E994D7000000B43DD63825A081B4440A44AB2F6FA0D506158AC9CA6B2869\",\"PreviousTxnLgrSeq\":22420532}},{\"ModifiedNode\":{\"FinalFields\":{\"Balance\":{\"currency\":\"USD\",\"issuer\":\"rrrrrrrrrrrrrrrrrrrrBZbvji\",\"value\":\"-276666.975959\"},\"Flags\":131072,\"HighLimit\":{\"currency\":\"USD\",\"issuer\":\"rGFuMiw48HdbnrUbkRYuitXTmfrDBNTCnX\",\"value\":\"1000000\"},\"HighNode\":\"0000000000000000\",\"LowLimit\":{\"currency\":\"USD\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\",\"value\":\"0\"},\"LowNode\":\"00000000000002D7\"},\"LedgerEntryType\":\"RippleState\",\"LedgerIndex\":\"FFD710AE2074A98D920D00CC352F25744899F069A6C1B9E31DD32D2C6606E615\",\"PreviousFields\":{\"Balance\":{\"currency\":\"USD\",\"issuer\":\"rrrrrrrrrrrrrrrrrrrrBZbvji\",\"value\":\"-276676.975959\"}},\"PreviousTxnID\":\"BB9DFC87E9D4ED09CA2726DDFE83A4A396ED0D6545536322DE17CDACF45C0D5B\",\"PreviousTxnLgrSeq\":22419307}}],\"TransactionIndex\":1,\"TransactionResult\":\"tesSUCCESS\"},\"ledger_index\":12345}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,403 +0,0 @@
|
||||
{
|
||||
"stateHash": "334EE5F2209538C3099E133D25725E5BFEB40A198EA7028E6317F13E95D533DF",
|
||||
"closeTime": "2016-07-07T16:53:51.000Z",
|
||||
"closeTimeResolution": 10,
|
||||
"closeFlags": 0,
|
||||
"ledgerHash": "4F6C0495378FF68A15749C0D51D097EB638DA70319FDAC7A97A27CE63E0BFFED",
|
||||
"ledgerVersion": 22420574,
|
||||
"parentLedgerHash": "4F636662B714CD9CCE965E9C23BB2E1058A2DF496F5A2416299317AE03F1CD35",
|
||||
"parentCloseTime": "2016-07-07T16:53:50.000Z",
|
||||
"totalDrops": "99997302532397566",
|
||||
"transactionHash": "C72A2BDCB471F3AEEB917ABC6019407CAE6DA4B858903A8AB2335A0EB077125D",
|
||||
"transactions": [
|
||||
{
|
||||
"type": "orderCancellation",
|
||||
"address": "rJXJEvVxWSG2xVp62AoE7rM3PKUF9S1GSR",
|
||||
"sequence": 84384,
|
||||
"id": "1257EB8C80DE5AF6ACE91E0C05407CC1329E7B6FFBBBFFE9F734682871BD7655",
|
||||
"specification": {
|
||||
"orderSequence": 84383
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"fee": "0.000015",
|
||||
"balanceChanges": {
|
||||
"rJXJEvVxWSG2xVp62AoE7rM3PKUF9S1GSR": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.000015"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {
|
||||
"rJXJEvVxWSG2xVp62AoE7rM3PKUF9S1GSR": [
|
||||
{
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "XRP",
|
||||
"value": "42843.541733"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "EUR",
|
||||
"counterparty": "rhub8VRN55s94qWKDv6jmDy1pUykJzF3wq",
|
||||
"value": "243.16481874"
|
||||
},
|
||||
"sequence": 84383,
|
||||
"status": "cancelled",
|
||||
"makerExchangeRate": "176.1913666417745"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ledgerVersion": 22420574,
|
||||
"indexInLedger": 4
|
||||
},
|
||||
"rawTransaction": "{\"Account\":\"rJXJEvVxWSG2xVp62AoE7rM3PKUF9S1GSR\",\"Fee\":\"15\",\"Flags\":2147483648,\"LastLedgerSequence\":22420576,\"OfferSequence\":84383,\"Sequence\":84384,\"SigningPubKey\":\"0219D7F97CA3C7BDF0982B0CCFE613761BE563C049A876596B5365A975C669D1A2\",\"TransactionType\":\"OfferCancel\",\"TxnSignature\":\"3045022100D270AC3BAB933C22E88DC557B86BF04BF2A101C2474E0FD6DA5991DB996010EB022071C6571C3031F2B1A0F91106CAFB5C8E766220CFC57676D467258A3A3B966F28\",\"hash\":\"1257EB8C80DE5AF6ACE91E0C05407CC1329E7B6FFBBBFFE9F734682871BD7655\",\"meta\":{\"AffectedNodes\":[{\"ModifiedNode\":{\"FinalFields\":{\"Account\":\"rJXJEvVxWSG2xVp62AoE7rM3PKUF9S1GSR\",\"Balance\":\"170452281963\",\"Flags\":0,\"OwnerCount\":3,\"Sequence\":84385},\"LedgerEntryType\":\"AccountRoot\",\"LedgerIndex\":\"4CC1921751937D88A7BFF74B5EA2C67673B349EA86C52CE918EED279075EB6E6\",\"PreviousFields\":{\"Balance\":\"170452281978\",\"OwnerCount\":4,\"Sequence\":84384},\"PreviousTxnID\":\"400E30CB98BF337449A69D221B7159484B6EC18002A9285AFB871D60326C81A9\",\"PreviousTxnLgrSeq\":22420562}},{\"DeletedNode\":{\"FinalFields\":{\"Account\":\"rJXJEvVxWSG2xVp62AoE7rM3PKUF9S1GSR\",\"BookDirectory\":\"CA462483C85A90DB76D8903681442394D8A5E2D0FFAC259C5D0642737E363451\",\"BookNode\":\"0000000000000000\",\"Flags\":0,\"OwnerNode\":\"0000000000000000\",\"PreviousTxnID\":\"400E30CB98BF337449A69D221B7159484B6EC18002A9285AFB871D60326C81A9\",\"PreviousTxnLgrSeq\":22420562,\"Sequence\":84383,\"TakerGets\":{\"currency\":\"EUR\",\"issuer\":\"rhub8VRN55s94qWKDv6jmDy1pUykJzF3wq\",\"value\":\"243.16481874\"},\"TakerPays\":\"42843541733\"},\"LedgerEntryType\":\"Offer\",\"LedgerIndex\":\"86FFBBEC167E8E6D9540637C12BE2D28808F724B969631E00E506DE279389B8B\"}},{\"DeletedNode\":{\"FinalFields\":{\"ExchangeRate\":\"5D0642737E363451\",\"Flags\":0,\"RootIndex\":\"CA462483C85A90DB76D8903681442394D8A5E2D0FFAC259C5D0642737E363451\",\"TakerGetsCurrency\":\"0000000000000000000000004555520000000000\",\"TakerGetsIssuer\":\"2ADB0B3959D60A6E6991F729E1918B7163925230\",\"TakerPaysCurrency\":\"0000000000000000000000000000000000000000\",\"TakerPaysIssuer\":\"0000000000000000000000000000000000000000\"},\"LedgerEntryType\":\"DirectoryNode\",\"LedgerIndex\":\"CA462483C85A90DB76D8903681442394D8A5E2D0FFAC259C5D0642737E363451\"}},{\"ModifiedNode\":{\"FinalFields\":{\"Flags\":0,\"Owner\":\"rJXJEvVxWSG2xVp62AoE7rM3PKUF9S1GSR\",\"RootIndex\":\"D84063896F704906662E7D93637D579485E19914088FA6F4F929D93CD2163B18\"},\"LedgerEntryType\":\"DirectoryNode\",\"LedgerIndex\":\"D84063896F704906662E7D93637D579485E19914088FA6F4F929D93CD2163B18\"}}],\"TransactionIndex\":4,\"TransactionResult\":\"tesSUCCESS\"},\"ledger_index\":22420574}"
|
||||
},
|
||||
{
|
||||
"type": "order",
|
||||
"address": "rUp8CvtneUUL6qYaxfZwUHg2cwYuo5jugG",
|
||||
"sequence": 771390,
|
||||
"id": "43A53F005AF1AE095B39244D3C56E49150C43D16D89B7DA8673937E142858D38",
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"value": "3000",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "JPY",
|
||||
"value": "302728.16600853",
|
||||
"counterparty": "r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN"
|
||||
},
|
||||
"memos": [
|
||||
{
|
||||
"type": "offer_comment",
|
||||
"data": "S_rf_jpy_usd_tokyo_bit_gf#q_ripple"
|
||||
}
|
||||
]
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"fee": "0.01",
|
||||
"balanceChanges": {
|
||||
"rUp8CvtneUUL6qYaxfZwUHg2cwYuo5jugG": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.01"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {
|
||||
"rUp8CvtneUUL6qYaxfZwUHg2cwYuo5jugG": [
|
||||
{
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
|
||||
"value": "3000"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "JPY",
|
||||
"counterparty": "r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN",
|
||||
"value": "302728.16600853"
|
||||
},
|
||||
"sequence": 771390,
|
||||
"status": "created",
|
||||
"makerExchangeRate": "0.009909880668042856"
|
||||
},
|
||||
{
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
|
||||
"value": "3000"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "JPY",
|
||||
"counterparty": "r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN",
|
||||
"value": "304004.98984125"
|
||||
},
|
||||
"sequence": 771388,
|
||||
"status": "cancelled",
|
||||
"makerExchangeRate": "0.009868259075505919"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ledgerVersion": 22420574,
|
||||
"indexInLedger": 0
|
||||
},
|
||||
"rawTransaction": "{\"Account\":\"rUp8CvtneUUL6qYaxfZwUHg2cwYuo5jugG\",\"Fee\":\"10000\",\"LastLedgerSequence\":22420577,\"Memos\":[{\"Memo\":{\"MemoData\":\"535F72665F6A70795F7573645F746F6B796F5F6269745F676623715F726970706C65\",\"MemoType\":\"6F666665725F636F6D6D656E74\"}}],\"OfferSequence\":771388,\"Sequence\":771390,\"SigningPubKey\":\"02CEC39D51583C89A46804CAA7956503E41919022BF4BC842D4FA9CF076783AFCE\",\"TakerGets\":{\"currency\":\"JPY\",\"issuer\":\"r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN\",\"value\":\"302728.16600853\"},\"TakerPays\":{\"currency\":\"USD\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\",\"value\":\"3000\"},\"TransactionType\":\"OfferCreate\",\"TxnSignature\":\"3045022100CAE6228D3D6729E60222B2453DE13C35CAB7049FB430543BB819161F059511E60220371FD55EDF0396A207E57C40114C004B92F6697A260A0CFBC2704E85B255CCEE\",\"hash\":\"43A53F005AF1AE095B39244D3C56E49150C43D16D89B7DA8673937E142858D38\",\"meta\":{\"AffectedNodes\":[{\"CreatedNode\":{\"LedgerEntryType\":\"Offer\",\"LedgerIndex\":\"1FB6961BD982103CBFD57FA73F30110CE1ED31C85A35A8FB987591CAD1A28C6C\",\"NewFields\":{\"Account\":\"rUp8CvtneUUL6qYaxfZwUHg2cwYuo5jugG\",\"BookDirectory\":\"95576C3354EA28D72B3A0D084DD6A45C45C2F47A64735CF4522334FBE4FC3668\",\"Sequence\":771390,\"TakerGets\":{\"currency\":\"JPY\",\"issuer\":\"r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN\",\"value\":\"302728.16600853\"},\"TakerPays\":{\"currency\":\"USD\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\",\"value\":\"3000\"}}}},{\"ModifiedNode\":{\"FinalFields\":{\"Account\":\"rUp8CvtneUUL6qYaxfZwUHg2cwYuo5jugG\",\"Balance\":\"2048885453\",\"Flags\":0,\"OwnerCount\":22,\"RegularKey\":\"rNXYnXu27dPzQyXxVV6iNBNrJwSz8y5Wzc\",\"Sequence\":771391},\"LedgerEntryType\":\"AccountRoot\",\"LedgerIndex\":\"7118386A4D8C55902FD814D62E2F4D7CE90E3B4F44E6B23CAD4C874B9A5771C9\",\"PreviousFields\":{\"Balance\":\"2048895453\",\"Sequence\":771390},\"PreviousTxnID\":\"19EB03F21D86C9B225FB6ADACF489BF66C1482C3B05DAAD59C114965FB13A59C\",\"PreviousTxnLgrSeq\":22420570}},{\"DeletedNode\":{\"FinalFields\":{\"ExchangeRate\":\"52230F211CBF3EFF\",\"Flags\":0,\"RootIndex\":\"95576C3354EA28D72B3A0D084DD6A45C45C2F47A64735CF452230F211CBF3EFF\",\"TakerGetsCurrency\":\"0000000000000000000000004A50590000000000\",\"TakerGetsIssuer\":\"5BBC0F22F61D9224A110650CFE21CC0C4BE13098\",\"TakerPaysCurrency\":\"0000000000000000000000005553440000000000\",\"TakerPaysIssuer\":\"0A20B3C85F482532A9578DBB3950B85CA06594D1\"},\"LedgerEntryType\":\"DirectoryNode\",\"LedgerIndex\":\"95576C3354EA28D72B3A0D084DD6A45C45C2F47A64735CF452230F211CBF3EFF\"}},{\"CreatedNode\":{\"LedgerEntryType\":\"DirectoryNode\",\"LedgerIndex\":\"95576C3354EA28D72B3A0D084DD6A45C45C2F47A64735CF4522334FBE4FC3668\",\"NewFields\":{\"ExchangeRate\":\"522334FBE4FC3668\",\"RootIndex\":\"95576C3354EA28D72B3A0D084DD6A45C45C2F47A64735CF4522334FBE4FC3668\",\"TakerGetsCurrency\":\"0000000000000000000000004A50590000000000\",\"TakerGetsIssuer\":\"5BBC0F22F61D9224A110650CFE21CC0C4BE13098\",\"TakerPaysCurrency\":\"0000000000000000000000005553440000000000\",\"TakerPaysIssuer\":\"0A20B3C85F482532A9578DBB3950B85CA06594D1\"}}},{\"ModifiedNode\":{\"FinalFields\":{\"Flags\":0,\"Owner\":\"rUp8CvtneUUL6qYaxfZwUHg2cwYuo5jugG\",\"RootIndex\":\"A187A05FE957F5953846DF21A742F20FBFFACF3196D8FFEA85C3E062EA3B7A69\"},\"LedgerEntryType\":\"DirectoryNode\",\"LedgerIndex\":\"A187A05FE957F5953846DF21A742F20FBFFACF3196D8FFEA85C3E062EA3B7A69\"}},{\"DeletedNode\":{\"FinalFields\":{\"Account\":\"rUp8CvtneUUL6qYaxfZwUHg2cwYuo5jugG\",\"BookDirectory\":\"95576C3354EA28D72B3A0D084DD6A45C45C2F47A64735CF452230F211CBF3EFF\",\"BookNode\":\"0000000000000000\",\"Flags\":0,\"OwnerNode\":\"0000000000000000\",\"PreviousTxnID\":\"2073CD805F40D44BADD32EF138FE9782A5D9DF1E9C0700EA41C4D45163ED1FE6\",\"PreviousTxnLgrSeq\":22420569,\"Sequence\":771388,\"TakerGets\":{\"currency\":\"JPY\",\"issuer\":\"r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN\",\"value\":\"304004.98984125\"},\"TakerPays\":{\"currency\":\"USD\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\",\"value\":\"3000\"}},\"LedgerEntryType\":\"Offer\",\"LedgerIndex\":\"F5ACC7F4D8253666AB5AF39E812107E7CFC5B7A686E7C24F560F84AA3150BDF0\"}}],\"TransactionIndex\":0,\"TransactionResult\":\"tesSUCCESS\"},\"ledger_index\":22420574}"
|
||||
},
|
||||
{
|
||||
"type": "order",
|
||||
"address": "rfCFLzNJYvvnoGHWQYACmJpTgkLUaugLEw",
|
||||
"sequence": 15817540,
|
||||
"id": "54DE214FAD77DB326E00100B0112612AC3D7BA3BE17C2AF3480CF919A13DA4A5",
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "JPY",
|
||||
"value": "22148.5780242286",
|
||||
"counterparty": "r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "USD",
|
||||
"value": "214",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
|
||||
},
|
||||
"expirationTime": "2016-07-07T17:03:46.000Z"
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"fee": "0.00003",
|
||||
"balanceChanges": {
|
||||
"rfCFLzNJYvvnoGHWQYACmJpTgkLUaugLEw": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.00003"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {
|
||||
"rfCFLzNJYvvnoGHWQYACmJpTgkLUaugLEw": [
|
||||
{
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "JPY",
|
||||
"counterparty": "r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN",
|
||||
"value": "22148.5780242286"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "USD",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
|
||||
"value": "214"
|
||||
},
|
||||
"sequence": 15817540,
|
||||
"status": "created",
|
||||
"makerExchangeRate": "103.4980281506009",
|
||||
"expirationTime": "2016-07-07T17:03:46.000Z"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ledgerVersion": 22420574,
|
||||
"indexInLedger": 1
|
||||
},
|
||||
"rawTransaction": "{\"Account\":\"rfCFLzNJYvvnoGHWQYACmJpTgkLUaugLEw\",\"Expiration\":521226226,\"Fee\":\"30\",\"Flags\":2147483648,\"LastLedgerSequence\":22420575,\"Sequence\":15817540,\"SigningPubKey\":\"034841BF24BD72C7CC371EBD87CCBF258D8ADB05C18DE207130364A97D8A3EA524\",\"TakerGets\":{\"currency\":\"USD\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\",\"value\":\"214\"},\"TakerPays\":{\"currency\":\"JPY\",\"issuer\":\"r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN\",\"value\":\"22148.5780242286\"},\"TransactionType\":\"OfferCreate\",\"TxnSignature\":\"304402204DF95ADF23D6F5727E573BA085DDE08FB5B7AE9A23CF5709708FE190D87B851A02200C0D7F21C4F989C2B81171B11CE3224F7DB594A413C45CCA5E505ED86ED91418\",\"hash\":\"54DE214FAD77DB326E00100B0112612AC3D7BA3BE17C2AF3480CF919A13DA4A5\",\"meta\":{\"AffectedNodes\":[{\"ModifiedNode\":{\"FinalFields\":{\"Account\":\"rfCFLzNJYvvnoGHWQYACmJpTgkLUaugLEw\",\"AccountTxnID\":\"54DE214FAD77DB326E00100B0112612AC3D7BA3BE17C2AF3480CF919A13DA4A5\",\"Balance\":\"2690753645214\",\"Flags\":0,\"OwnerCount\":25,\"RegularKey\":\"r9S56zu6QeJD5d8A7QMfLAeYavgB9dhaX4\",\"Sequence\":15817541},\"LedgerEntryType\":\"AccountRoot\",\"LedgerIndex\":\"2880A9B4FB90A306B576C2D532BFE390AB3904642647DCF739492AA244EF46D1\",\"PreviousFields\":{\"AccountTxnID\":\"05408DE689A1D9454DE31BFE586F210C1AB78FBB71D5A096CDA7B453F9E8733C\",\"Balance\":\"2690753645244\",\"OwnerCount\":24,\"Sequence\":15817540},\"PreviousTxnID\":\"05408DE689A1D9454DE31BFE586F210C1AB78FBB71D5A096CDA7B453F9E8733C\",\"PreviousTxnLgrSeq\":22420573}},{\"ModifiedNode\":{\"FinalFields\":{\"Flags\":0,\"IndexPrevious\":\"00000000000022F7\",\"Owner\":\"rfCFLzNJYvvnoGHWQYACmJpTgkLUaugLEw\",\"RootIndex\":\"F435FBBEC9654204D7151A01E686BAA8CB325A472D7B61C7916EA58B59355767\"},\"LedgerEntryType\":\"DirectoryNode\",\"LedgerIndex\":\"88048321517F5E225D2963BC749F9F9853D348679406839659056E67D2D374C9\"}},{\"CreatedNode\":{\"LedgerEntryType\":\"Offer\",\"LedgerIndex\":\"9422BBC577CBDD1ED2C13D4C7CC6581BB10EAC3E968D44C2D7FB98E15B2B37F3\",\"NewFields\":{\"Account\":\"rfCFLzNJYvvnoGHWQYACmJpTgkLUaugLEw\",\"BookDirectory\":\"FB9B9ED334DD7AFC1145AE485D86FB101C07F583CDE55EB95703AD4F200758D9\",\"Expiration\":521226226,\"OwnerNode\":\"00000000000024CB\",\"Sequence\":15817540,\"TakerGets\":{\"currency\":\"USD\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\",\"value\":\"214\"},\"TakerPays\":{\"currency\":\"JPY\",\"issuer\":\"r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN\",\"value\":\"22148.5780242286\"}}}},{\"CreatedNode\":{\"LedgerEntryType\":\"DirectoryNode\",\"LedgerIndex\":\"FB9B9ED334DD7AFC1145AE485D86FB101C07F583CDE55EB95703AD4F200758D9\",\"NewFields\":{\"ExchangeRate\":\"5703AD4F200758D9\",\"RootIndex\":\"FB9B9ED334DD7AFC1145AE485D86FB101C07F583CDE55EB95703AD4F200758D9\",\"TakerGetsCurrency\":\"0000000000000000000000005553440000000000\",\"TakerGetsIssuer\":\"0A20B3C85F482532A9578DBB3950B85CA06594D1\",\"TakerPaysCurrency\":\"0000000000000000000000004A50590000000000\",\"TakerPaysIssuer\":\"5BBC0F22F61D9224A110650CFE21CC0C4BE13098\"}}}],\"TransactionIndex\":1,\"TransactionResult\":\"tesSUCCESS\"},\"ledger_index\":22420574}"
|
||||
},
|
||||
{
|
||||
"type": "order",
|
||||
"address": "rfCFLzNJYvvnoGHWQYACmJpTgkLUaugLEw",
|
||||
"sequence": 15817541,
|
||||
"id": "5B79A66B1FD0619159783A8A85F43E14B159D91D3ACB36AEB954A101026BB68E",
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"value": "2954.92952861701",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "BTC",
|
||||
"value": "4.7",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
|
||||
},
|
||||
"expirationTime": "2016-07-07T17:03:46.000Z"
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"fee": "0.00003",
|
||||
"balanceChanges": {
|
||||
"rfCFLzNJYvvnoGHWQYACmJpTgkLUaugLEw": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.00003"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {
|
||||
"rfCFLzNJYvvnoGHWQYACmJpTgkLUaugLEw": [
|
||||
{
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
|
||||
"value": "2954.92952861701"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "BTC",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
|
||||
"value": "4.7"
|
||||
},
|
||||
"sequence": 15817541,
|
||||
"status": "created",
|
||||
"makerExchangeRate": "628.7084103440447",
|
||||
"expirationTime": "2016-07-07T17:03:46.000Z"
|
||||
},
|
||||
{
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
|
||||
"value": "2955.46645977528"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "BTC",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
|
||||
"value": "4.7"
|
||||
},
|
||||
"sequence": 15817525,
|
||||
"status": "cancelled",
|
||||
"makerExchangeRate": "628.822651016017",
|
||||
"expirationTime": "2016-07-07T17:03:34.000Z"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ledgerVersion": 22420574,
|
||||
"indexInLedger": 2
|
||||
},
|
||||
"rawTransaction": "{\"Account\":\"rfCFLzNJYvvnoGHWQYACmJpTgkLUaugLEw\",\"Expiration\":521226226,\"Fee\":\"30\",\"Flags\":2147483648,\"LastLedgerSequence\":22420575,\"OfferSequence\":15817525,\"Sequence\":15817541,\"SigningPubKey\":\"034841BF24BD72C7CC371EBD87CCBF258D8ADB05C18DE207130364A97D8A3EA524\",\"TakerGets\":{\"currency\":\"BTC\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\",\"value\":\"4.7\"},\"TakerPays\":{\"currency\":\"USD\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\",\"value\":\"2954.92952861701\"},\"TransactionType\":\"OfferCreate\",\"TxnSignature\":\"3045022100C63DFE5D3A27D42DC87439948C6692C0015B6891FC531F27A58ECA319D388FCF02202CE4E60D940E168250E612A45331134937AD71911DFF8C042FEBB91833332F94\",\"hash\":\"5B79A66B1FD0619159783A8A85F43E14B159D91D3ACB36AEB954A101026BB68E\",\"meta\":{\"AffectedNodes\":[{\"CreatedNode\":{\"LedgerEntryType\":\"Offer\",\"LedgerIndex\":\"20046290D68FFFC3AC8DB8B725F2BF0FD4CBAF45C719C76245F247E9C7EDCBFE\",\"NewFields\":{\"Account\":\"rfCFLzNJYvvnoGHWQYACmJpTgkLUaugLEw\",\"BookDirectory\":\"6EAB7C172DEFA430DBFAD120FDC373B5F5AF8B191649EC9857165611D6A8983F\",\"Expiration\":521226226,\"OwnerNode\":\"00000000000024CB\",\"Sequence\":15817541,\"TakerGets\":{\"currency\":\"BTC\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\",\"value\":\"4.7\"},\"TakerPays\":{\"currency\":\"USD\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\",\"value\":\"2954.92952861701\"}}}},{\"ModifiedNode\":{\"FinalFields\":{\"Account\":\"rfCFLzNJYvvnoGHWQYACmJpTgkLUaugLEw\",\"AccountTxnID\":\"5B79A66B1FD0619159783A8A85F43E14B159D91D3ACB36AEB954A101026BB68E\",\"Balance\":\"2690753645184\",\"Flags\":0,\"OwnerCount\":25,\"RegularKey\":\"r9S56zu6QeJD5d8A7QMfLAeYavgB9dhaX4\",\"Sequence\":15817542},\"LedgerEntryType\":\"AccountRoot\",\"LedgerIndex\":\"2880A9B4FB90A306B576C2D532BFE390AB3904642647DCF739492AA244EF46D1\",\"PreviousFields\":{\"AccountTxnID\":\"54DE214FAD77DB326E00100B0112612AC3D7BA3BE17C2AF3480CF919A13DA4A5\",\"Balance\":\"2690753645214\",\"Sequence\":15817541},\"PreviousTxnID\":\"54DE214FAD77DB326E00100B0112612AC3D7BA3BE17C2AF3480CF919A13DA4A5\",\"PreviousTxnLgrSeq\":22420574}},{\"DeletedNode\":{\"FinalFields\":{\"Account\":\"rfCFLzNJYvvnoGHWQYACmJpTgkLUaugLEw\",\"BookDirectory\":\"6EAB7C172DEFA430DBFAD120FDC373B5F5AF8B191649EC985716571BD367C12A\",\"BookNode\":\"0000000000000000\",\"Expiration\":521226214,\"Flags\":0,\"OwnerNode\":\"00000000000024CB\",\"PreviousTxnID\":\"EB843063BD289BBFBD376602780A83F5CBA07AAADF65392683B9DE90E43B59C7\",\"PreviousTxnLgrSeq\":22420570,\"Sequence\":15817525,\"TakerGets\":{\"currency\":\"BTC\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\",\"value\":\"4.7\"},\"TakerPays\":{\"currency\":\"USD\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\",\"value\":\"2955.46645977528\"}},\"LedgerEntryType\":\"Offer\",\"LedgerIndex\":\"3E26BB816F8D8FE43F01D10284AAC2A2E340AF8B20AD37B125C098A8BCAEF601\"}},{\"CreatedNode\":{\"LedgerEntryType\":\"DirectoryNode\",\"LedgerIndex\":\"6EAB7C172DEFA430DBFAD120FDC373B5F5AF8B191649EC9857165611D6A8983F\",\"NewFields\":{\"ExchangeRate\":\"57165611D6A8983F\",\"RootIndex\":\"6EAB7C172DEFA430DBFAD120FDC373B5F5AF8B191649EC9857165611D6A8983F\",\"TakerGetsCurrency\":\"0000000000000000000000004254430000000000\",\"TakerGetsIssuer\":\"0A20B3C85F482532A9578DBB3950B85CA06594D1\",\"TakerPaysCurrency\":\"0000000000000000000000005553440000000000\",\"TakerPaysIssuer\":\"0A20B3C85F482532A9578DBB3950B85CA06594D1\"}}},{\"DeletedNode\":{\"FinalFields\":{\"ExchangeRate\":\"5716571BD367C12A\",\"Flags\":0,\"RootIndex\":\"6EAB7C172DEFA430DBFAD120FDC373B5F5AF8B191649EC985716571BD367C12A\",\"TakerGetsCurrency\":\"0000000000000000000000004254430000000000\",\"TakerGetsIssuer\":\"0A20B3C85F482532A9578DBB3950B85CA06594D1\",\"TakerPaysCurrency\":\"0000000000000000000000005553440000000000\",\"TakerPaysIssuer\":\"0A20B3C85F482532A9578DBB3950B85CA06594D1\"},\"LedgerEntryType\":\"DirectoryNode\",\"LedgerIndex\":\"6EAB7C172DEFA430DBFAD120FDC373B5F5AF8B191649EC985716571BD367C12A\"}},{\"ModifiedNode\":{\"FinalFields\":{\"Flags\":0,\"IndexPrevious\":\"00000000000022F7\",\"Owner\":\"rfCFLzNJYvvnoGHWQYACmJpTgkLUaugLEw\",\"RootIndex\":\"F435FBBEC9654204D7151A01E686BAA8CB325A472D7B61C7916EA58B59355767\"},\"LedgerEntryType\":\"DirectoryNode\",\"LedgerIndex\":\"88048321517F5E225D2963BC749F9F9853D348679406839659056E67D2D374C9\"}}],\"TransactionIndex\":2,\"TransactionResult\":\"tesSUCCESS\"},\"ledger_index\":22420574}"
|
||||
},
|
||||
{
|
||||
"type": "payment",
|
||||
"address": "rGFuMiw48HdbnrUbkRYuitXTmfrDBNTCnX",
|
||||
"sequence": 23295,
|
||||
"id": "A0A074D10355223CBE2520A42F93A52E3CC8B4D692570EB4841084F9BBB39F7A",
|
||||
"specification": {
|
||||
"source": {
|
||||
"address": "rGFuMiw48HdbnrUbkRYuitXTmfrDBNTCnX",
|
||||
"maxAmount": {
|
||||
"currency": "USD",
|
||||
"value": "10",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
|
||||
}
|
||||
},
|
||||
"destination": {
|
||||
"address": "rNNuQMuExCiEjeZ4h9JJnj5PSWypdMXDj4"
|
||||
},
|
||||
"allowPartialPayment": true
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"fee": "0.01",
|
||||
"balanceChanges": {
|
||||
"rGFuMiw48HdbnrUbkRYuitXTmfrDBNTCnX": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.01"
|
||||
},
|
||||
{
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
|
||||
"currency": "USD",
|
||||
"value": "-10"
|
||||
}
|
||||
],
|
||||
"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B": [
|
||||
{
|
||||
"counterparty": "rNNuQMuExCiEjeZ4h9JJnj5PSWypdMXDj4",
|
||||
"currency": "USD",
|
||||
"value": "-9.980039920159681"
|
||||
},
|
||||
{
|
||||
"counterparty": "rGFuMiw48HdbnrUbkRYuitXTmfrDBNTCnX",
|
||||
"currency": "USD",
|
||||
"value": "10"
|
||||
}
|
||||
],
|
||||
"rNNuQMuExCiEjeZ4h9JJnj5PSWypdMXDj4": [
|
||||
{
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
|
||||
"currency": "USD",
|
||||
"value": "9.980039920159681"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {},
|
||||
"ledgerVersion": 22420574,
|
||||
"indexInLedger": 5,
|
||||
"deliveredAmount": {
|
||||
"currency": "USD",
|
||||
"value": "9.980039920159681",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
|
||||
}
|
||||
},
|
||||
"rawTransaction": "{\"Account\":\"rGFuMiw48HdbnrUbkRYuitXTmfrDBNTCnX\",\"Amount\":{\"currency\":\"USD\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\",\"value\":\"10\"},\"Destination\":\"rNNuQMuExCiEjeZ4h9JJnj5PSWypdMXDj4\",\"Fee\":\"10000\",\"Flags\":131072,\"Sequence\":23295,\"SigningPubKey\":\"02B205F4B92351AC0EEB04254B636F4C49EF922CFA3CAAD03C6477DA1E04E94B53\",\"TransactionType\":\"Payment\",\"TxnSignature\":\"3045022100FAF247A836D601DE74A515B2AADE31186D8B0DA9C23DE489E09753F5CF4BB81F0220477C5B5BC3AC89F2347744F9E00CCA62267E198489D747578162C4C7D156211D\",\"hash\":\"A0A074D10355223CBE2520A42F93A52E3CC8B4D692570EB4841084F9BBB39F7A\",\"meta\":{\"AffectedNodes\":[{\"ModifiedNode\":{\"FinalFields\":{\"Account\":\"rGFuMiw48HdbnrUbkRYuitXTmfrDBNTCnX\",\"Balance\":\"1930599790\",\"Flags\":0,\"OwnerCount\":2,\"Sequence\":23296},\"LedgerEntryType\":\"AccountRoot\",\"LedgerIndex\":\"267C16D24EC42EEF8B03D5BE4E94266B1675FA54AFCE42DE795E02AB61031CBD\",\"PreviousFields\":{\"Balance\":\"1930609790\",\"Sequence\":23295},\"PreviousTxnID\":\"0F5396388E91D37BB26C8E24073A57E7C5D51E79AEE4CD855653B8499AE4E3DD\",\"PreviousTxnLgrSeq\":22419806}},{\"ModifiedNode\":{\"FinalFields\":{\"Balance\":{\"currency\":\"USD\",\"issuer\":\"rrrrrrrrrrrrrrrrrrrrBZbvji\",\"value\":\"-9.980959751659681\"},\"Flags\":2228224,\"HighLimit\":{\"currency\":\"USD\",\"issuer\":\"rNNuQMuExCiEjeZ4h9JJnj5PSWypdMXDj4\",\"value\":\"1000000\"},\"HighNode\":\"0000000000000000\",\"LowLimit\":{\"currency\":\"USD\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\",\"value\":\"0\"},\"LowNode\":\"0000000000000423\"},\"LedgerEntryType\":\"RippleState\",\"LedgerIndex\":\"C66957AF25229357F9C2D2BA17CE47D88169788EDA7610AD0F29AD5BCB225EE5\",\"PreviousFields\":{\"Balance\":{\"currency\":\"USD\",\"issuer\":\"rrrrrrrrrrrrrrrrrrrrBZbvji\",\"value\":\"-0.0009198315\"}},\"PreviousTxnID\":\"2A01E994D7000000B43DD63825A081B4440A44AB2F6FA0D506158AC9CA6B2869\",\"PreviousTxnLgrSeq\":22420532}},{\"ModifiedNode\":{\"FinalFields\":{\"Balance\":{\"currency\":\"USD\",\"issuer\":\"rrrrrrrrrrrrrrrrrrrrBZbvji\",\"value\":\"-276666.975959\"},\"Flags\":131072,\"HighLimit\":{\"currency\":\"USD\",\"issuer\":\"rGFuMiw48HdbnrUbkRYuitXTmfrDBNTCnX\",\"value\":\"1000000\"},\"HighNode\":\"0000000000000000\",\"LowLimit\":{\"currency\":\"USD\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\",\"value\":\"0\"},\"LowNode\":\"00000000000002D7\"},\"LedgerEntryType\":\"RippleState\",\"LedgerIndex\":\"FFD710AE2074A98D920D00CC352F25744899F069A6C1B9E31DD32D2C6606E615\",\"PreviousFields\":{\"Balance\":{\"currency\":\"USD\",\"issuer\":\"rrrrrrrrrrrrrrrrrrrrBZbvji\",\"value\":\"-276676.975959\"}},\"PreviousTxnID\":\"BB9DFC87E9D4ED09CA2726DDFE83A4A396ED0D6545536322DE17CDACF45C0D5B\",\"PreviousTxnLgrSeq\":22419307}}],\"DeliveredAmount\":{\"currency\":\"USD\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\",\"value\":\"9.980039920159681\"},\"TransactionIndex\":5,\"TransactionResult\":\"tesSUCCESS\"},\"ledger_index\":22420574}"
|
||||
},
|
||||
{
|
||||
"type": "order",
|
||||
"address": "rMPJDVaiP1eY7QTy3qFKLyBJxry2vuD5Sp",
|
||||
"sequence": 1294410,
|
||||
"id": "B1B959CA2B3B46F07B2F1373C84E927C46B124E9728C79A2736F32AA3F2DB7FB",
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"value": "2500",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "JPY",
|
||||
"value": "254121.4048342",
|
||||
"counterparty": "r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN"
|
||||
},
|
||||
"memos": [
|
||||
{
|
||||
"type": "offer_comment",
|
||||
"data": "S_rf_jpy_usd_tokyo_bit_maxim#q_ripple"
|
||||
}
|
||||
]
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"fee": "0.01",
|
||||
"balanceChanges": {
|
||||
"rMPJDVaiP1eY7QTy3qFKLyBJxry2vuD5Sp": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.01"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {
|
||||
"rMPJDVaiP1eY7QTy3qFKLyBJxry2vuD5Sp": [
|
||||
{
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
|
||||
"value": "2500"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "JPY",
|
||||
"counterparty": "r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN",
|
||||
"value": "255397.84578255"
|
||||
},
|
||||
"sequence": 1294409,
|
||||
"status": "cancelled",
|
||||
"makerExchangeRate": "0.009788649517931102"
|
||||
},
|
||||
{
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
|
||||
"value": "2500"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "JPY",
|
||||
"counterparty": "r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN",
|
||||
"value": "254121.4048342"
|
||||
},
|
||||
"sequence": 1294410,
|
||||
"status": "created",
|
||||
"makerExchangeRate": "0.009837817485823794"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ledgerVersion": 22420574,
|
||||
"indexInLedger": 3
|
||||
},
|
||||
"rawTransaction": "{\"Account\":\"rMPJDVaiP1eY7QTy3qFKLyBJxry2vuD5Sp\",\"Fee\":\"10000\",\"LastLedgerSequence\":22420577,\"Memos\":[{\"Memo\":{\"MemoData\":\"535F72665F6A70795F7573645F746F6B796F5F6269745F6D6178696D23715F726970706C65\",\"MemoType\":\"6F666665725F636F6D6D656E74\"}}],\"OfferSequence\":1294409,\"Sequence\":1294410,\"SigningPubKey\":\"020D9B49DBB6583827CC36E86BF13EDFA600367BE26DB09759AD08890A13CD92F9\",\"TakerGets\":{\"currency\":\"JPY\",\"issuer\":\"r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN\",\"value\":\"254121.4048342\"},\"TakerPays\":{\"currency\":\"USD\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\",\"value\":\"2500\"},\"TransactionType\":\"OfferCreate\",\"TxnSignature\":\"304402202EB6221AFBD704EF9E79C8DC69ED1B1B1219DB2239779A1B759CC9C42C759742022024C97FE2E4242C3B687416C1C518CDE1A06956347315B8AAFC45DE0CAC918FA6\",\"hash\":\"B1B959CA2B3B46F07B2F1373C84E927C46B124E9728C79A2736F32AA3F2DB7FB\",\"meta\":{\"AffectedNodes\":[{\"DeletedNode\":{\"FinalFields\":{\"Account\":\"rMPJDVaiP1eY7QTy3qFKLyBJxry2vuD5Sp\",\"BookDirectory\":\"95576C3354EA28D72B3A0D084DD6A45C45C2F47A64735CF45222C6B99158DA5E\",\"BookNode\":\"0000000000000000\",\"Flags\":0,\"OwnerNode\":\"0000000000000000\",\"PreviousTxnID\":\"050C1BD88A98FD6F5771EF04D76B1070FA9C3359FB3DB0F0E2518E0CB9BEE1FE\",\"PreviousTxnLgrSeq\":22420573,\"Sequence\":1294409,\"TakerGets\":{\"currency\":\"JPY\",\"issuer\":\"r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN\",\"value\":\"255397.84578255\"},\"TakerPays\":{\"currency\":\"USD\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\",\"value\":\"2500\"}},\"LedgerEntryType\":\"Offer\",\"LedgerIndex\":\"1343E6606ABEBB1F9A67C509F0D6AD6BC8E5BB6233A52E1477C8B3EE9B56F22D\"}},{\"CreatedNode\":{\"LedgerEntryType\":\"Offer\",\"LedgerIndex\":\"1AE025735533090254CF26482318847923FF38E72606182926B36482D9D51C68\",\"NewFields\":{\"Account\":\"rMPJDVaiP1eY7QTy3qFKLyBJxry2vuD5Sp\",\"BookDirectory\":\"95576C3354EA28D72B3A0D084DD6A45C45C2F47A64735CF45222F371609B8F32\",\"Sequence\":1294410,\"TakerGets\":{\"currency\":\"JPY\",\"issuer\":\"r94s8px6kSw1uZ1MV98dhSRTvc6VMPoPcN\",\"value\":\"254121.4048342\"},\"TakerPays\":{\"currency\":\"USD\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\",\"value\":\"2500\"}}}},{\"ModifiedNode\":{\"FinalFields\":{\"Account\":\"rMPJDVaiP1eY7QTy3qFKLyBJxry2vuD5Sp\",\"Balance\":\"2298060996\",\"Flags\":0,\"OwnerCount\":24,\"Sequence\":1294411},\"LedgerEntryType\":\"AccountRoot\",\"LedgerIndex\":\"6F30F56C9326728173DD7A6FD9D3D84E5E4F95FE552D8F67C2C2BC154C596D53\",\"PreviousFields\":{\"Balance\":\"2298070996\",\"Sequence\":1294410},\"PreviousTxnID\":\"050C1BD88A98FD6F5771EF04D76B1070FA9C3359FB3DB0F0E2518E0CB9BEE1FE\",\"PreviousTxnLgrSeq\":22420573}},{\"DeletedNode\":{\"FinalFields\":{\"ExchangeRate\":\"5222C6B99158DA5E\",\"Flags\":0,\"RootIndex\":\"95576C3354EA28D72B3A0D084DD6A45C45C2F47A64735CF45222C6B99158DA5E\",\"TakerGetsCurrency\":\"0000000000000000000000004A50590000000000\",\"TakerGetsIssuer\":\"5BBC0F22F61D9224A110650CFE21CC0C4BE13098\",\"TakerPaysCurrency\":\"0000000000000000000000005553440000000000\",\"TakerPaysIssuer\":\"0A20B3C85F482532A9578DBB3950B85CA06594D1\"},\"LedgerEntryType\":\"DirectoryNode\",\"LedgerIndex\":\"95576C3354EA28D72B3A0D084DD6A45C45C2F47A64735CF45222C6B99158DA5E\"}},{\"CreatedNode\":{\"LedgerEntryType\":\"DirectoryNode\",\"LedgerIndex\":\"95576C3354EA28D72B3A0D084DD6A45C45C2F47A64735CF45222F371609B8F32\",\"NewFields\":{\"ExchangeRate\":\"5222F371609B8F32\",\"RootIndex\":\"95576C3354EA28D72B3A0D084DD6A45C45C2F47A64735CF45222F371609B8F32\",\"TakerGetsCurrency\":\"0000000000000000000000004A50590000000000\",\"TakerGetsIssuer\":\"5BBC0F22F61D9224A110650CFE21CC0C4BE13098\",\"TakerPaysCurrency\":\"0000000000000000000000005553440000000000\",\"TakerPaysIssuer\":\"0A20B3C85F482532A9578DBB3950B85CA06594D1\"}}},{\"ModifiedNode\":{\"FinalFields\":{\"Flags\":0,\"Owner\":\"rMPJDVaiP1eY7QTy3qFKLyBJxry2vuD5Sp\",\"RootIndex\":\"987A5375A496B811965A54979A1E1A29F474CBA2D133F0587347B9B58E599666\"},\"LedgerEntryType\":\"DirectoryNode\",\"LedgerIndex\":\"987A5375A496B811965A54979A1E1A29F474CBA2D133F0587347B9B58E599666\"}}],\"TransactionIndex\":3,\"TransactionResult\":\"tesSUCCESS\"},\"ledger_index\":22420574}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,37 +0,0 @@
|
||||
{
|
||||
"stateHash": "2FC964BBFE22DF77A132FE12B5D2B58A09226EBCA73EF2CFF5BE29E56B3315F5",
|
||||
"closeTime": "2014-01-01T00:03:30.000Z",
|
||||
"closeTimeResolution": 10,
|
||||
"closeFlags": 0,
|
||||
"ledgerHash": "B52AC083396E9119B6CEED69C155B663D58FCA9245917B904BE57FB089E677A4",
|
||||
"ledgerVersion": 4181996,
|
||||
"parentLedgerHash": "599820AB83EF490BA04019E88A90202516D7F39CA169CF639ADCD0A434C7D7DF",
|
||||
"parentCloseTime": "2014-01-01T00:03:10.000Z",
|
||||
"totalDrops": "99999998243206519",
|
||||
"transactionHash": "49B500E719BB3AC7CB74E3E0D028A01BFE626484F4659CDD98CB4E32BFE0D601",
|
||||
"transactions": [
|
||||
{
|
||||
"type": "settings",
|
||||
"address": "rEGy9CxMTFGXFgUHUMreTy2FbqArabGy38",
|
||||
"sequence": 6478,
|
||||
"id": "FEEFC959B0351156F58A2275F5A6B37B07AA85CCCE2C4AF8A1342A0196A3CD4D",
|
||||
"specification": {},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"fee": "0.00001",
|
||||
"ledgerVersion": 4181996,
|
||||
"balanceChanges": {
|
||||
"rEGy9CxMTFGXFgUHUMreTy2FbqArabGy38": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.00001"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {},
|
||||
"indexInLedger": 0
|
||||
},
|
||||
"rawTransaction": "{\"Account\":\"rEGy9CxMTFGXFgUHUMreTy2FbqArabGy38\",\"Fee\":\"10\",\"ledger_index\":4181996,\"Flags\":0,\"Sequence\":6478,\"SigningPubKey\":\"02CAB6F3A798712136DB5F105A98B0DE27C99AEDB68500181706B087CF1B6D0F2D\",\"TransactionType\":\"AccountSet\",\"TxnSignature\":\"304402202144BD33CC30793455B0F90954576EEE80F13C4C73538D2AEE012564C48E522E02207A8A4AD2CF2B4DB549FB2F05D38E065B5DD1EAA386310698E5247F1BB515E99F\",\"hash\":\"FEEFC959B0351156F58A2275F5A6B37B07AA85CCCE2C4AF8A1342A0196A3CD4D\",\"meta\":{\"AffectedNodes\":[{\"ModifiedNode\":{\"FinalFields\":{\"Account\":\"rEGy9CxMTFGXFgUHUMreTy2FbqArabGy38\",\"Balance\":\"403657865\",\"Flags\":0,\"OwnerCount\":2,\"Sequence\":6479},\"LedgerEntryType\":\"AccountRoot\",\"LedgerIndex\":\"F64FAA4CAFDB9931DC06890FE30B4E29C32F7AD574FC7C3362B81265682BFAEA\",\"PreviousFields\":{\"Balance\":\"403657875\",\"Sequence\":6478},\"PreviousTxnID\":\"B257B95A637C6C396507AD0AE122161A849C701F065B67009BB939690DB74BC9\",\"PreviousTxnLgrSeq\":4181972}}],\"TransactionIndex\":0,\"TransactionResult\":\"tesSUCCESS\"}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"stateHash": "8DBB7FA4036704D96AD32A4573BEE461FDDBDCB1B6F62CB17EDB5182F52AE9F1",
|
||||
"closeTime": "2015-11-18T11:00:30.000Z",
|
||||
"closeTimeResolution": 30,
|
||||
"closeFlags": 0,
|
||||
"ledgerHash": "3D7115EDB5EC72FEF4ADDF46CA5B7770CBDECEAB3A97EA210BCC04E8C54A7CEE",
|
||||
"ledgerVersion": 6,
|
||||
"parentLedgerHash": "6D36AEFD3639EE22A27DDE0FA6C57525D103941F11D7FD6D91AC8D439DE2B3EE",
|
||||
"parentCloseTime": "2015-11-18T07:53:01.000Z",
|
||||
"totalDrops": "99999999999999964",
|
||||
"transactionHash": "B8D716B82BFFF4186BBBE7B7341AE0E1CBD2558952408B96E925EC0A51A6AEC2",
|
||||
"transactionHashes": [
|
||||
"B22E27F35F3F7679F76A474E4FF8E71EFA21B313DF2FC6678037A053A00FD084"
|
||||
],
|
||||
"stateHashes": [
|
||||
"2B6AC232AA4C4BE41BF49D2459FA4A0347E1B543A4C92FCEE0821C0201E2E9A8",
|
||||
"8B24E55376A65D68542C17F3BF446231AC7062CB43BED28817570128A1849819",
|
||||
"B4979A36CDC7F3D3D5C31A4EAE2AC7D7209DDA877588B9AFC66799692AB0D66B"
|
||||
]
|
||||
}
|
||||
340
test/fixtures/responses/getOrders.json
vendored
340
test/fixtures/responses/getOrders.json
vendored
@@ -1,340 +0,0 @@
|
||||
[
|
||||
{
|
||||
"specification": {
|
||||
"direction": "sell",
|
||||
"quantity": {
|
||||
"currency": "EUR",
|
||||
"value": "17.70155237781915",
|
||||
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "USD",
|
||||
"value": "1122.990930900328",
|
||||
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"maker": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"sequence": 719930,
|
||||
"makerExchangeRate": "63.44025128030504"
|
||||
}
|
||||
},
|
||||
{
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "EUR",
|
||||
"value": "750",
|
||||
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "USD",
|
||||
"value": "19.11697137482289",
|
||||
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"maker": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"sequence": 756999,
|
||||
"makerExchangeRate": "39.23215583132338"
|
||||
}
|
||||
},
|
||||
{
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"value": "19.50899530491766",
|
||||
"counterparty": "rpDMez6pm6dBve2TJsmDpv7Yae6V5Pyvy2"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "USD",
|
||||
"value": "18.46856867857617",
|
||||
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"maker": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"sequence": 757002,
|
||||
"makerExchangeRate": "1.056334989703257"
|
||||
}
|
||||
},
|
||||
{
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"value": "1445.796633544794",
|
||||
"counterparty": "rpDMez6pm6dBve2TJsmDpv7Yae6V5Pyvy2"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "USD",
|
||||
"value": "14.40727807030772",
|
||||
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"maker": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"sequence": 757003,
|
||||
"makerExchangeRate": "100.3518240218094"
|
||||
}
|
||||
},
|
||||
{
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"value": "750",
|
||||
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "NZD",
|
||||
"value": "9.178557969538755",
|
||||
"counterparty": "rsP3mgGb2tcYUrxiLFiHJiQXhsziegtwBc"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"maker": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"sequence": 782148,
|
||||
"makerExchangeRate": "81.7121820757743"
|
||||
}
|
||||
},
|
||||
{
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"value": "500",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "USD",
|
||||
"value": "9.94768291869523",
|
||||
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"maker": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"sequence": 787368,
|
||||
"makerExchangeRate": "50.26296114247091"
|
||||
}
|
||||
},
|
||||
{
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"value": "10000",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "USD",
|
||||
"value": "9.994805759894176",
|
||||
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"maker": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"sequence": 787408,
|
||||
"makerExchangeRate": "1000.519693952099"
|
||||
}
|
||||
},
|
||||
{
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "MXN",
|
||||
"value": "15834.53653918684",
|
||||
"counterparty": "rG6FZ31hDHN1K5Dkbma3PSB5uVCuVVRzfn"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "USD",
|
||||
"value": "11.67691646304319",
|
||||
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"maker": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"sequence": 803438,
|
||||
"makerExchangeRate": "1356.054621894598"
|
||||
}
|
||||
},
|
||||
{
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"value": "3968.240250979598",
|
||||
"counterparty": "r9Dr5xwkeLegBeXq6ujinjSBLQzQ1zQGjH"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "XAU",
|
||||
"value": "0.03206299605333101",
|
||||
"counterparty": "r9Dr5xwkeLegBeXq6ujinjSBLQzQ1zQGjH"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"maker": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"sequence": 807858,
|
||||
"makerExchangeRate": "123763.8630020459"
|
||||
}
|
||||
},
|
||||
{
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"value": "4139.022125516302",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "XAU",
|
||||
"value": "0.03347459066593226",
|
||||
"counterparty": "r9Dr5xwkeLegBeXq6ujinjSBLQzQ1zQGjH"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"maker": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"sequence": 807896,
|
||||
"makerExchangeRate": "123646.6837435794"
|
||||
}
|
||||
},
|
||||
{
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "XRP",
|
||||
"value": "115760.19"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "NZD",
|
||||
"value": "6.840555705",
|
||||
"counterparty": "rsP3mgGb2tcYUrxiLFiHJiQXhsziegtwBc"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"maker": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"sequence": 814018,
|
||||
"makerExchangeRate": "16922.62953364839"
|
||||
}
|
||||
},
|
||||
{
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"value": "902.4050961259154",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "EUR",
|
||||
"value": "14.40843766044656",
|
||||
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"maker": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"sequence": 827522,
|
||||
"makerExchangeRate": "62.63032241192674"
|
||||
}
|
||||
},
|
||||
{
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"value": "181.4887131319798",
|
||||
"counterparty": "r9Dr5xwkeLegBeXq6ujinjSBLQzQ1zQGjH"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "XAG",
|
||||
"value": "1.128432823485989",
|
||||
"counterparty": "r9Dr5xwkeLegBeXq6ujinjSBLQzQ1zQGjH"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"maker": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"sequence": 833591,
|
||||
"makerExchangeRate": "160.8325363767064"
|
||||
}
|
||||
},
|
||||
{
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"value": "1814.887131319799",
|
||||
"counterparty": "r9Dr5xwkeLegBeXq6ujinjSBLQzQ1zQGjH"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "XAG",
|
||||
"value": "1.128432823485991",
|
||||
"counterparty": "r9Dr5xwkeLegBeXq6ujinjSBLQzQ1zQGjH"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"maker": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"sequence": 833592,
|
||||
"makerExchangeRate": "1608.325363767062"
|
||||
}
|
||||
},
|
||||
{
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"value": "118.6872603846736",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "XAG",
|
||||
"value": "0.7283371225235964",
|
||||
"counterparty": "r9Dr5xwkeLegBeXq6ujinjSBLQzQ1zQGjH"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"maker": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"sequence": 838954,
|
||||
"makerExchangeRate": "162.9564891233845"
|
||||
}
|
||||
},
|
||||
{
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "XAU",
|
||||
"value": "1",
|
||||
"counterparty": "r9Dr5xwkeLegBeXq6ujinjSBLQzQ1zQGjH"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "XRP",
|
||||
"value": "2229.229447"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"maker": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"sequence": 843730,
|
||||
"makerExchangeRate": "0.0004485854972648762"
|
||||
}
|
||||
},
|
||||
{
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "EUR",
|
||||
"value": "750",
|
||||
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "USD",
|
||||
"value": "17.77537376072202",
|
||||
"counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"maker": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"sequence": 844068,
|
||||
"makerExchangeRate": "42.19320561670911"
|
||||
}
|
||||
}
|
||||
]
|
||||
70
test/fixtures/responses/getPathsSendAll.json
vendored
70
test/fixtures/responses/getPathsSendAll.json
vendored
@@ -1,70 +0,0 @@
|
||||
[
|
||||
{
|
||||
"source": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"amount": {
|
||||
"currency": "USD",
|
||||
"value": "5"
|
||||
}
|
||||
},
|
||||
"destination": {
|
||||
"address": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX",
|
||||
"minAmount": {
|
||||
"currency": "USD",
|
||||
"value": "4.93463759481038"
|
||||
}
|
||||
},
|
||||
"paths": "[[{\"account\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\"},{\"currency\":\"XRP\"},{\"currency\":\"USD\",\"issuer\":\"rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q\"},{\"account\":\"rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q\"},{\"account\":\"rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn\"}],[{\"account\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\"},{\"currency\":\"XRP\"},{\"currency\":\"USD\",\"issuer\":\"rfsEoNBUBbvkf4jPcFe2u9CyaQagLVHGfP\"},{\"account\":\"rfsEoNBUBbvkf4jPcFe2u9CyaQagLVHGfP\"},{\"account\":\"rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q\"}]]"
|
||||
},
|
||||
{
|
||||
"source": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"amount": {
|
||||
"currency": "USD",
|
||||
"value": "5"
|
||||
}
|
||||
},
|
||||
"destination": {
|
||||
"address": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX",
|
||||
"minAmount": {
|
||||
"currency": "USD",
|
||||
"value": "4.93463759481038"
|
||||
}
|
||||
},
|
||||
"paths": "[[{\"account\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\"},{\"currency\":\"XRP\"},{\"currency\":\"USD\",\"issuer\":\"rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q\"},{\"account\":\"rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q\"},{\"account\":\"rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn\"}],[{\"account\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\"},{\"currency\":\"EUR\",\"issuer\":\"rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q\"},{\"currency\":\"USD\",\"issuer\":\"rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q\"},{\"account\":\"rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q\"}],[{\"account\":\"rLEsXccBGNR3UPuPu2hUXPjziKC3qKSBun\"},{\"currency\":\"USD\",\"issuer\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\"},{\"account\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\"}]]"
|
||||
},
|
||||
{
|
||||
"source": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"amount": {
|
||||
"currency": "USD",
|
||||
"value": "5"
|
||||
}
|
||||
},
|
||||
"destination": {
|
||||
"address": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX",
|
||||
"minAmount": {
|
||||
"currency": "USD",
|
||||
"value": "4.93463759481038"
|
||||
}
|
||||
},
|
||||
"paths": "[[{\"account\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\"},{\"currency\":\"XRP\"},{\"currency\":\"USD\",\"issuer\":\"rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q\"},{\"account\":\"rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q\"},{\"account\":\"rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn\"}],[{\"account\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\"},{\"currency\":\"XRP\"},{\"currency\":\"USD\",\"issuer\":\"rfsEoNBUBbvkf4jPcFe2u9CyaQagLVHGfP\"},{\"account\":\"rfsEoNBUBbvkf4jPcFe2u9CyaQagLVHGfP\"},{\"account\":\"rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q\"}],[{\"account\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\"},{\"currency\":\"JPY\",\"issuer\":\"rMAz5ZnK73nyNUL4foAvaxdreczCkG3vA6\"},{\"currency\":\"USD\",\"issuer\":\"rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q\"},{\"account\":\"rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q\"}]]"
|
||||
},
|
||||
{
|
||||
"source": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"amount": {
|
||||
"currency": "USD",
|
||||
"value": "5"
|
||||
}
|
||||
},
|
||||
"destination": {
|
||||
"address": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX",
|
||||
"minAmount": {
|
||||
"currency": "USD",
|
||||
"value": "4.990019960079841"
|
||||
}
|
||||
},
|
||||
"paths": "[[{\"account\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\"}],[{\"account\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\"},{\"account\":\"rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn\"}],[{\"account\":\"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B\"},{\"currency\":\"USD\",\"issuer\":\"rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q\"},{\"account\":\"rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q\"}]]"
|
||||
}
|
||||
]
|
||||
10
test/fixtures/responses/getPaymentChannel.json
vendored
10
test/fixtures/responses/getPaymentChannel.json
vendored
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"account": "r6ZtfQFWbCkp4XqaUygzHaXsQXBT67xLj",
|
||||
"amount": "10",
|
||||
"balance": "0",
|
||||
"destination": "rQf9vCwQtzQQwtnGvr6zc1fqzqg7QBuj7G",
|
||||
"publicKey": "02A05282CB6197E34490BACCD9405E81D9DFBE123B0969F9F40EC3F9987AD9A97D",
|
||||
"settleDelay": 10000,
|
||||
"previousAffectingTransactionID": "F939A0BEF139465403C56CCDC49F59A77C868C78C5AEC184E29D15E9CD1FF675",
|
||||
"previousAffectingTransactionLedgerVersion": 151322
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"account": "r6ZtfQFWbCkp4XqaUygzHaXsQXBT67xLj",
|
||||
"amount": "10",
|
||||
"balance": "3",
|
||||
"destination": "rQf9vCwQtzQQwtnGvr6zc1fqzqg7QBuj7G",
|
||||
"publicKey": "02A05282CB6197E34490BACCD9405E81D9DFBE123B0969F9F40EC3F9987AD9A97D",
|
||||
"settleDelay": 10000,
|
||||
"cancelAfter": "2017-04-08T00:00:00.000Z",
|
||||
"expiration": "2017-04-07T06:09:31.000Z",
|
||||
"previousAffectingTransactionID": "39C47AD0AF1532D6A796EEB90BDA1A61B3EE4FA96C7A08070B78B33CE24F2160",
|
||||
"previousAffectingTransactionLedgerVersion": 156978
|
||||
}
|
||||
24
test/fixtures/responses/getSettings.json
vendored
24
test/fixtures/responses/getSettings.json
vendored
@@ -1,24 +0,0 @@
|
||||
{
|
||||
"requireDestinationTag": true,
|
||||
"disallowIncomingXRP": true,
|
||||
"emailHash": "23463B99B62A72F26ED677CC556C44E8",
|
||||
"walletLocator": "00000000000000000000000000000000000000000000000000000000DEADBEEF",
|
||||
"domain": "example.com",
|
||||
"transferRate": 1.002,
|
||||
"tickSize": 5,
|
||||
"signers": {
|
||||
"threshold": 3,
|
||||
"weights": [
|
||||
{
|
||||
"address": "rpHit3GvUR1VSGh2PXcaaZKEEUnCVxWU2i",
|
||||
"weight": 1
|
||||
}, {
|
||||
"address": "rN4oCm1c6BQz6nru83H52FBSpNbC9VQcRc",
|
||||
"weight": 1
|
||||
}, {
|
||||
"address": "rJ8KhCi67VgbapiKCQN3r1ZA6BMUxUvvnD",
|
||||
"weight": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
{
|
||||
"type": "accountDelete",
|
||||
"address": "rM5qup5BYDLMXaR5KU1hiC9HhFMuBVrnKv",
|
||||
"sequence": 3227049,
|
||||
"id": "EC2AB14028DC84DE525470AB4DAAA46358B50A8662C63804BFF38244731C0CB9",
|
||||
"specification": {
|
||||
"destination": "rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe",
|
||||
"destinationXAddress": "XV5kHfQmzDQjbFNv4jX3FX9Y7ig5QhpKGEFCq4mdLfhdxMq"
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2019-12-17T09:16:51.000Z",
|
||||
"fee": "5",
|
||||
"balanceChanges": {
|
||||
"rM5qup5BYDLMXaR5KU1hiC9HhFMuBVrnKv": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-10000"
|
||||
}
|
||||
],
|
||||
"rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "9995"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {},
|
||||
"ledgerVersion": 3232071,
|
||||
"indexInLedger": 0
|
||||
}
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
{
|
||||
"type": "accountDelete",
|
||||
"address": "rPMMnbyptUziwr4eWAUQ3UHycaiNKZTJWd",
|
||||
"sequence": 16427655,
|
||||
"id": "BB1F552C57880F636FE8A88C041DEBAE96B428074CB4AB7DF489181F512B9FC3",
|
||||
"specification": {
|
||||
"memos": [
|
||||
{
|
||||
"type": "test",
|
||||
"format": "text/plain",
|
||||
"data": "texted data"
|
||||
}
|
||||
],
|
||||
"destination": "rErhTv3pwYAgsERLfhtWeE33wAHtDRuUwK",
|
||||
"destinationXAddress": "XVEwxw6GgRruNDrp8d4bTkqjBt3S3fcrNdjdAS8j7BZxp2e"
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2019-12-17T09:16:51.000Z",
|
||||
"fee": "5",
|
||||
"balanceChanges": {
|
||||
"rErhTv3pwYAgsERLfhtWeE33wAHtDRuUwK": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "994.979976"
|
||||
}
|
||||
],
|
||||
"rPMMnbyptUziwr4eWAUQ3UHycaiNKZTJWd": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-999.979976"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {},
|
||||
"ledgerVersion": 16430632,
|
||||
"indexInLedger": 0
|
||||
}
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"type": "amendment",
|
||||
"address": "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
|
||||
"sequence": 0,
|
||||
"id": "A971B83ABED51D83749B73F3C1AAA627CD965AFF74BE8CD98299512D6FB0658F",
|
||||
"specification": {
|
||||
"amendment": "42426C4D4F1009EE67080A9B7965B44656D7714D104A72F9B4369F97ABF044EE"
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2016-05-05T16:33:30.000Z",
|
||||
"fee": "0",
|
||||
"balanceChanges": {},
|
||||
"orderbookChanges": {},
|
||||
"indexInLedger": 0
|
||||
}
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
{
|
||||
"type": "checkCancel",
|
||||
"address": "rNpdNFXNMvEcaXDqMypi48gdSABZkYuyQE",
|
||||
"sequence": 6,
|
||||
"id": "B4105D1B2D83819647E4692B7C5843D674283F669524BD50C9614182E3A12CD4",
|
||||
"specification": {
|
||||
"checkID": "6EE1727598693635183A3D967342A46C739FC06F973CA6A3277A92E8D997E7A8"
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2018-02-23T22:45:41.000Z",
|
||||
"fee": "0.000012",
|
||||
"balanceChanges": {
|
||||
"rNpdNFXNMvEcaXDqMypi48gdSABZkYuyQE": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.000012"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {},
|
||||
"ledgerVersion": 6967970,
|
||||
"indexInLedger": 4
|
||||
}
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
{
|
||||
"type": "checkCancel",
|
||||
"address": "rNpdNFXNMvEcaXDqMypi48gdSABZkYuyQE",
|
||||
"sequence": 6,
|
||||
"id": "B4105D1B2D83819647E4692B7C5843D674283F669524BD50C9614182E3A12CD4",
|
||||
"specification": {
|
||||
"checkID": "6EE1727598693635183A3D967342A46C739FC06F973CA6A3277A92E8D997E7A8",
|
||||
"memos": [
|
||||
{
|
||||
"type": "test",
|
||||
"format": "text/plain",
|
||||
"data": "texted data"
|
||||
}
|
||||
]
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2018-02-23T22:45:41.000Z",
|
||||
"fee": "0.000012",
|
||||
"balanceChanges": {
|
||||
"rNpdNFXNMvEcaXDqMypi48gdSABZkYuyQE": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.000012"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {},
|
||||
"ledgerVersion": 6967970,
|
||||
"indexInLedger": 4
|
||||
}
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
{
|
||||
"type": "checkCash",
|
||||
"address": "raLHvSZXacoGiCoWrdBhVGstZm6GhF7oRr",
|
||||
"sequence": 3,
|
||||
"id": "8321208465F70BA52C28BCC4F646BAF3B012BA13B57576C0336F42D77E3E0749",
|
||||
"specification": {
|
||||
"checkID": "4F6DDA7972A5E8C8F2AA3D2A475E56475FA573C65B935E26EABDA5F06A982C70",
|
||||
"amount": {
|
||||
"currency": "XRP",
|
||||
"value": "2.5"
|
||||
}
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2018-02-23T22:26:52.000Z",
|
||||
"fee": "0.000012",
|
||||
"balanceChanges": {
|
||||
"raLHvSZXacoGiCoWrdBhVGstZm6GhF7oRr": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "2.499988"
|
||||
}
|
||||
],
|
||||
"rNpdNFXNMvEcaXDqMypi48gdSABZkYuyQE": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-2.5"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {},
|
||||
"ledgerVersion": 6967596,
|
||||
"indexInLedger": 0
|
||||
}
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
{
|
||||
"type": "checkCash",
|
||||
"address": "raLHvSZXacoGiCoWrdBhVGstZm6GhF7oRr",
|
||||
"sequence": 3,
|
||||
"id": "8321208465F70BA52C28BCC4F646BAF3B012BA13B57576C0336F42D77E3E0749",
|
||||
"specification": {
|
||||
"checkID": "4F6DDA7972A5E8C8F2AA3D2A475E56475FA573C65B935E26EABDA5F06A982C70",
|
||||
"amount": {
|
||||
"currency": "XRP",
|
||||
"value": "2.5"
|
||||
},
|
||||
"memos": [
|
||||
{
|
||||
"type": "test",
|
||||
"format": "text/plain",
|
||||
"data": "texted data"
|
||||
}
|
||||
]
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2018-02-23T22:26:52.000Z",
|
||||
"fee": "0.000012",
|
||||
"balanceChanges": {
|
||||
"raLHvSZXacoGiCoWrdBhVGstZm6GhF7oRr": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "2.499988"
|
||||
}
|
||||
],
|
||||
"rNpdNFXNMvEcaXDqMypi48gdSABZkYuyQE": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-2.5"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {},
|
||||
"ledgerVersion": 6967596,
|
||||
"indexInLedger": 0
|
||||
}
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
{
|
||||
"type": "checkCreate",
|
||||
"address": "rNpdNFXNMvEcaXDqMypi48gdSABZkYuyQE",
|
||||
"sequence": 3,
|
||||
"id": "605A2E2C8E48AECAF5C56085D1AEAA0348DC838CE122C9188F94EB19DA05C2FE",
|
||||
"specification": {
|
||||
"destination": "raLHvSZXacoGiCoWrdBhVGstZm6GhF7oRr",
|
||||
"sendMax": {
|
||||
"currency": "XRP",
|
||||
"value": "3"
|
||||
},
|
||||
"destinationTag": 1235,
|
||||
"expiration": "2018-02-25T21:22:47.000Z",
|
||||
"invoiceID": "DEADBEEF2FE8A32E40E1F2C05CF1C15545BAB56B617F9C6C2D63A6B704BEF59B"
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2018-02-23T22:20:01.000Z",
|
||||
"fee": "0.000012",
|
||||
"balanceChanges": {
|
||||
"rNpdNFXNMvEcaXDqMypi48gdSABZkYuyQE": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.000012"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {},
|
||||
"ledgerVersion": 6967458,
|
||||
"indexInLedger": 1
|
||||
}
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
{
|
||||
"type": "checkCreate",
|
||||
"address": "rNpdNFXNMvEcaXDqMypi48gdSABZkYuyQE",
|
||||
"sequence": 3,
|
||||
"id": "605A2E2C8E48AECAF5C56085D1AEAA0348DC838CE122C9188F94EB19DA05C2FE",
|
||||
"specification": {
|
||||
"destination": "raLHvSZXacoGiCoWrdBhVGstZm6GhF7oRr",
|
||||
"sendMax": {
|
||||
"currency": "XRP",
|
||||
"value": "3"
|
||||
},
|
||||
"destinationTag": 1235,
|
||||
"expiration": "2018-02-25T21:22:47.000Z",
|
||||
"invoiceID": "DEADBEEF2FE8A32E40E1F2C05CF1C15545BAB56B617F9C6C2D63A6B704BEF59B",
|
||||
"memos": [
|
||||
{
|
||||
"type": "test",
|
||||
"format": "text/plain",
|
||||
"data": "texted data"
|
||||
}
|
||||
]
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2018-02-23T22:20:01.000Z",
|
||||
"fee": "0.000012",
|
||||
"balanceChanges": {
|
||||
"rNpdNFXNMvEcaXDqMypi48gdSABZkYuyQE": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.000012"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {},
|
||||
"ledgerVersion": 6967458,
|
||||
"indexInLedger": 1
|
||||
}
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
{
|
||||
"type": "depositPreauth",
|
||||
"address": "rH8AzLerezBnkuM7reZfrQ513nRvKjDrnx",
|
||||
"sequence": 16433982,
|
||||
"id": "3BA61A2621C09A119A12EA9271AE5FA165B6E39657E02BFD3C5B21E28F72B883",
|
||||
"specification": {
|
||||
"memos": [
|
||||
{
|
||||
"type": "test",
|
||||
"format": "text/plain",
|
||||
"data": "texted data"
|
||||
}
|
||||
],
|
||||
"authorize": "rErhTv3pwYAgsERLfhtWeE33wAHtDRuUwK"
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2018-02-23T22:20:01.000Z",
|
||||
"fee": "0.000012",
|
||||
"balanceChanges": {
|
||||
"rH8AzLerezBnkuM7reZfrQ513nRvKjDrnx": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.000012"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {},
|
||||
"ledgerVersion": 16433986,
|
||||
"indexInLedger": 0
|
||||
}
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
{
|
||||
"type": "escrowCancellation",
|
||||
"address": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
|
||||
"sequence": 9,
|
||||
"id": "F346E542FFB7A8398C30A87B952668DAB48B7D421094F8B71776DA19775A3B22",
|
||||
"specification": {
|
||||
"owner": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
|
||||
"escrowSequence": 7
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2015-11-16T04:50:20.000Z",
|
||||
"fee": "0.000012",
|
||||
"balanceChanges": {
|
||||
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.00001"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {},
|
||||
"ledgerVersion": 14,
|
||||
"indexInLedger": 0
|
||||
}
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
{
|
||||
"type": "escrowCreation",
|
||||
"address": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
|
||||
"sequence": 10,
|
||||
"id": "144F272380BDB4F1BD92329A2178BABB70C20F59042C495E10BF72EBFB408EE1",
|
||||
"specification": {
|
||||
"amount": "0.000002",
|
||||
"destination": "rp8rJYTpodf8qbSCHVTNacf8nSW8mRakFw",
|
||||
"memos": [
|
||||
{
|
||||
"type": "x2",
|
||||
"format": "text/plain",
|
||||
"data": "mema data"
|
||||
}
|
||||
],
|
||||
"condition": "A0258020E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855810100",
|
||||
"allowCancelAfter": "2015-11-16T06:53:42.000Z",
|
||||
"allowExecuteAfter": "2015-11-16T06:47:42.000Z",
|
||||
"destinationTag": 2,
|
||||
"sourceTag": 1
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2015-11-16T06:43:00.000Z",
|
||||
"fee": "0.000012",
|
||||
"balanceChanges": {
|
||||
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.000014"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {},
|
||||
"ledgerVersion": 15,
|
||||
"indexInLedger": 0
|
||||
}
|
||||
}
|
||||
@@ -1,34 +0,0 @@
|
||||
{
|
||||
"type": "escrowExecution",
|
||||
"address": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
|
||||
"sequence": 6,
|
||||
"id": "CC5277137B3F25EE8B86259C83CB0EAADE818505E4E9BCBF19B1AC6FD136993B",
|
||||
"specification": {
|
||||
"owner": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
|
||||
"escrowSequence": 5,
|
||||
"condition": "A0258020E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855810100",
|
||||
"fulfillment": "A0028000"
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2015-11-17T01:47:40.000Z",
|
||||
"fee": "0.000012",
|
||||
"balanceChanges": {
|
||||
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.000012"
|
||||
}
|
||||
],
|
||||
"rp8rJYTpodf8qbSCHVTNacf8nSW8mRakFw": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "10.000043"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {},
|
||||
"ledgerVersion": 14,
|
||||
"indexInLedger": 0
|
||||
}
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
{
|
||||
"type": "escrowExecution",
|
||||
"address": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
|
||||
"sequence": 6,
|
||||
"id": "CC5277137B3F25EE8B86259C83CB0EAADE818505E4E9BCBF19B1AC6FD1369931",
|
||||
"specification": {
|
||||
"owner": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
|
||||
"escrowSequence": 5,
|
||||
"condition": "632F2F3E437AE720C397994A985B5D21FE186DE61523A9CA3E8709CC581671A1"
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2015-11-17T01:47:40.000Z",
|
||||
"fee": "0.000012",
|
||||
"balanceChanges": {
|
||||
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.000012"
|
||||
}
|
||||
],
|
||||
"rp8rJYTpodf8qbSCHVTNacf8nSW8mRakFw": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "10.000043"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {},
|
||||
"ledgerVersion": 14,
|
||||
"indexInLedger": 0
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"type": "feeUpdate",
|
||||
"address": "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
|
||||
"sequence": 0,
|
||||
"id": "C6A40F56127436DCD830B1B35FF939FD05B5747D30D6542572B7A835239817AF",
|
||||
"specification": {
|
||||
"baseFeeXRP": "0.00001",
|
||||
"referenceFeeUnits": 10,
|
||||
"reserveBaseXRP": "50",
|
||||
"reserveIncrementXRP": "12.5"
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2014-08-08T16:57:50.000Z",
|
||||
"fee": "0",
|
||||
"balanceChanges": {},
|
||||
"orderbookChanges": {},
|
||||
"ledgerVersion": 3717633,
|
||||
"indexInLedger": 3
|
||||
}
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
{
|
||||
"type": "feeUpdate",
|
||||
"address": "rrrrrrrrrrrrrrrrrrrrrhoLvTp",
|
||||
"sequence": 0,
|
||||
"id": "C6A40F56127436DCD830B1B35FF939FD05B5747D30D6542572B7A835239817A1",
|
||||
"specification": {
|
||||
"baseFeeXRP": "0.00001",
|
||||
"referenceFeeUnits": 10,
|
||||
"reserveBaseXRP": "50",
|
||||
"reserveIncrementXRP": "12.5",
|
||||
"memos": [
|
||||
{
|
||||
"type": "test",
|
||||
"format": "text/plain",
|
||||
"data": "texted data"
|
||||
}
|
||||
]
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2014-08-08T16:57:50.000Z",
|
||||
"fee": "0",
|
||||
"balanceChanges": {},
|
||||
"orderbookChanges": {},
|
||||
"ledgerVersion": 3717633,
|
||||
"indexInLedger": 3
|
||||
}
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
{
|
||||
"type": "payment",
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"sequence": 4,
|
||||
"id": "AFB3ADF22F3C605E23FAEFAA185F3BD763C4692CAC490D9819D117CD33BFAA1B",
|
||||
"specification": {
|
||||
"source": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"maxAmount": {
|
||||
"currency": "XRP",
|
||||
"value": "1.112209"
|
||||
}
|
||||
},
|
||||
"destination": {
|
||||
"address": "rMH4UxPrbuMa1spCBR98hLLyNJp4d8p4tM"
|
||||
},
|
||||
"paths": "[[{\"currency\":\"USD\",\"issuer\":\"rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo\",\"type\":48,\"type_hex\":\"0000000000000030\"},{\"account\":\"rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo\",\"currency\":\"USD\",\"issuer\":\"rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo\",\"type\":49,\"type_hex\":\"0000000000000031\"}]]"
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"type": "settings",
|
||||
"address": "rLVKsA4F9iJBbA6rX2x4wCmkj6drgtqpQe",
|
||||
"sequence": 1,
|
||||
"id": "4FB3ADF22F3C605E23FAEFAA185F3BD763C4692CAC490D9819D117CD33BFAA10",
|
||||
"specification": {
|
||||
"requireAuthorization": true,
|
||||
"disallowIncomingXRP": true,
|
||||
"globalFreeze": false
|
||||
}
|
||||
}
|
||||
52
test/fixtures/responses/getTransactionOrder.json
vendored
52
test/fixtures/responses/getTransactionOrder.json
vendored
@@ -1,52 +0,0 @@
|
||||
{
|
||||
"type": "order",
|
||||
"address": "r9UHu5CWni1qRY7Q4CfFZLGvXo2pGQy96b",
|
||||
"id": "5D9B0B246255815B63983C188B4C23325B3544F605CDBE3004769EE9E990D2F2",
|
||||
"sequence": 465,
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"value": "237",
|
||||
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "XRP",
|
||||
"value": "0.0002"
|
||||
}
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2014-09-24T21:21:50.000Z",
|
||||
"fee": "0.012",
|
||||
"balanceChanges": {
|
||||
"r9UHu5CWni1qRY7Q4CfFZLGvXo2pGQy96b": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.012"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {
|
||||
"r9UHu5CWni1qRY7Q4CfFZLGvXo2pGQy96b": [
|
||||
{
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q",
|
||||
"value": "237"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "XRP",
|
||||
"value": "0.0002"
|
||||
},
|
||||
"makerExchangeRate": "1185000",
|
||||
"sequence": 465,
|
||||
"status": "created"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ledgerVersion": 14661788,
|
||||
"indexInLedger": 2
|
||||
}
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
{
|
||||
"type": "orderCancellation",
|
||||
"address": "r9UHu5CWni1qRY7Q4CfFZLGvXo2pGQy96b",
|
||||
"id": "809335DD3B0B333865096217AA2F55A4DF168E0198080B3A090D12D88880FF0E",
|
||||
"sequence": 466,
|
||||
"specification": {
|
||||
"orderSequence": 465
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2014-09-24T21:21:50.000Z",
|
||||
"fee": "0.012",
|
||||
"balanceChanges": {
|
||||
"r9UHu5CWni1qRY7Q4CfFZLGvXo2pGQy96b": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.012"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {
|
||||
"r9UHu5CWni1qRY7Q4CfFZLGvXo2pGQy96b": [
|
||||
{
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q",
|
||||
"value": "237"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "XRP",
|
||||
"value": "0.0002"
|
||||
},
|
||||
"makerExchangeRate": "1185000",
|
||||
"sequence": 465,
|
||||
"status": "cancelled"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ledgerVersion": 14661789,
|
||||
"indexInLedger": 4
|
||||
}
|
||||
}
|
||||
@@ -1,50 +0,0 @@
|
||||
{
|
||||
"type": "orderCancellation",
|
||||
"address": "r9UHu5CWni1qRY7Q4CfFZLGvXo2pGQy96b",
|
||||
"id": "447D52F132DB6B5EFB828D67E4D746B5A580FC37A61077A17920BFFFC86D05D1",
|
||||
"sequence": 466,
|
||||
"specification": {
|
||||
"orderSequence": 465,
|
||||
"memos": [
|
||||
{
|
||||
"type": "test",
|
||||
"format": "text/plain",
|
||||
"data": "texted data"
|
||||
}
|
||||
]
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2014-09-24T21:21:50.000Z",
|
||||
"fee": "0.012",
|
||||
"balanceChanges": {
|
||||
"r9UHu5CWni1qRY7Q4CfFZLGvXo2pGQy96b": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.012"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {
|
||||
"r9UHu5CWni1qRY7Q4CfFZLGvXo2pGQy96b": [
|
||||
{
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q",
|
||||
"value": "237"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "XRP",
|
||||
"value": "0.0002"
|
||||
},
|
||||
"makerExchangeRate": "1185000",
|
||||
"sequence": 465,
|
||||
"status": "cancelled"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ledgerVersion": 14661789,
|
||||
"indexInLedger": 4
|
||||
}
|
||||
}
|
||||
@@ -1,34 +0,0 @@
|
||||
{
|
||||
"type": "order",
|
||||
"address": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
|
||||
"sequence": 2,
|
||||
"id": "458101D51051230B1D56E9ACAFAA34451BF65FA000F95DF6F0FF5B3A62D83FC2",
|
||||
"specification": {
|
||||
"direction": "sell",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"value": "10.1",
|
||||
"counterparty": "rMH4UxPrbuMa1spCBR98hLLyNJp4d8p4tM"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "XRP",
|
||||
"value": "254391353"
|
||||
}
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tecUNFUNDED_OFFER",
|
||||
"timestamp": "2015-11-18T20:56:30.000Z",
|
||||
"fee": "0.000012",
|
||||
"balanceChanges": {
|
||||
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.000012"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {},
|
||||
"ledgerVersion": 6,
|
||||
"indexInLedger": 0
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
{
|
||||
"type": "orderCancellation",
|
||||
"address": "rBSZe33F5oxHTbxSF1nZJooVDpcrrqNFp3",
|
||||
"sequence": 1122979,
|
||||
"id": "097B9491CC76B64831F1FEA82EAA93BCD728106D90B65A072C933888E946C40B",
|
||||
"specification": {
|
||||
"orderSequence": 1122978
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2015-01-14T18:27:00.000Z",
|
||||
"fee": "0.011",
|
||||
"balanceChanges": {
|
||||
"rBSZe33F5oxHTbxSF1nZJooVDpcrrqNFp3": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.011"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {
|
||||
"rBSZe33F5oxHTbxSF1nZJooVDpcrrqNFp3": [
|
||||
{
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "CNY",
|
||||
"counterparty": "rnuF96W4SZoCJmbHYBFoJZpR8eCaxNvekK",
|
||||
"value": "3200"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "XRP",
|
||||
"value": "34700.537395"
|
||||
},
|
||||
"sequence": 1122978,
|
||||
"status": "cancelled",
|
||||
"makerExchangeRate": "0.09221759200942773",
|
||||
"expirationTime": "2015-01-14T18:36:52.000Z"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ledgerVersion": 11119599,
|
||||
"indexInLedger": 15
|
||||
}
|
||||
}
|
||||
@@ -1,59 +0,0 @@
|
||||
{
|
||||
"type": "order",
|
||||
"address": "r9UHu5CWni1qRY7Q4CfFZLGvXo2pGQy96b",
|
||||
"id": "5D9B0B246255815B63983C188B4C23325B3544F605CDBE3004769EE9E990D2F1",
|
||||
"sequence": 465,
|
||||
"specification": {
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"value": "237",
|
||||
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "XRP",
|
||||
"value": "0.0002"
|
||||
},
|
||||
"memos": [
|
||||
{
|
||||
"type": "test",
|
||||
"format": "text/plain",
|
||||
"data": "texted data"
|
||||
}
|
||||
]
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2014-09-24T21:21:50.000Z",
|
||||
"fee": "0.012",
|
||||
"balanceChanges": {
|
||||
"r9UHu5CWni1qRY7Q4CfFZLGvXo2pGQy96b": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-0.012"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {
|
||||
"r9UHu5CWni1qRY7Q4CfFZLGvXo2pGQy96b": [
|
||||
{
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "USD",
|
||||
"counterparty": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q",
|
||||
"value": "237"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "XRP",
|
||||
"value": "0.0002"
|
||||
},
|
||||
"makerExchangeRate": "1185000",
|
||||
"sequence": 465,
|
||||
"status": "created"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ledgerVersion": 14661788,
|
||||
"indexInLedger": 2
|
||||
}
|
||||
}
|
||||
@@ -1,88 +0,0 @@
|
||||
{
|
||||
"type": "payment",
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"sequence": 4,
|
||||
"id": "F4AB442A6D4CBB935D66E1DA7309A5FC71C7143ED4049053EC14E3875B0CF9BF",
|
||||
"specification": {
|
||||
"source": {
|
||||
"address": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59",
|
||||
"maxAmount": {
|
||||
"currency": "XRP",
|
||||
"value": "1.112209"
|
||||
}
|
||||
},
|
||||
"destination": {
|
||||
"address": "rMH4UxPrbuMa1spCBR98hLLyNJp4d8p4tM"
|
||||
},
|
||||
"paths": "[[{\"currency\":\"USD\",\"issuer\":\"rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo\",\"type\":48,\"type_hex\":\"0000000000000030\"},{\"account\":\"rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo\",\"currency\":\"USD\",\"issuer\":\"rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo\",\"type\":49,\"type_hex\":\"0000000000000031\"}]]"
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2013-03-12T23:56:50.000Z",
|
||||
"fee": "0.00001",
|
||||
"deliveredAmount": {
|
||||
"currency": "USD",
|
||||
"value": "0.001",
|
||||
"counterparty": "rMH4UxPrbuMa1spCBR98hLLyNJp4d8p4tM"
|
||||
},
|
||||
"balanceChanges": {
|
||||
"rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo": [
|
||||
{
|
||||
"counterparty": "rMH4UxPrbuMa1spCBR98hLLyNJp4d8p4tM",
|
||||
"currency": "USD",
|
||||
"value": "-0.001"
|
||||
},
|
||||
{
|
||||
"counterparty": "r9tGqzZgKxVFvzKFdUqXAqTzazWBUia8Qr",
|
||||
"currency": "USD",
|
||||
"value": "0.001002"
|
||||
}
|
||||
],
|
||||
"rMH4UxPrbuMa1spCBR98hLLyNJp4d8p4tM": [
|
||||
{
|
||||
"counterparty": "rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo",
|
||||
"currency": "USD",
|
||||
"value": "0.001"
|
||||
}
|
||||
],
|
||||
"r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "-1.101208"
|
||||
}
|
||||
],
|
||||
"r9tGqzZgKxVFvzKFdUqXAqTzazWBUia8Qr": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "1.101198"
|
||||
},
|
||||
{
|
||||
"counterparty": "rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo",
|
||||
"currency": "USD",
|
||||
"value": "-0.001002"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {
|
||||
"r9tGqzZgKxVFvzKFdUqXAqTzazWBUia8Qr": [
|
||||
{
|
||||
"direction": "buy",
|
||||
"quantity": {
|
||||
"currency": "XRP",
|
||||
"value": "1.101198"
|
||||
},
|
||||
"totalPrice": {
|
||||
"currency": "USD",
|
||||
"counterparty": "rpZc4mVfWUif9CRoHRKKcmhu1nx2xktxBo",
|
||||
"value": "0.001002"
|
||||
},
|
||||
"makerExchangeRate": "1099",
|
||||
"sequence": 58,
|
||||
"status": "partially-filled"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ledgerVersion": 348860,
|
||||
"indexInLedger": 0
|
||||
}
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
{
|
||||
"type": "paymentChannelClaim",
|
||||
"address": "rBmNDZ7vbTCwakKXsX3pDAwDdQuxM7yBRa",
|
||||
"sequence": 99,
|
||||
"id": "81B9ECAE7195EB6E8034AEDF44D8415A7A803E14513FDBB34FA984AB37D59563",
|
||||
"specification": {
|
||||
"channel": "43904CBFCDCEC530B4037871F86EE90BF799DF8D2E0EA564BC8A3F332E4F5FB1",
|
||||
"balance": "0.801",
|
||||
"publicKey": "EDE059A23CBE00BDD465910EBDA67C86BAD046FA52E1BBBB27159E31980BAFEFB9",
|
||||
"signature": "5567FB8A27D8BF0C556D3D31D034476FC04F43846A6613EB4B1B64C396C833600BE251CE3104CF02DA0085B473E02BA0BA21F794FB1DC95DAD702F3EA761CA02"
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2017-03-09T14:09:51.000Z",
|
||||
"fee": "0.000012",
|
||||
"balanceChanges": {
|
||||
"rBmNDZ7vbTCwakKXsX3pDAwDdQuxM7yBRa": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "0.800988"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {},
|
||||
"ledgerVersion": 786310,
|
||||
"indexInLedger": 0,
|
||||
"channelChanges": {
|
||||
"status": "modified",
|
||||
"channelId": "43904CBFCDCEC530B4037871F86EE90BF799DF8D2E0EA564BC8A3F332E4F5FB1",
|
||||
"source": "rfAuMkVuZQnQhvdMcUKg4ndBb9SPDhzNmK",
|
||||
"destination": "rBmNDZ7vbTCwakKXsX3pDAwDdQuxM7yBRa",
|
||||
"channelBalanceChangeDrops": "801000",
|
||||
"channelAmountDrops": "1000000",
|
||||
"channelBalanceDrops": "801000",
|
||||
"previousTxnId": "0E9CA3AB1053FC0C1CBAA75F636FE1EC92F118C7056BBEF5D63E4C116458A16D"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
{
|
||||
"type": "paymentChannelClaim",
|
||||
"address": "rBmNDZ7vbTCwakKXsX3pDAwDdQuxM7yBRa",
|
||||
"sequence": 99,
|
||||
"id": "81B9ECAE7195EB6E8034AEDF44D8415A7A803E14513FDBB34FA984AB37D59561",
|
||||
"specification": {
|
||||
"channel": "43904CBFCDCEC530B4037871F86EE90BF799DF8D2E0EA564BC8A3F332E4F5FB1",
|
||||
"balance": "0.801",
|
||||
"publicKey": "EDE059A23CBE00BDD465910EBDA67C86BAD046FA52E1BBBB27159E31980BAFEFB9",
|
||||
"signature": "5567FB8A27D8BF0C556D3D31D034476FC04F43846A6613EB4B1B64C396C833600BE251CE3104CF02DA0085B473E02BA0BA21F794FB1DC95DAD702F3EA761CA02",
|
||||
"memos": [
|
||||
{
|
||||
"type": "test",
|
||||
"format": "text/plain",
|
||||
"data": "texted data"
|
||||
}
|
||||
]
|
||||
},
|
||||
"outcome": {
|
||||
"result": "tesSUCCESS",
|
||||
"timestamp": "2017-03-09T14:09:51.000Z",
|
||||
"fee": "0.000012",
|
||||
"balanceChanges": {
|
||||
"rBmNDZ7vbTCwakKXsX3pDAwDdQuxM7yBRa": [
|
||||
{
|
||||
"currency": "XRP",
|
||||
"value": "0.800988"
|
||||
}
|
||||
]
|
||||
},
|
||||
"orderbookChanges": {},
|
||||
"ledgerVersion": 786310,
|
||||
"indexInLedger": 0,
|
||||
"channelChanges": {
|
||||
"status": "modified",
|
||||
"channelId": "43904CBFCDCEC530B4037871F86EE90BF799DF8D2E0EA564BC8A3F332E4F5FB1",
|
||||
"source": "rfAuMkVuZQnQhvdMcUKg4ndBb9SPDhzNmK",
|
||||
"destination": "rBmNDZ7vbTCwakKXsX3pDAwDdQuxM7yBRa",
|
||||
"channelBalanceChangeDrops": "801000",
|
||||
"channelAmountDrops": "1000000",
|
||||
"channelBalanceDrops": "801000",
|
||||
"previousTxnId": "0E9CA3AB1053FC0C1CBAA75F636FE1EC92F118C7056BBEF5D63E4C116458A16D"
|
||||
}
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user