xrpl
    Preparing search index...

    Interface Vault

    The Vault object type represents a Single Asset Vault instance.

    interface Vault {
        Account: string;
        Asset: Currency;
        AssetsAvailable: string;
        AssetsMaximum?: string;
        AssetsTotal: string;
        Data?: string;
        Flags: number;
        index: string;
        LedgerEntryType: "Vault";
        LedgerIndex: string;
        LossUnrealized: string;
        MPTokenIssuanceID: string;
        Owner: string;
        OwnerNode: string;
        PreviousTxnID: string;
        PreviousTxnLgrSeq: number;
        Sequence: number;
        WithdrawalPolicy: number;
    }

    Hierarchy

    • BaseLedgerEntry
    • HasPreviousTxnID
      • Vault
    Index

    Properties

    Account: string

    The address of the Vaults pseudo-account.

    Asset: Currency

    The asset of the vault. The vault supports XRP, IOU and MPT.

    AssetsAvailable: string

    The asset amount that is available in the vault.

    AssetsMaximum?: string

    The maximum asset amount that can be held in the vault. Zero value 0 indicates there is no cap.

    AssetsTotal: string

    The total value of the vault.

    Data?: string

    Arbitrary metadata about the Vault. Limited to 256 bytes.

    Flags: number

    A bit-map of boolean flags.

    index: string
    LedgerEntryType: "Vault"
    LedgerIndex: string

    Ledger object identifier.

    LossUnrealized: string

    The potential loss amount that is not yet realized expressed as the vaults asset.

    MPTokenIssuanceID: string

    The identifier of the share MPTokenIssuance object.

    Owner: string

    The account address of the Vault Owner.

    OwnerNode: string

    Identifies the page where this item is referenced in the owner's directory.

    PreviousTxnID: string

    The identifying hash of the transaction that most recently modified this object.

    PreviousTxnLgrSeq: number

    The index of the ledger that contains the transaction that most recently modified this object.

    Sequence: number

    The transaction sequence number that created the vault.

    WithdrawalPolicy: number

    Indicates the withdrawal strategy used by the Vault.