Class LedgerRequest
Retrieve information about the public ledger.
Expects a response in the form.
Inherited Members
Namespace: Xrpl.Models.Methods
Assembly: Xrpl.dll
Syntax
public class LedgerRequest : BaseLedgerRequest
Constructors
| Improve this Doc View SourceLedgerRequest()
Declaration
public LedgerRequest()
Properties
| Improve this Doc View SourceAccounts
Admin required.
If true, return information on accounts in the ledger.
Ignored if you did not specify a ledger version.
Defaults to false.
Declaration
public bool? Accounts { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Binary
If true, and transactions and expand are both also true, return transaction information in binary format (hexadecimal string) instead of JSON format.
Declaration
public bool? Binary { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Expand
Provide full JSON-formatted information for transaction/account information instead of only hashes.
Defaults to false.
Ignored unless you request transactions, accounts, or both.
Declaration
public bool? Expand { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Full
Admin required If true, return full information on the entire ledger.
Ignored if you did not specify a ledger version.
Defaults to false.
Declaration
public bool? Full { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
OwnerFunds
If true, include owner_funds field in the metadata of OfferCreate transactions in the response.
Defaults to false.
Ignored unless transactions are included and expand is true.
Declaration
public bool? OwnerFunds { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Queue
If true, and the command is requesting the current ledger, includes an array of queued transactions in the results.
Declaration
public bool? Queue { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Transactions
If true, return information on transactions in the specified ledger version.
Defaults to false.
Ignored if you did not specify a ledger version.
Declaration
public bool? Transactions { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |