Interface IVaultCreate
The VaultCreate transaction creates a new Vault ledger object for holding pooled assets.
Inherited Members
Namespace: Xrpl.Models.Transactions
Assembly: Xrpl.dll
Syntax
public interface IVaultCreate : ITransactionCommon
Remarks
Requires the Vault amendment (XLS-65d). This feature is in draft and subject to change.
Properties
| Edit this page View SourceAmount
The initial deposit amount.
Declaration
Currency Amount { get; set; }
Property Value
| Type | Description |
|---|---|
| Currency |
Asset
The asset held by the vault.
Declaration
Common.IssuedCurrency Asset { get; set; }
Property Value
| Type | Description |
|---|---|
| Common.IssuedCurrency |
AssetsMaximum
The maximum asset amount that can be held in the vault. STNumber type (12 bytes: int64 mantissa + int32 exponent), serialized as string in JSON.
Declaration
string AssetsMaximum { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Data
Arbitrary hex-encoded data associated with the vault, limited to 256 bytes.
Declaration
string Data { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DomainID
The ID of a permissioned domain to associate with the vault.
Declaration
string DomainID { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MPTokenMetadata
Arbitrary metadata for the vault shares (MPToken), limited in size. Hex-encoded string.
Declaration
string MPTokenMetadata { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RedemptionDate
LendingProtocolV1_1: the start of a closed-ended vault's redemption phase. Fixed at creation, and must lie at least three minutes and less than thirty years after SubscriptionDate. Serialized as seconds since the Ripple Epoch.
Declaration
DateTime? RedemptionDate { get; set; }
Property Value
| Type | Description |
|---|---|
| Nullable |
Scale
The scale (decimal precision) for the vault shares.
Declaration
uint? Scale { get; set; }
Property Value
| Type | Description |
|---|---|
| uint? |
SubscriptionDate
LendingProtocolV1_1: the end of a closed-ended vault's subscription phase, after which its investment phase begins. Fixed at creation. Serialized as seconds since the Ripple Epoch.
Declaration
DateTime? SubscriptionDate { get; set; }
Property Value
| Type | Description |
|---|---|
| Nullable |
VaultKind
LendingProtocolV1_1: the kind of vault, see VaultKind. Absent means open-ended. ClosedEnded requires both SubscriptionDate and RedemptionDate; an open-ended vault may carry neither.
Declaration
uint? VaultKind { get; set; }
Property Value
| Type | Description |
|---|---|
| uint? |
WithdrawalPolicy
The withdrawal policy for the vault. Defines how withdrawals are handled.
Declaration
uint? WithdrawalPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| uint? |