mirror of
https://github.com/Xahau/xahau.js.git
synced 2026-04-29 15:37:50 +00:00
add Bridge ledger object
This commit is contained in:
36
packages/xrpl/src/models/ledger/Bridge.ts
Normal file
36
packages/xrpl/src/models/ledger/Bridge.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
import { Amount, XChainBridge } from '../common'
|
||||
|
||||
import BaseLedgerEntry from './BaseLedgerEntry'
|
||||
|
||||
export default interface Bridge extends BaseLedgerEntry {
|
||||
LedgerEntryType: 'Bridge'
|
||||
|
||||
Account: string
|
||||
|
||||
SignatureReward: Amount
|
||||
|
||||
MinAccountCreateAmount?: string
|
||||
|
||||
XChainBridge: XChainBridge
|
||||
|
||||
XChainClaimID: string
|
||||
|
||||
XChainAccountCreateCount: number
|
||||
|
||||
XChainAccountClaimCount: Amount
|
||||
/**
|
||||
* A hint indicating which page of the sender's owner directory links to this
|
||||
* object, in case the directory consists of multiple pages.
|
||||
*/
|
||||
OwnerNode: string
|
||||
/**
|
||||
* The identifying hash of the transaction that most recently modified this
|
||||
* object.
|
||||
*/
|
||||
PreviousTxnID: string
|
||||
/**
|
||||
* The index of the ledger that contains the transaction that most recently
|
||||
* modified this object.
|
||||
*/
|
||||
PreviousTxnLgrSeq: number
|
||||
}
|
||||
@@ -3,6 +3,7 @@ import AccountRoot, {
|
||||
AccountRootFlagsInterface,
|
||||
} from './AccountRoot'
|
||||
import Amendments from './Amendments'
|
||||
import Bridge from './Bridge'
|
||||
import Check from './Check'
|
||||
import DepositPreauth from './DepositPreauth'
|
||||
import DirectoryNode from './DirectoryNode'
|
||||
@@ -23,6 +24,7 @@ export {
|
||||
AccountRootFlags,
|
||||
AccountRootFlagsInterface,
|
||||
Amendments,
|
||||
Bridge,
|
||||
Check,
|
||||
DepositPreauth,
|
||||
DirectoryNode,
|
||||
|
||||
Reference in New Issue
Block a user