mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
update RPCs
This commit is contained in:
@@ -10,12 +10,13 @@ export type AccountObjectType =
|
||||
| 'signer_list'
|
||||
| 'ticket'
|
||||
| 'state'
|
||||
| 'xchain_seq'
|
||||
|
||||
interface XRP {
|
||||
currency: 'XRP'
|
||||
}
|
||||
|
||||
interface IssuedCurrency {
|
||||
export interface IssuedCurrency {
|
||||
currency: string
|
||||
issuer: string
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { LedgerIndex } from '../common'
|
||||
import { IssuedCurrency, LedgerIndex } from '../common'
|
||||
import { LedgerEntry } from '../ledger'
|
||||
|
||||
import { BaseRequest, BaseResponse } from './baseMethod'
|
||||
@@ -137,6 +137,35 @@ export interface LedgerEntryRequest extends BaseRequest {
|
||||
ticket_sequence: number
|
||||
}
|
||||
| string
|
||||
|
||||
xchain_bridge?:
|
||||
| {
|
||||
locking_chain_door: string
|
||||
locking_chain_issue: 'XRP' | IssuedCurrency
|
||||
issuing_chain_door: string
|
||||
issuing_chain_issue: 'XRP' | IssuedCurrency
|
||||
}
|
||||
| string
|
||||
|
||||
xchain_claim_id?:
|
||||
| {
|
||||
locking_chain_door: string
|
||||
locking_chain_issue: 'XRP' | IssuedCurrency
|
||||
issuing_chain_door: string
|
||||
issuing_chain_issue: 'XRP' | IssuedCurrency
|
||||
xchain_claim_id: string | number
|
||||
}
|
||||
| string
|
||||
|
||||
xchain_create_account_claim_id?:
|
||||
| {
|
||||
locking_chain_door: string
|
||||
locking_chain_issue: 'XRP' | IssuedCurrency
|
||||
issuing_chain_door: string
|
||||
issuing_chain_issue: 'XRP' | IssuedCurrency
|
||||
xchain_create_account_claim_id: string | number
|
||||
}
|
||||
| string
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user