init
This commit is contained in:
+38
@@ -0,0 +1,38 @@
|
||||
import { LedgerIndex } from '../common';
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
interface Channel {
|
||||
account: string;
|
||||
amount: string;
|
||||
balance: string;
|
||||
channel_id: string;
|
||||
destination_account: string;
|
||||
settle_delay: number;
|
||||
public_key?: string;
|
||||
public_key_hex?: string;
|
||||
expiration?: number;
|
||||
cancel_after?: number;
|
||||
source_tab?: number;
|
||||
destination_tag?: number;
|
||||
}
|
||||
export interface AccountChannelsRequest extends BaseRequest {
|
||||
command: 'account_channels';
|
||||
account: string;
|
||||
destination_account?: string;
|
||||
ledger_hash?: string;
|
||||
ledger_index?: LedgerIndex;
|
||||
limit?: number;
|
||||
marker?: unknown;
|
||||
}
|
||||
export interface AccountChannelsResponse extends BaseResponse {
|
||||
result: {
|
||||
account: string;
|
||||
channels: Channel[];
|
||||
ledger_hash: string;
|
||||
ledger_index: number;
|
||||
validated?: boolean;
|
||||
limit?: number;
|
||||
marker?: unknown;
|
||||
};
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=accountChannels.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"accountChannels.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/accountChannels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAExD,UAAU,OAAO;IACf,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAWD,MAAM,WAAW,sBAAuB,SAAQ,WAAW;IACzD,OAAO,EAAE,kBAAkB,CAAA;IAM3B,OAAO,EAAE,MAAM,CAAA;IAMf,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAE5B,WAAW,CAAC,EAAE,MAAM,CAAA;IAKpB,YAAY,CAAC,EAAE,WAAW,CAAA;IAK1B,KAAK,CAAC,EAAE,MAAM,CAAA;IAKd,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAOD,MAAM,WAAW,uBAAwB,SAAQ,YAAY;IAC3D,MAAM,EAAE;QAKN,OAAO,EAAE,MAAM,CAAA;QAEf,QAAQ,EAAE,OAAO,EAAE,CAAA;QAKnB,WAAW,EAAE,MAAM,CAAA;QAEnB,YAAY,EAAE,MAAM,CAAA;QAKpB,SAAS,CAAC,EAAE,OAAO,CAAA;QAKnB,KAAK,CAAC,EAAE,MAAM,CAAA;QAMd,MAAM,CAAC,EAAE,OAAO,CAAA;KACjB,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=accountChannels.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"accountChannels.js","sourceRoot":"","sources":["../../../../src/models/methods/accountChannels.ts"],"names":[],"mappings":""}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
import { LedgerIndex } from '../common';
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
export interface AccountCurrenciesRequest extends BaseRequest {
|
||||
command: 'account_currencies';
|
||||
account: string;
|
||||
ledger_hash?: string;
|
||||
ledger_index?: LedgerIndex;
|
||||
strict?: boolean;
|
||||
}
|
||||
export interface AccountCurrenciesResponse extends BaseResponse {
|
||||
result: {
|
||||
ledger_hash?: string;
|
||||
ledger_index: number;
|
||||
receive_currencies: string[];
|
||||
send_currencies: string[];
|
||||
validated: boolean;
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=accountCurrencies.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"accountCurrencies.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/accountCurrencies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AASxD,MAAM,WAAW,wBAAyB,SAAQ,WAAW;IAC3D,OAAO,EAAE,oBAAoB,CAAA;IAE7B,OAAO,EAAE,MAAM,CAAA;IAEf,WAAW,CAAC,EAAE,MAAM,CAAA;IAKpB,YAAY,CAAC,EAAE,WAAW,CAAA;IAM1B,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAOD,MAAM,WAAW,yBAA0B,SAAQ,YAAY;IAC7D,MAAM,EAAE;QAKN,WAAW,CAAC,EAAE,MAAM,CAAA;QAEpB,YAAY,EAAE,MAAM,CAAA;QAEpB,kBAAkB,EAAE,MAAM,EAAE,CAAA;QAE5B,eAAe,EAAE,MAAM,EAAE,CAAA;QAEzB,SAAS,EAAE,OAAO,CAAA;KACnB,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=accountCurrencies.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"accountCurrencies.js","sourceRoot":"","sources":["../../../../src/models/methods/accountCurrencies.ts"],"names":[],"mappings":""}
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
import { LedgerIndex } from '../common';
|
||||
import { AccountRoot, SignerList } from '../ledger';
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
export interface AccountInfoRequest extends BaseRequest {
|
||||
command: 'account_info';
|
||||
account: string;
|
||||
ledger_hash?: string;
|
||||
ledger_index?: LedgerIndex;
|
||||
queue?: boolean;
|
||||
signer_lists?: boolean;
|
||||
strict?: boolean;
|
||||
}
|
||||
interface QueueTransaction {
|
||||
auth_change: boolean;
|
||||
fee: string;
|
||||
fee_level: string;
|
||||
max_spend_drops: string;
|
||||
seq: number;
|
||||
}
|
||||
interface QueueData {
|
||||
txn_count: number;
|
||||
auth_change_queued?: boolean;
|
||||
lowest_sequence?: number;
|
||||
highest_sequence?: number;
|
||||
max_spend_drops_total?: string;
|
||||
transactions?: QueueTransaction[];
|
||||
}
|
||||
export interface AccountInfoResponse extends BaseResponse {
|
||||
result: {
|
||||
account_data: AccountRoot;
|
||||
signer_lists?: SignerList[];
|
||||
ledger_current_index?: number;
|
||||
ledger_index?: number;
|
||||
queue_data?: QueueData;
|
||||
validated?: boolean;
|
||||
};
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=accountInfo.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"accountInfo.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/accountInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAEnD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AASxD,MAAM,WAAW,kBAAmB,SAAQ,WAAW;IACrD,OAAO,EAAE,cAAc,CAAA;IAEvB,OAAO,EAAE,MAAM,CAAA;IAEf,WAAW,CAAC,EAAE,MAAM,CAAA;IAKpB,YAAY,CAAC,EAAE,WAAW,CAAA;IAM1B,KAAK,CAAC,EAAE,OAAO,CAAA;IAIf,YAAY,CAAC,EAAE,OAAO,CAAA;IAMtB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,UAAU,gBAAgB;IAKxB,WAAW,EAAE,OAAO,CAAA;IAEpB,GAAG,EAAE,MAAM,CAAA;IAKX,SAAS,EAAE,MAAM,CAAA;IAEjB,eAAe,EAAE,MAAM,CAAA;IAEvB,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,UAAU,SAAS;IAEjB,SAAS,EAAE,MAAM,CAAA;IAOjB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAE5B,eAAe,CAAC,EAAE,MAAM,CAAA;IAExB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAKzB,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAE9B,YAAY,CAAC,EAAE,gBAAgB,EAAE,CAAA;CAClC;AAOD,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD,MAAM,EAAE;QAKN,YAAY,EAAE,WAAW,CAAA;QAMzB,YAAY,CAAC,EAAE,UAAU,EAAE,CAAA;QAK3B,oBAAoB,CAAC,EAAE,MAAM,CAAA;QAM7B,YAAY,CAAC,EAAE,MAAM,CAAA;QAQrB,UAAU,CAAC,EAAE,SAAS,CAAA;QAKtB,SAAS,CAAC,EAAE,OAAO,CAAA;KACpB,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=accountInfo.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"accountInfo.js","sourceRoot":"","sources":["../../../../src/models/methods/accountInfo.ts"],"names":[],"mappings":""}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
import { LedgerIndex } from '../common';
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
export interface Trustline {
|
||||
account: string;
|
||||
balance: string;
|
||||
currency: string;
|
||||
limit: string;
|
||||
limit_peer: string;
|
||||
quality_in: number;
|
||||
quality_out: number;
|
||||
no_ripple?: boolean;
|
||||
no_ripple_peer?: boolean;
|
||||
authorized?: boolean;
|
||||
peer_authorized?: boolean;
|
||||
freeze?: boolean;
|
||||
freeze_peer?: boolean;
|
||||
}
|
||||
export interface AccountLinesRequest extends BaseRequest {
|
||||
command: 'account_lines';
|
||||
account: string;
|
||||
ledger_hash?: string;
|
||||
ledger_index?: LedgerIndex;
|
||||
peer?: string;
|
||||
limit?: number;
|
||||
marker?: unknown;
|
||||
}
|
||||
export interface AccountLinesResponse extends BaseResponse {
|
||||
result: {
|
||||
account: string;
|
||||
lines: Trustline[];
|
||||
ledger_current_index?: number;
|
||||
ledger_index?: number;
|
||||
ledger_hash?: string;
|
||||
marker?: unknown;
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=accountLines.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"accountLines.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/accountLines.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAExD,MAAM,WAAW,SAAS;IAExB,OAAO,EAAE,MAAM,CAAA;IAMf,OAAO,EAAE,MAAM,CAAA;IAEf,QAAQ,EAAE,MAAM,CAAA;IAKhB,KAAK,EAAE,MAAM,CAAA;IAKb,UAAU,EAAE,MAAM,CAAA;IAOlB,UAAU,EAAE,MAAM,CAAA;IAOlB,WAAW,EAAE,MAAM,CAAA;IAQnB,SAAS,CAAC,EAAE,OAAO,CAAA;IAQnB,cAAc,CAAC,EAAE,OAAO,CAAA;IAExB,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB,eAAe,CAAC,EAAE,OAAO,CAAA;IAEzB,MAAM,CAAC,EAAE,OAAO,CAAA;IAKhB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAUD,MAAM,WAAW,mBAAoB,SAAQ,WAAW;IACtD,OAAO,EAAE,eAAe,CAAA;IAExB,OAAO,EAAE,MAAM,CAAA;IAEf,WAAW,CAAC,EAAE,MAAM,CAAA;IAKpB,YAAY,CAAC,EAAE,WAAW,CAAA;IAK1B,IAAI,CAAC,EAAE,MAAM,CAAA;IAKb,KAAK,CAAC,EAAE,MAAM,CAAA;IAKd,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAOD,MAAM,WAAW,oBAAqB,SAAQ,YAAY;IACxD,MAAM,EAAE;QAKN,OAAO,EAAE,MAAM,CAAA;QAKf,KAAK,EAAE,SAAS,EAAE,CAAA;QAKlB,oBAAoB,CAAC,EAAE,MAAM,CAAA;QAK7B,YAAY,CAAC,EAAE,MAAM,CAAA;QAKrB,WAAW,CAAC,EAAE,MAAM,CAAA;QAMpB,MAAM,CAAC,EAAE,OAAO,CAAA;KACjB,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=accountLines.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"accountLines.js","sourceRoot":"","sources":["../../../../src/models/methods/accountLines.ts"],"names":[],"mappings":""}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
export interface AccountNFTsRequest extends BaseRequest {
|
||||
command: 'account_nfts';
|
||||
account: string;
|
||||
limit?: number;
|
||||
marker?: unknown;
|
||||
}
|
||||
export interface AccountNFToken {
|
||||
Flags: number;
|
||||
Issuer: string;
|
||||
NFTokenID: string;
|
||||
NFTokenTaxon: number;
|
||||
URI?: string;
|
||||
nft_serial: number;
|
||||
}
|
||||
export interface AccountNFTsResponse extends BaseResponse {
|
||||
result: {
|
||||
account: string;
|
||||
account_nfts: AccountNFToken[];
|
||||
ledger_current_index: number;
|
||||
validated: boolean;
|
||||
marker?: unknown;
|
||||
limit?: number;
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=accountNFTs.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"accountNFTs.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/accountNFTs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAQxD,MAAM,WAAW,kBAAmB,SAAQ,WAAW;IACrD,OAAO,EAAE,cAAc,CAAA;IAKvB,OAAO,EAAE,MAAM,CAAA;IAIf,KAAK,CAAC,EAAE,MAAM,CAAA;IAKd,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAOD,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;CACnB;AAOD,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD,MAAM,EAAE;QAIN,OAAO,EAAE,MAAM,CAAA;QAIf,YAAY,EAAE,cAAc,EAAE,CAAA;QAK9B,oBAAoB,EAAE,MAAM,CAAA;QAE5B,SAAS,EAAE,OAAO,CAAA;QAMlB,MAAM,CAAC,EAAE,OAAO,CAAA;QAEhB,KAAK,CAAC,EAAE,MAAM,CAAA;KACf,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=accountNFTs.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"accountNFTs.js","sourceRoot":"","sources":["../../../../src/models/methods/accountNFTs.ts"],"names":[],"mappings":""}
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
import { LedgerIndex } from '../common';
|
||||
import { Check, DepositPreauth, Escrow, Offer, PayChannel, RippleState, SignerList, Ticket } from '../ledger';
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
type AccountObjectType = 'check' | 'deposit_preauth' | 'escrow' | 'nft_offer' | 'offer' | 'payment_channel' | 'signer_list' | 'state' | 'ticket';
|
||||
export interface AccountObjectsRequest extends BaseRequest {
|
||||
command: 'account_objects';
|
||||
account: string;
|
||||
type?: AccountObjectType;
|
||||
deletion_blockers_only?: boolean;
|
||||
ledger_hash?: string;
|
||||
ledger_index?: LedgerIndex;
|
||||
limit?: number;
|
||||
marker?: unknown;
|
||||
}
|
||||
type AccountObject = Check | DepositPreauth | Escrow | Offer | PayChannel | SignerList | RippleState | Ticket;
|
||||
export interface AccountObjectsResponse extends BaseResponse {
|
||||
result: {
|
||||
account: string;
|
||||
account_objects: AccountObject[];
|
||||
ledger_hash?: string;
|
||||
ledger_index?: number;
|
||||
ledger_current_index?: number;
|
||||
limit?: number;
|
||||
marker?: string;
|
||||
validated?: boolean;
|
||||
};
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=accountObjects.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"accountObjects.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/accountObjects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EACL,KAAK,EACL,cAAc,EACd,MAAM,EACN,KAAK,EACL,UAAU,EACV,WAAW,EACX,UAAU,EACV,MAAM,EACP,MAAM,WAAW,CAAA;AAElB,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAExD,KAAK,iBAAiB,GAClB,OAAO,GACP,iBAAiB,GACjB,QAAQ,GACR,WAAW,GACX,OAAO,GACP,iBAAiB,GACjB,aAAa,GACb,OAAO,GACP,QAAQ,CAAA;AAUZ,MAAM,WAAW,qBAAsB,SAAQ,WAAW;IACxD,OAAO,EAAE,iBAAiB,CAAA;IAE1B,OAAO,EAAE,MAAM,CAAA;IAMf,IAAI,CAAC,EAAE,iBAAiB,CAAA;IAKxB,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAEhC,WAAW,CAAC,EAAE,MAAM,CAAA;IAKpB,YAAY,CAAC,EAAE,WAAW,CAAA;IAK1B,KAAK,CAAC,EAAE,MAAM,CAAA;IAKd,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAMD,KAAK,aAAa,GACd,KAAK,GACL,cAAc,GACd,MAAM,GACN,KAAK,GACL,UAAU,GACV,UAAU,GACV,WAAW,GACX,MAAM,CAAA;AAOV,MAAM,WAAW,sBAAuB,SAAQ,YAAY;IAC1D,MAAM,EAAE;QAEN,OAAO,EAAE,MAAM,CAAA;QAKf,eAAe,EAAE,aAAa,EAAE,CAAA;QAKhC,WAAW,CAAC,EAAE,MAAM,CAAA;QAKpB,YAAY,CAAC,EAAE,MAAM,CAAA;QAKrB,oBAAoB,CAAC,EAAE,MAAM,CAAA;QAE7B,KAAK,CAAC,EAAE,MAAM,CAAA;QAMd,MAAM,CAAC,EAAE,MAAM,CAAA;QAMf,SAAS,CAAC,EAAE,OAAO,CAAA;KACpB,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=accountObjects.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"accountObjects.js","sourceRoot":"","sources":["../../../../src/models/methods/accountObjects.ts"],"names":[],"mappings":""}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
import { Amount, LedgerIndex } from '../common';
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
export interface AccountOffersRequest extends BaseRequest {
|
||||
command: 'account_offers';
|
||||
account: string;
|
||||
ledger_hash?: string;
|
||||
ledger_index?: LedgerIndex;
|
||||
limit?: number;
|
||||
marker?: unknown;
|
||||
strict?: boolean;
|
||||
}
|
||||
export interface AccountOffer {
|
||||
flags: number;
|
||||
seq: number;
|
||||
taker_gets: Amount;
|
||||
taker_pays: Amount;
|
||||
quality: string;
|
||||
expiration?: number;
|
||||
}
|
||||
export interface AccountOffersResponse extends BaseResponse {
|
||||
result: {
|
||||
account: string;
|
||||
offers?: AccountOffer[];
|
||||
ledger_current_index?: number;
|
||||
ledger_index?: number;
|
||||
ledger_hash?: string;
|
||||
marker?: unknown;
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=accountOffers.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"accountOffers.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/accountOffers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE/C,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AASxD,MAAM,WAAW,oBAAqB,SAAQ,WAAW;IACvD,OAAO,EAAE,gBAAgB,CAAA;IAEzB,OAAO,EAAE,MAAM,CAAA;IAEf,WAAW,CAAC,EAAE,MAAM,CAAA;IAKpB,YAAY,CAAC,EAAE,WAAW,CAAA;IAK1B,KAAK,CAAC,EAAE,MAAM,CAAA;IAKd,MAAM,CAAC,EAAE,OAAO,CAAA;IAMhB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,WAAW,YAAY;IAE3B,KAAK,EAAE,MAAM,CAAA;IAEb,GAAG,EAAE,MAAM,CAAA;IAIX,UAAU,EAAE,MAAM,CAAA;IAIlB,UAAU,EAAE,MAAM,CAAA;IAOlB,OAAO,EAAE,MAAM,CAAA;IAKf,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAOD,MAAM,WAAW,qBAAsB,SAAQ,YAAY;IACzD,MAAM,EAAE;QAEN,OAAO,EAAE,MAAM,CAAA;QAMf,MAAM,CAAC,EAAE,YAAY,EAAE,CAAA;QAKvB,oBAAoB,CAAC,EAAE,MAAM,CAAA;QAK7B,YAAY,CAAC,EAAE,MAAM,CAAA;QAKrB,WAAW,CAAC,EAAE,MAAM,CAAA;QAMpB,MAAM,CAAC,EAAE,OAAO,CAAA;KACjB,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=accountOffers.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"accountOffers.js","sourceRoot":"","sources":["../../../../src/models/methods/accountOffers.ts"],"names":[],"mappings":""}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
import { LedgerIndex, ResponseOnlyTxInfo } from '../common';
|
||||
import { Transaction, TransactionMetadata } from '../transactions';
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
export interface AccountTxRequest extends BaseRequest {
|
||||
command: 'account_tx';
|
||||
account: string;
|
||||
ledger_index_min?: number;
|
||||
ledger_index_max?: number;
|
||||
ledger_hash?: string;
|
||||
ledger_index?: LedgerIndex;
|
||||
binary?: boolean;
|
||||
forward?: boolean;
|
||||
limit?: number;
|
||||
marker?: unknown;
|
||||
}
|
||||
interface AccountTransaction {
|
||||
ledger_index: number;
|
||||
meta: string | TransactionMetadata;
|
||||
tx?: Transaction & ResponseOnlyTxInfo;
|
||||
tx_blob?: string;
|
||||
validated: boolean;
|
||||
}
|
||||
export interface AccountTxResponse extends BaseResponse {
|
||||
result: {
|
||||
account: string;
|
||||
ledger_index_min: number;
|
||||
ledger_index_max: number;
|
||||
limit: number;
|
||||
marker?: unknown;
|
||||
transactions: AccountTransaction[];
|
||||
validated?: boolean;
|
||||
};
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=accountTx.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"accountTx.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/accountTx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAC3D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAElE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AASxD,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IACnD,OAAO,EAAE,YAAY,CAAA;IAErB,OAAO,EAAE,MAAM,CAAA;IAMf,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAMzB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAEzB,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB,YAAY,CAAC,EAAE,WAAW,CAAA;IAK1B,MAAM,CAAC,EAAE,OAAO,CAAA;IAKhB,OAAO,CAAC,EAAE,OAAO,CAAA;IAKjB,KAAK,CAAC,EAAE,MAAM,CAAA;IAMd,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,UAAU,kBAAkB;IAE1B,YAAY,EAAE,MAAM,CAAA;IAKpB,IAAI,EAAE,MAAM,GAAG,mBAAmB,CAAA;IAElC,EAAE,CAAC,EAAE,WAAW,GAAG,kBAAkB,CAAA;IAErC,OAAO,CAAC,EAAE,MAAM,CAAA;IAKhB,SAAS,EAAE,OAAO,CAAA;CACnB;AAOD,MAAM,WAAW,iBAAkB,SAAQ,YAAY;IACrD,MAAM,EAAE;QAEN,OAAO,EAAE,MAAM,CAAA;QAKf,gBAAgB,EAAE,MAAM,CAAA;QAKxB,gBAAgB,EAAE,MAAM,CAAA;QAExB,KAAK,EAAE,MAAM,CAAA;QAKb,MAAM,CAAC,EAAE,OAAO,CAAA;QAKhB,YAAY,EAAE,kBAAkB,EAAE,CAAA;QAMlC,SAAS,CAAC,EAAE,OAAO,CAAA;KACpB,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=accountTx.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"accountTx.js","sourceRoot":"","sources":["../../../../src/models/methods/accountTx.ts"],"names":[],"mappings":""}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
import type { Request } from '.';
|
||||
export interface BaseRequest {
|
||||
[x: string]: unknown;
|
||||
id?: number | string;
|
||||
command: string;
|
||||
api_version?: number;
|
||||
}
|
||||
interface Warning {
|
||||
id: number;
|
||||
message: string;
|
||||
details?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
}
|
||||
export interface BaseResponse {
|
||||
id: number | string;
|
||||
status?: 'success' | string;
|
||||
type: 'response' | string;
|
||||
result: unknown;
|
||||
warning?: 'load';
|
||||
warnings?: Warning[];
|
||||
forwarded?: boolean;
|
||||
api_version?: number;
|
||||
}
|
||||
export interface ErrorResponse {
|
||||
id: number | string;
|
||||
status: 'error';
|
||||
type: 'response' | string;
|
||||
error: string;
|
||||
error_code?: string;
|
||||
error_message?: string;
|
||||
request: Request;
|
||||
api_version?: number;
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=baseMethod.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"baseMethod.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/baseMethod.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,GAAG,CAAA;AAEhC,MAAM,WAAW,WAAW;IAC1B,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAMpB,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEpB,OAAO,EAAE,MAAM,CAAA;IAEf,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,UAAU,OAAO;IACf,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IAC3B,IAAI,EAAE,UAAU,GAAG,MAAM,CAAA;IACzB,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAQD,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;IACnB,MAAM,EAAE,OAAO,CAAA;IACf,IAAI,EAAE,UAAU,GAAG,MAAM,CAAA;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,OAAO,EAAE,OAAO,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=baseMethod.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"baseMethod.js","sourceRoot":"","sources":["../../../../src/models/methods/baseMethod.ts"],"names":[],"mappings":""}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
import { Amount, LedgerIndex } from '../common';
|
||||
import { Offer } from '../ledger';
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
export interface TakerAmount {
|
||||
currency: string;
|
||||
issuer?: string;
|
||||
}
|
||||
export interface BookOffersRequest extends BaseRequest {
|
||||
command: 'book_offers';
|
||||
ledger_hash?: string;
|
||||
ledger_index?: LedgerIndex;
|
||||
limit?: number;
|
||||
taker?: string;
|
||||
taker_gets: TakerAmount;
|
||||
taker_pays: TakerAmount;
|
||||
}
|
||||
export interface BookOffer extends Offer {
|
||||
owner_funds?: string;
|
||||
taker_gets_funded?: Amount;
|
||||
taker_pays_funded?: Amount;
|
||||
quality?: string;
|
||||
}
|
||||
export interface BookOffersResponse extends BaseResponse {
|
||||
result: {
|
||||
ledger_current_index?: number;
|
||||
ledger_index?: number;
|
||||
ledger_hash?: string;
|
||||
offers: BookOffer[];
|
||||
validated?: boolean;
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=bookOffers.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"bookOffers.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/bookOffers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAA;AAEjC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAExD,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAQD,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IACpD,OAAO,EAAE,aAAa,CAAA;IAEtB,WAAW,CAAC,EAAE,MAAM,CAAA;IAKpB,YAAY,CAAC,EAAE,WAAW,CAAA;IAM1B,KAAK,CAAC,EAAE,MAAM,CAAA;IAKd,KAAK,CAAC,EAAE,MAAM,CAAA;IAMd,UAAU,EAAE,WAAW,CAAA;IAMvB,UAAU,EAAE,WAAW,CAAA;CACxB;AAED,MAAM,WAAW,SAAU,SAAQ,KAAK;IAOtC,WAAW,CAAC,EAAE,MAAM,CAAA;IAKpB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAK1B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAM1B,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAOD,MAAM,WAAW,kBAAmB,SAAQ,YAAY;IACtD,MAAM,EAAE;QAKN,oBAAoB,CAAC,EAAE,MAAM,CAAA;QAK7B,YAAY,CAAC,EAAE,MAAM,CAAA;QAKrB,WAAW,CAAC,EAAE,MAAM,CAAA;QAEpB,MAAM,EAAE,SAAS,EAAE,CAAA;QACnB,SAAS,CAAC,EAAE,OAAO,CAAA;KACpB,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=bookOffers.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"bookOffers.js","sourceRoot":"","sources":["../../../../src/models/methods/bookOffers.ts"],"names":[],"mappings":""}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
export interface ChannelVerifyRequest extends BaseRequest {
|
||||
command: 'channel_verify';
|
||||
amount: string;
|
||||
channel_id: string;
|
||||
public_key: string;
|
||||
signature: string;
|
||||
}
|
||||
export interface ChannelVerifyResponse extends BaseResponse {
|
||||
result: {
|
||||
signature_verified: boolean;
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=channelVerify.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"channelVerify.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/channelVerify.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AASxD,MAAM,WAAW,oBAAqB,SAAQ,WAAW;IACvD,OAAO,EAAE,gBAAgB,CAAA;IAEzB,MAAM,EAAE,MAAM,CAAA;IAKd,UAAU,EAAE,MAAM,CAAA;IAKlB,UAAU,EAAE,MAAM,CAAA;IAElB,SAAS,EAAE,MAAM,CAAA;CAClB;AAOD,MAAM,WAAW,qBAAsB,SAAQ,YAAY;IACzD,MAAM,EAAE;QAKN,kBAAkB,EAAE,OAAO,CAAA;KAC5B,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=channelVerify.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"channelVerify.js","sourceRoot":"","sources":["../../../../src/models/methods/channelVerify.ts"],"names":[],"mappings":""}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
import { LedgerIndex } from '../common';
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
export interface DepositAuthorizedRequest extends BaseRequest {
|
||||
command: 'deposit_authorized';
|
||||
source_account: string;
|
||||
destination_account: string;
|
||||
ledger_hash?: string;
|
||||
ledger_index?: LedgerIndex;
|
||||
}
|
||||
export interface DepositAuthorizedResponse extends BaseResponse {
|
||||
result: {
|
||||
deposit_authorized: boolean;
|
||||
destination_account: string;
|
||||
ledger_hash?: string;
|
||||
ledger_index?: number;
|
||||
ledger_current_index?: number;
|
||||
source_account: string;
|
||||
validated?: boolean;
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=depositAuthorized.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"depositAuthorized.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/depositAuthorized.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AASxD,MAAM,WAAW,wBAAyB,SAAQ,WAAW;IAC3D,OAAO,EAAE,oBAAoB,CAAA;IAE7B,cAAc,EAAE,MAAM,CAAA;IAEtB,mBAAmB,EAAE,MAAM,CAAA;IAE3B,WAAW,CAAC,EAAE,MAAM,CAAA;IAKpB,YAAY,CAAC,EAAE,WAAW,CAAA;CAC3B;AAOD,MAAM,WAAW,yBAA0B,SAAQ,YAAY;IAC7D,MAAM,EAAE;QAON,kBAAkB,EAAE,OAAO,CAAA;QAE3B,mBAAmB,EAAE,MAAM,CAAA;QAK3B,WAAW,CAAC,EAAE,MAAM,CAAA;QAKpB,YAAY,CAAC,EAAE,MAAM,CAAA;QAKrB,oBAAoB,CAAC,EAAE,MAAM,CAAA;QAE7B,cAAc,EAAE,MAAM,CAAA;QAEtB,SAAS,CAAC,EAAE,OAAO,CAAA;KACpB,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=depositAuthorized.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"depositAuthorized.js","sourceRoot":"","sources":["../../../../src/models/methods/depositAuthorized.ts"],"names":[],"mappings":""}
|
||||
+64
@@ -0,0 +1,64 @@
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
export interface FederatorInfoRequest extends BaseRequest {
|
||||
command: 'federator_info';
|
||||
}
|
||||
export interface FederatorInfoResponse extends BaseResponse {
|
||||
result: {
|
||||
info: {
|
||||
mainchain: {
|
||||
door_status: {
|
||||
initialized: boolean;
|
||||
status: 'open' | 'opening' | 'closed' | 'closing';
|
||||
};
|
||||
last_transaction_sent_seq: number;
|
||||
listener_info: {
|
||||
state: 'syncing' | 'normal';
|
||||
};
|
||||
pending_transactions: Array<{
|
||||
amount: string;
|
||||
destination_account: string;
|
||||
signatures: Array<{
|
||||
public_key: string;
|
||||
seq: number;
|
||||
}>;
|
||||
}>;
|
||||
sequence: number;
|
||||
tickets: {
|
||||
initialized: boolean;
|
||||
tickets: Array<{
|
||||
status: 'taken' | 'available';
|
||||
ticket_seq: number;
|
||||
}>;
|
||||
};
|
||||
};
|
||||
public_key: string;
|
||||
sidechain: {
|
||||
door_status: {
|
||||
initialized: boolean;
|
||||
status: 'open' | 'opening' | 'closed' | 'closing';
|
||||
};
|
||||
last_transaction_sent_seq: number;
|
||||
listener_info: {
|
||||
state: 'syncing' | 'normal';
|
||||
};
|
||||
pending_transactions: Array<{
|
||||
amount: string;
|
||||
destination_account: string;
|
||||
signatures: Array<{
|
||||
public_key: string;
|
||||
seq: number;
|
||||
}>;
|
||||
}>;
|
||||
sequence: number;
|
||||
tickets: {
|
||||
initialized: boolean;
|
||||
tickets: Array<{
|
||||
status: 'taken' | 'available';
|
||||
ticket_seq: number;
|
||||
}>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=federatorInfo.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"federatorInfo.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/federatorInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAUxD,MAAM,WAAW,oBAAqB,SAAQ,WAAW;IACvD,OAAO,EAAE,gBAAgB,CAAA;CAC1B;AAOD,MAAM,WAAW,qBAAsB,SAAQ,YAAY;IACzD,MAAM,EAAE;QACN,IAAI,EAAE;YACJ,SAAS,EAAE;gBACT,WAAW,EAAE;oBACX,WAAW,EAAE,OAAO,CAAA;oBACpB,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAA;iBAClD,CAAA;gBACD,yBAAyB,EAAE,MAAM,CAAA;gBACjC,aAAa,EAAE;oBACb,KAAK,EAAE,SAAS,GAAG,QAAQ,CAAA;iBAC5B,CAAA;gBACD,oBAAoB,EAAE,KAAK,CAAC;oBAC1B,MAAM,EAAE,MAAM,CAAA;oBACd,mBAAmB,EAAE,MAAM,CAAA;oBAC3B,UAAU,EAAE,KAAK,CAAC;wBAChB,UAAU,EAAE,MAAM,CAAA;wBAClB,GAAG,EAAE,MAAM,CAAA;qBACZ,CAAC,CAAA;iBACH,CAAC,CAAA;gBACF,QAAQ,EAAE,MAAM,CAAA;gBAChB,OAAO,EAAE;oBACP,WAAW,EAAE,OAAO,CAAA;oBACpB,OAAO,EAAE,KAAK,CAAC;wBACb,MAAM,EAAE,OAAO,GAAG,WAAW,CAAA;wBAC7B,UAAU,EAAE,MAAM,CAAA;qBACnB,CAAC,CAAA;iBACH,CAAA;aACF,CAAA;YACD,UAAU,EAAE,MAAM,CAAA;YAClB,SAAS,EAAE;gBACT,WAAW,EAAE;oBACX,WAAW,EAAE,OAAO,CAAA;oBACpB,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAA;iBAClD,CAAA;gBACD,yBAAyB,EAAE,MAAM,CAAA;gBACjC,aAAa,EAAE;oBACb,KAAK,EAAE,SAAS,GAAG,QAAQ,CAAA;iBAC5B,CAAA;gBACD,oBAAoB,EAAE,KAAK,CAAC;oBAC1B,MAAM,EAAE,MAAM,CAAA;oBACd,mBAAmB,EAAE,MAAM,CAAA;oBAC3B,UAAU,EAAE,KAAK,CAAC;wBAChB,UAAU,EAAE,MAAM,CAAA;wBAClB,GAAG,EAAE,MAAM,CAAA;qBACZ,CAAC,CAAA;iBACH,CAAC,CAAA;gBACF,QAAQ,EAAE,MAAM,CAAA;gBAChB,OAAO,EAAE;oBACP,WAAW,EAAE,OAAO,CAAA;oBACpB,OAAO,EAAE,KAAK,CAAC;wBACb,MAAM,EAAE,OAAO,GAAG,WAAW,CAAA;wBAC7B,UAAU,EAAE,MAAM,CAAA;qBACnB,CAAC,CAAA;iBACH,CAAA;aACF,CAAA;SACF,CAAA;KACF,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=federatorInfo.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"federatorInfo.js","sourceRoot":"","sources":["../../../../src/models/methods/federatorInfo.ts"],"names":[],"mappings":""}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
export interface FeeRequest extends BaseRequest {
|
||||
command: 'fee';
|
||||
}
|
||||
export interface FeeResponse extends BaseResponse {
|
||||
result: {
|
||||
current_ledger_size: string;
|
||||
current_queue_size: string;
|
||||
drops: {
|
||||
base_fee: string;
|
||||
median_fee: string;
|
||||
minimum_fee: string;
|
||||
open_ledger_fee: string;
|
||||
};
|
||||
expected_ledger_size: string;
|
||||
ledger_current_index: number;
|
||||
levels: {
|
||||
median_level: string;
|
||||
minimum_level: string;
|
||||
open_ledger_level: string;
|
||||
reference_level: string;
|
||||
};
|
||||
max_queue_size: string;
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=fee.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"fee.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/fee.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAgBxD,MAAM,WAAW,UAAW,SAAQ,WAAW;IAC7C,OAAO,EAAE,KAAK,CAAA;CACf;AAOD,MAAM,WAAW,WAAY,SAAQ,YAAY;IAC/C,MAAM,EAAE;QAEN,mBAAmB,EAAE,MAAM,CAAA;QAE3B,kBAAkB,EAAE,MAAM,CAAA;QAC1B,KAAK,EAAE;YAKL,QAAQ,EAAE,MAAM,CAAA;YAKhB,UAAU,EAAE,MAAM,CAAA;YAMlB,WAAW,EAAE,MAAM,CAAA;YAKnB,eAAe,EAAE,MAAM,CAAA;SACxB,CAAA;QAMD,oBAAoB,EAAE,MAAM,CAAA;QAE5B,oBAAoB,EAAE,MAAM,CAAA;QAC5B,MAAM,EAAE;YAKN,YAAY,EAAE,MAAM,CAAA;YAKpB,aAAa,EAAE,MAAM,CAAA;YAKrB,iBAAiB,EAAE,MAAM,CAAA;YAKzB,eAAe,EAAE,MAAM,CAAA;SACxB,CAAA;QAKD,cAAc,EAAE,MAAM,CAAA;KACvB,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=fee.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"fee.js","sourceRoot":"","sources":["../../../../src/models/methods/fee.ts"],"names":[],"mappings":""}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
import { LedgerIndex } from '../common';
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
export interface GatewayBalancesRequest extends BaseRequest {
|
||||
command: 'gateway_balances';
|
||||
account: string;
|
||||
strict?: boolean;
|
||||
hotwallet?: string | string[];
|
||||
ledger_hash?: string;
|
||||
ledger_index?: LedgerIndex;
|
||||
}
|
||||
interface Balance {
|
||||
currency: string;
|
||||
value: string;
|
||||
}
|
||||
export interface GatewayBalancesResponse extends BaseResponse {
|
||||
result: {
|
||||
account: string;
|
||||
obligations?: {
|
||||
[currency: string]: string;
|
||||
};
|
||||
balances?: {
|
||||
[address: string]: Balance[];
|
||||
};
|
||||
assets?: {
|
||||
[address: string]: Balance[];
|
||||
};
|
||||
ledger_hash?: string;
|
||||
ledger_current_index?: number;
|
||||
ledger_index?: number;
|
||||
};
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=gatewayBalances.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"gatewayBalances.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/gatewayBalances.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAqBxD,MAAM,WAAW,sBAAuB,SAAQ,WAAW;IACzD,OAAO,EAAE,kBAAkB,CAAA;IAE3B,OAAO,EAAE,MAAM,CAAA;IAKf,MAAM,CAAC,EAAE,OAAO,CAAA;IAKhB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAE7B,WAAW,CAAC,EAAE,MAAM,CAAA;IAKpB,YAAY,CAAC,EAAE,WAAW,CAAA;CAC3B;AAED,UAAU,OAAO;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;CACd;AAOD,MAAM,WAAW,uBAAwB,SAAQ,YAAY;IAC3D,MAAM,EAAE;QAEN,OAAO,EAAE,MAAM,CAAA;QAKf,WAAW,CAAC,EAAE;YAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,CAAA;QAK5C,QAAQ,CAAC,EAAE;YAAE,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,EAAE,CAAA;SAAE,CAAA;QAK3C,MAAM,CAAC,EAAE;YAAE,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,EAAE,CAAA;SAAE,CAAA;QAKzC,WAAW,CAAC,EAAE,MAAM,CAAA;QAKpB,oBAAoB,CAAC,EAAE,MAAM,CAAA;QAK7B,YAAY,CAAC,EAAE,MAAM,CAAA;KACtB,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=gatewayBalances.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"gatewayBalances.js","sourceRoot":"","sources":["../../../../src/models/methods/gatewayBalances.ts"],"names":[],"mappings":""}
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
import { AccountChannelsRequest, AccountChannelsResponse } from './accountChannels';
|
||||
import { AccountCurrenciesRequest, AccountCurrenciesResponse } from './accountCurrencies';
|
||||
import { AccountInfoRequest, AccountInfoResponse } from './accountInfo';
|
||||
import { AccountLinesRequest, AccountLinesResponse } from './accountLines';
|
||||
import { AccountNFTsRequest, AccountNFTsResponse } from './accountNFTs';
|
||||
import { AccountObjectsRequest, AccountObjectsResponse } from './accountObjects';
|
||||
import { AccountOffer, AccountOffersRequest, AccountOffersResponse } from './accountOffers';
|
||||
import { AccountTxRequest, AccountTxResponse } from './accountTx';
|
||||
import { ErrorResponse } from './baseMethod';
|
||||
import { BookOffersRequest, BookOffer, BookOffersResponse } from './bookOffers';
|
||||
import { ChannelVerifyRequest, ChannelVerifyResponse } from './channelVerify';
|
||||
import { DepositAuthorizedRequest, DepositAuthorizedResponse } from './depositAuthorized';
|
||||
import { FederatorInfoRequest, FederatorInfoResponse } from './federatorInfo';
|
||||
import { FeeRequest, FeeResponse } from './fee';
|
||||
import { GatewayBalancesRequest, GatewayBalancesResponse } from './gatewayBalances';
|
||||
import { LedgerRequest, LedgerResponse } from './ledger';
|
||||
import { LedgerClosedRequest, LedgerClosedResponse } from './ledgerClosed';
|
||||
import { LedgerCurrentRequest, LedgerCurrentResponse } from './ledgerCurrent';
|
||||
import { LedgerDataRequest, LedgerDataResponse } from './ledgerData';
|
||||
import { LedgerEntryRequest, LedgerEntryResponse } from './ledgerEntry';
|
||||
import { ManifestRequest, ManifestResponse } from './manifest';
|
||||
import { NFTBuyOffersRequest, NFTBuyOffersResponse } from './nftBuyOffers';
|
||||
import { NFTSellOffersRequest, NFTSellOffersResponse } from './nftSellOffers';
|
||||
import { NoRippleCheckRequest, NoRippleCheckResponse } from './norippleCheck';
|
||||
import { PathFindRequest, PathFindCloseRequest, PathFindCreateRequest, PathFindStatusRequest, PathFindResponse } from './pathFind';
|
||||
import { PingRequest, PingResponse } from './ping';
|
||||
import { RandomRequest, RandomResponse } from './random';
|
||||
import { RipplePathFindRequest, RipplePathFindResponse } from './ripplePathFind';
|
||||
import { ServerInfoRequest, ServerInfoResponse } from './serverInfo';
|
||||
import { ServerStateRequest, ServerStateResponse } from './serverState';
|
||||
import { SubmitRequest, SubmitResponse } from './submit';
|
||||
import { SubmitMultisignedRequest, SubmitMultisignedResponse } from './submitMultisigned';
|
||||
import { ConsensusStream, LedgerStream, OrderBookStream, PathFindStream, PeerStatusStream, Stream, SubscribeRequest, SubscribeResponse, TransactionStream, ValidationStream } from './subscribe';
|
||||
import { TransactionEntryRequest, TransactionEntryResponse } from './transactionEntry';
|
||||
import { TxRequest, TxResponse } from './tx';
|
||||
import { UnsubscribeRequest, UnsubscribeResponse } from './unsubscribe';
|
||||
type Request = AccountChannelsRequest | AccountCurrenciesRequest | AccountInfoRequest | AccountLinesRequest | AccountNFTsRequest | AccountObjectsRequest | AccountOffersRequest | AccountTxRequest | GatewayBalancesRequest | NoRippleCheckRequest | LedgerRequest | LedgerClosedRequest | LedgerCurrentRequest | LedgerDataRequest | LedgerEntryRequest | SubmitRequest | SubmitMultisignedRequest | TransactionEntryRequest | TxRequest | BookOffersRequest | DepositAuthorizedRequest | PathFindRequest | RipplePathFindRequest | ChannelVerifyRequest | SubscribeRequest | UnsubscribeRequest | FeeRequest | ManifestRequest | ServerInfoRequest | ServerStateRequest | PingRequest | RandomRequest | NFTBuyOffersRequest | NFTSellOffersRequest | FederatorInfoRequest;
|
||||
type Response = AccountChannelsResponse | AccountCurrenciesResponse | AccountInfoResponse | AccountLinesResponse | AccountNFTsResponse | AccountObjectsResponse | AccountOffersResponse | AccountTxResponse | GatewayBalancesResponse | NoRippleCheckResponse | LedgerResponse | LedgerClosedResponse | LedgerCurrentResponse | LedgerDataResponse | LedgerEntryResponse | SubmitResponse | SubmitMultisignedResponse | TransactionEntryResponse | TxResponse | BookOffersResponse | DepositAuthorizedResponse | PathFindResponse | RipplePathFindResponse | ChannelVerifyResponse | SubscribeResponse | UnsubscribeResponse | FeeResponse | ManifestResponse | ServerInfoResponse | ServerStateResponse | PingResponse | RandomResponse | NFTBuyOffersResponse | NFTSellOffersResponse | FederatorInfoResponse;
|
||||
export { Request, Response, AccountChannelsRequest, AccountChannelsResponse, AccountCurrenciesRequest, AccountCurrenciesResponse, AccountInfoRequest, AccountInfoResponse, AccountLinesRequest, AccountLinesResponse, AccountNFTsRequest, AccountNFTsResponse, AccountObjectsRequest, AccountObjectsResponse, AccountOffer, AccountOffersRequest, AccountOffersResponse, AccountTxRequest, AccountTxResponse, GatewayBalancesRequest, GatewayBalancesResponse, NoRippleCheckRequest, NoRippleCheckResponse, LedgerRequest, LedgerResponse, LedgerClosedRequest, LedgerClosedResponse, LedgerCurrentRequest, LedgerCurrentResponse, LedgerDataRequest, LedgerDataResponse, LedgerEntryRequest, LedgerEntryResponse, SubmitRequest, SubmitResponse, SubmitMultisignedRequest, SubmitMultisignedResponse, TransactionEntryRequest, TransactionEntryResponse, TxRequest, TxResponse, BookOffersRequest, BookOffer, BookOffersResponse, DepositAuthorizedRequest, DepositAuthorizedResponse, PathFindRequest, PathFindCreateRequest, PathFindCloseRequest, PathFindStatusRequest, PathFindResponse, RipplePathFindRequest, RipplePathFindResponse, ChannelVerifyRequest, ChannelVerifyResponse, SubscribeRequest, SubscribeResponse, Stream, LedgerStream, ValidationStream, TransactionStream, PathFindStream, PeerStatusStream, OrderBookStream, ConsensusStream, UnsubscribeRequest, UnsubscribeResponse, FeeRequest, FeeResponse, ManifestRequest, ManifestResponse, ServerInfoRequest, ServerInfoResponse, ServerStateRequest, ServerStateResponse, PingRequest, PingResponse, RandomRequest, RandomResponse, ErrorResponse, NFTBuyOffersRequest, NFTBuyOffersResponse, NFTSellOffersRequest, NFTSellOffersResponse, FederatorInfoRequest, FederatorInfoResponse, };
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/index.ts"],"names":[],"mappings":"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"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=index.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/methods/index.ts"],"names":[],"mappings":""}
|
||||
+52
@@ -0,0 +1,52 @@
|
||||
import { LedgerIndex } from '../common';
|
||||
import { Ledger } from '../ledger';
|
||||
import { Transaction, TransactionAndMetadata } from '../transactions';
|
||||
import { TransactionMetadata } from '../transactions/metadata';
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
export interface LedgerRequest extends BaseRequest {
|
||||
command: 'ledger';
|
||||
ledger_hash?: string;
|
||||
ledger_index?: LedgerIndex;
|
||||
full?: boolean;
|
||||
accounts?: boolean;
|
||||
transactions?: boolean;
|
||||
expand?: boolean;
|
||||
owner_funds?: boolean;
|
||||
binary?: boolean;
|
||||
queue?: boolean;
|
||||
}
|
||||
interface ModifiedMetadata extends TransactionMetadata {
|
||||
owner_funds: string;
|
||||
}
|
||||
interface ModifiedOfferCreateTransaction {
|
||||
transaction: Transaction;
|
||||
metadata: ModifiedMetadata;
|
||||
}
|
||||
interface LedgerQueueData {
|
||||
account: string;
|
||||
tx: TransactionAndMetadata | ModifiedOfferCreateTransaction | {
|
||||
tx_blob: string;
|
||||
};
|
||||
retries_remaining: number;
|
||||
preflight_result: string;
|
||||
last_result?: string;
|
||||
auth_change?: boolean;
|
||||
fee?: string;
|
||||
fee_level?: string;
|
||||
max_spend_drops?: string;
|
||||
}
|
||||
interface BinaryLedger extends Omit<Omit<Ledger, 'transactions'>, 'accountState'> {
|
||||
accountState?: string[];
|
||||
transactions?: string[];
|
||||
}
|
||||
export interface LedgerResponse extends BaseResponse {
|
||||
result: {
|
||||
ledger: Ledger | BinaryLedger;
|
||||
ledger_hash: string;
|
||||
ledger_index: number;
|
||||
queue_data?: Array<LedgerQueueData | string>;
|
||||
validated?: boolean;
|
||||
};
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=ledger.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ledger.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/ledger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,WAAW,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAE9D,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAsBxD,MAAM,WAAW,aAAc,SAAQ,WAAW;IAChD,OAAO,EAAE,QAAQ,CAAA;IAEjB,WAAW,CAAC,EAAE,MAAM,CAAA;IAKpB,YAAY,CAAC,EAAE,WAAW,CAAA;IAK1B,IAAI,CAAC,EAAE,OAAO,CAAA;IAKd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAMlB,YAAY,CAAC,EAAE,OAAO,CAAA;IAMtB,MAAM,CAAC,EAAE,OAAO,CAAA;IAMhB,WAAW,CAAC,EAAE,OAAO,CAAA;IAMrB,MAAM,CAAC,EAAE,OAAO,CAAA;IAKhB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAED,UAAU,gBAAiB,SAAQ,mBAAmB;IACpD,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,UAAU,8BAA8B;IACtC,WAAW,EAAE,WAAW,CAAA;IACxB,QAAQ,EAAE,gBAAgB,CAAA;CAC3B;AAED,UAAU,eAAe;IACvB,OAAO,EAAE,MAAM,CAAA;IACf,EAAE,EACE,sBAAsB,GACtB,8BAA8B,GAC9B;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAA;IACvB,iBAAiB,EAAE,MAAM,CAAA;IACzB,gBAAgB,EAAE,MAAM,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,UAAU,YACR,SAAQ,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,cAAc,CAAC,EAAE,cAAc,CAAC;IAC1D,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IACvB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;CACxB;AAOD,MAAM,WAAW,cAAe,SAAQ,YAAY;IAClD,MAAM,EAAE;QAEN,MAAM,EAAE,MAAM,GAAG,YAAY,CAAA;QAE7B,WAAW,EAAE,MAAM,CAAA;QAEnB,YAAY,EAAE,MAAM,CAAA;QAKpB,UAAU,CAAC,EAAE,KAAK,CAAC,eAAe,GAAG,MAAM,CAAC,CAAA;QAO5C,SAAS,CAAC,EAAE,OAAO,CAAA;KACpB,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=ledger.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ledger.js","sourceRoot":"","sources":["../../../../src/models/methods/ledger.ts"],"names":[],"mappings":""}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
export interface LedgerClosedRequest extends BaseRequest {
|
||||
command: 'ledger_closed';
|
||||
}
|
||||
export interface LedgerClosedResponse extends BaseResponse {
|
||||
result: {
|
||||
ledger_hash: string;
|
||||
ledger_index: number;
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=ledgerClosed.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ledgerClosed.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/ledgerClosed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAiBxD,MAAM,WAAW,mBAAoB,SAAQ,WAAW;IACtD,OAAO,EAAE,eAAe,CAAA;CACzB;AAOD,MAAM,WAAW,oBAAqB,SAAQ,YAAY;IACxD,MAAM,EAAE;QACN,WAAW,EAAE,MAAM,CAAA;QACnB,YAAY,EAAE,MAAM,CAAA;KACrB,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=ledgerClosed.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ledgerClosed.js","sourceRoot":"","sources":["../../../../src/models/methods/ledgerClosed.ts"],"names":[],"mappings":""}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
export interface LedgerCurrentRequest extends BaseRequest {
|
||||
command: 'ledger_current';
|
||||
}
|
||||
export interface LedgerCurrentResponse extends BaseResponse {
|
||||
result: {
|
||||
ledger_current_index: number;
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=ledgerCurrent.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ledgerCurrent.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/ledgerCurrent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAgBxD,MAAM,WAAW,oBAAqB,SAAQ,WAAW;IACvD,OAAO,EAAE,gBAAgB,CAAA;CAC1B;AAOD,MAAM,WAAW,qBAAsB,SAAQ,YAAY;IACzD,MAAM,EAAE;QAEN,oBAAoB,EAAE,MAAM,CAAA;KAC7B,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=ledgerCurrent.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ledgerCurrent.js","sourceRoot":"","sources":["../../../../src/models/methods/ledgerCurrent.ts"],"names":[],"mappings":""}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
import { LedgerIndex } from '../common';
|
||||
import { LedgerEntry } from '../ledger';
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
export interface LedgerDataRequest extends BaseRequest {
|
||||
command: 'ledger_data';
|
||||
ledger_hash?: string;
|
||||
ledger_index?: LedgerIndex;
|
||||
binary?: boolean;
|
||||
limit?: number;
|
||||
marker?: unknown;
|
||||
}
|
||||
type LabeledLedgerEntry = {
|
||||
ledgerEntryType: string;
|
||||
} & LedgerEntry;
|
||||
export interface BinaryLedgerEntry {
|
||||
data: string;
|
||||
}
|
||||
type State = {
|
||||
index: string;
|
||||
} & (BinaryLedgerEntry | LabeledLedgerEntry);
|
||||
export interface LedgerDataResponse extends BaseResponse {
|
||||
result: {
|
||||
ledger_index: number;
|
||||
ledger_hash: string;
|
||||
state: State[];
|
||||
marker?: unknown;
|
||||
validated?: boolean;
|
||||
};
|
||||
}
|
||||
export {};
|
||||
//# sourceMappingURL=ledgerData.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ledgerData.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/ledgerData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAoBxD,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IACpD,OAAO,EAAE,aAAa,CAAA;IAEtB,WAAW,CAAC,EAAE,MAAM,CAAA;IAKpB,YAAY,CAAC,EAAE,WAAW,CAAA;IAK1B,MAAM,CAAC,EAAE,OAAO,CAAA;IAKhB,KAAK,CAAC,EAAE,MAAM,CAAA;IAKd,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,KAAK,kBAAkB,GAAG;IAAE,eAAe,EAAE,MAAM,CAAA;CAAE,GAAG,WAAW,CAAA;AAEnE,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAA;CACb;AAED,KAAK,KAAK,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,CAAC,iBAAiB,GAAG,kBAAkB,CAAC,CAAA;AAOzE,MAAM,WAAW,kBAAmB,SAAQ,YAAY;IACtD,MAAM,EAAE;QAEN,YAAY,EAAE,MAAM,CAAA;QAEpB,WAAW,EAAE,MAAM,CAAA;QAKnB,KAAK,EAAE,KAAK,EAAE,CAAA;QAKd,MAAM,CAAC,EAAE,OAAO,CAAA;QAChB,SAAS,CAAC,EAAE,OAAO,CAAA;KACpB,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=ledgerData.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ledgerData.js","sourceRoot":"","sources":["../../../../src/models/methods/ledgerData.ts"],"names":[],"mappings":""}
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
import { LedgerIndex } from '../common';
|
||||
import { LedgerEntry } from '../ledger';
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
export interface LedgerEntryRequest extends BaseRequest {
|
||||
command: 'ledger_entry';
|
||||
binary?: boolean;
|
||||
ledger_hash?: string;
|
||||
ledger_index?: LedgerIndex;
|
||||
index?: string;
|
||||
account_root?: string;
|
||||
check?: string;
|
||||
deposit_preauth?: {
|
||||
owner: string;
|
||||
authorized: string;
|
||||
} | string;
|
||||
directory?: {
|
||||
sub_index?: number;
|
||||
dir_root?: string;
|
||||
owner?: string;
|
||||
} | string;
|
||||
escrow?: {
|
||||
owner: string;
|
||||
seq: number;
|
||||
} | string;
|
||||
offer?: {
|
||||
account: string;
|
||||
seq: number;
|
||||
} | string;
|
||||
payment_channel?: string;
|
||||
ripple_state?: {
|
||||
accounts: string[];
|
||||
currency: string;
|
||||
};
|
||||
ticket?: {
|
||||
owner: string;
|
||||
ticket_sequence: number;
|
||||
} | string;
|
||||
}
|
||||
export interface LedgerEntryResponse extends BaseResponse {
|
||||
result: {
|
||||
index: string;
|
||||
ledger_current_index: number;
|
||||
node?: LedgerEntry;
|
||||
node_binary?: string;
|
||||
validated?: boolean;
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=ledgerEntry.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ledgerEntry.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/ledgerEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAkBxD,MAAM,WAAW,kBAAmB,SAAQ,WAAW;IACrD,OAAO,EAAE,cAAc,CAAA;IAMvB,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB,YAAY,CAAC,EAAE,WAAW,CAAA;IAQ1B,KAAK,CAAC,EAAE,MAAM,CAAA;IAMd,YAAY,CAAC,EAAE,MAAM,CAAA;IAGrB,KAAK,CAAC,EAAE,MAAM,CAAA;IAOd,eAAe,CAAC,EACZ;QAEE,KAAK,EAAE,MAAM,CAAA;QAEb,UAAU,EAAE,MAAM,CAAA;KACnB,GACD,MAAM,CAAA;IAOV,SAAS,CAAC,EACN;QAEE,SAAS,CAAC,EAAE,MAAM,CAAA;QAElB,QAAQ,CAAC,EAAE,MAAM,CAAA;QAEjB,KAAK,CAAC,EAAE,MAAM,CAAA;KACf,GACD,MAAM,CAAA;IAMV,MAAM,CAAC,EACH;QAEE,KAAK,EAAE,MAAM,CAAA;QAEb,GAAG,EAAE,MAAM,CAAA;KACZ,GACD,MAAM,CAAA;IAOV,KAAK,CAAC,EACF;QAEE,OAAO,EAAE,MAAM,CAAA;QAEf,GAAG,EAAE,MAAM,CAAA;KACZ,GACD,MAAM,CAAA;IAGV,eAAe,CAAC,EAAE,MAAM,CAAA;IAOxB,YAAY,CAAC,EAAE;QAKb,QAAQ,EAAE,MAAM,EAAE,CAAA;QAElB,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;IAOD,MAAM,CAAC,EACH;QAEE,KAAK,EAAE,MAAM,CAAA;QAEb,eAAe,EAAE,MAAM,CAAA;KACxB,GACD,MAAM,CAAA;CACX;AAOD,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD,MAAM,EAAE;QAEN,KAAK,EAAE,MAAM,CAAA;QAEb,oBAAoB,EAAE,MAAM,CAAA;QAK5B,IAAI,CAAC,EAAE,WAAW,CAAA;QAElB,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,SAAS,CAAC,EAAE,OAAO,CAAA;KACpB,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=ledgerEntry.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ledgerEntry.js","sourceRoot":"","sources":["../../../../src/models/methods/ledgerEntry.ts"],"names":[],"mappings":""}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
export interface ManifestRequest extends BaseRequest {
|
||||
command: 'manifest';
|
||||
public_key: string;
|
||||
}
|
||||
export interface ManifestResponse extends BaseResponse {
|
||||
result: {
|
||||
details?: {
|
||||
domain: string;
|
||||
ephemeral_key: string;
|
||||
master_key: string;
|
||||
seq: number;
|
||||
};
|
||||
manifest?: string;
|
||||
requested: string;
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=manifest.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAkBxD,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAClD,OAAO,EAAE,UAAU,CAAA;IAKnB,UAAU,EAAE,MAAM,CAAA;CACnB;AAOD,MAAM,WAAW,gBAAiB,SAAQ,YAAY;IACpD,MAAM,EAAE;QAKN,OAAO,CAAC,EAAE;YACR,MAAM,EAAE,MAAM,CAAA;YACd,aAAa,EAAE,MAAM,CAAA;YACrB,UAAU,EAAE,MAAM,CAAA;YAClB,GAAG,EAAE,MAAM,CAAA;SACZ,CAAA;QAMD,QAAQ,CAAC,EAAE,MAAM,CAAA;QAEjB,SAAS,EAAE,MAAM,CAAA;KAClB,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=manifest.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../../src/models/methods/manifest.ts"],"names":[],"mappings":""}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
import { NFTOffer } from '../common';
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
export interface NFTBuyOffersRequest extends BaseRequest {
|
||||
command: 'nft_buy_offers';
|
||||
nft_id: string;
|
||||
}
|
||||
export interface NFTBuyOffersResponse extends BaseResponse {
|
||||
result: {
|
||||
offers: NFTOffer[];
|
||||
nft_id: string;
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=nftBuyOffers.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"nftBuyOffers.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/nftBuyOffers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AAEpC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAQxD,MAAM,WAAW,mBAAoB,SAAQ,WAAW;IACtD,OAAO,EAAE,gBAAgB,CAAA;IAIzB,MAAM,EAAE,MAAM,CAAA;CACf;AAOD,MAAM,WAAW,oBAAqB,SAAQ,YAAY;IACxD,MAAM,EAAE;QAIN,MAAM,EAAE,QAAQ,EAAE,CAAA;QAIlB,MAAM,EAAE,MAAM,CAAA;KACf,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=nftBuyOffers.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"nftBuyOffers.js","sourceRoot":"","sources":["../../../../src/models/methods/nftBuyOffers.ts"],"names":[],"mappings":""}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
import { NFTOffer } from '../common';
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
export interface NFTSellOffersRequest extends BaseRequest {
|
||||
command: 'nft_sell_offers';
|
||||
nft_id: string;
|
||||
}
|
||||
export interface NFTSellOffersResponse extends BaseResponse {
|
||||
result: {
|
||||
offers: NFTOffer[];
|
||||
nft_id: string;
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=nftSellOffers.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"nftSellOffers.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/nftSellOffers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AAEpC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAQxD,MAAM,WAAW,oBAAqB,SAAQ,WAAW;IACvD,OAAO,EAAE,iBAAiB,CAAA;IAI1B,MAAM,EAAE,MAAM,CAAA;CACf;AAOD,MAAM,WAAW,qBAAsB,SAAQ,YAAY;IACzD,MAAM,EAAE;QAIN,MAAM,EAAE,QAAQ,EAAE,CAAA;QAIlB,MAAM,EAAE,MAAM,CAAA;KACf,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=nftSellOffers.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"nftSellOffers.js","sourceRoot":"","sources":["../../../../src/models/methods/nftSellOffers.ts"],"names":[],"mappings":""}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
import { LedgerIndex, ResponseOnlyTxInfo } from '../common';
|
||||
import { Transaction } from '../transactions';
|
||||
import { BaseRequest, BaseResponse } from './baseMethod';
|
||||
export interface NoRippleCheckRequest extends BaseRequest {
|
||||
command: 'noripple_check';
|
||||
account: string;
|
||||
role: 'gateway' | 'user';
|
||||
transactions?: boolean;
|
||||
limit?: number;
|
||||
ledger_hash?: string;
|
||||
ledger_index?: LedgerIndex;
|
||||
}
|
||||
export interface NoRippleCheckResponse extends BaseResponse {
|
||||
result: {
|
||||
ledger_current_index: number;
|
||||
problems: string[];
|
||||
transactions: Array<Transaction & ResponseOnlyTxInfo>;
|
||||
};
|
||||
}
|
||||
//# sourceMappingURL=norippleCheck.d.ts.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"norippleCheck.d.ts","sourceRoot":"","sources":["../../../../src/models/methods/norippleCheck.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAE7C,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAuBxD,MAAM,WAAW,oBAAqB,SAAQ,WAAW;IACvD,OAAO,EAAE,gBAAgB,CAAA;IAEzB,OAAO,EAAE,MAAM,CAAA;IAOf,IAAI,EAAE,SAAS,GAAG,MAAM,CAAA;IAKxB,YAAY,CAAC,EAAE,OAAO,CAAA;IAKtB,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,WAAW,CAAC,EAAE,MAAM,CAAA;IAKpB,YAAY,CAAC,EAAE,WAAW,CAAA;CAC3B;AAOD,MAAM,WAAW,qBAAsB,SAAQ,YAAY;IACzD,MAAM,EAAE;QAEN,oBAAoB,EAAE,MAAM,CAAA;QAO5B,QAAQ,EAAE,MAAM,EAAE,CAAA;QAQlB,YAAY,EAAE,KAAK,CAAC,WAAW,GAAG,kBAAkB,CAAC,CAAA;KACtD,CAAA;CACF"}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=norippleCheck.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"norippleCheck.js","sourceRoot":"","sources":["../../../../src/models/methods/norippleCheck.ts"],"names":[],"mappings":""}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user