AccountEntryXdr

data class AccountEntryXdr(val accountId: AccountIDXdr, val balance: Int64Xdr, val seqNum: SequenceNumberXdr, val numSubEntries: Uint32Xdr, val inflationDest: AccountIDXdr?, val flags: Uint32Xdr, val homeDomain: String32Xdr, val thresholds: ThresholdsXdr, val signers: List<SignerXdr>, val ext: AccountEntryExtXdr)

XDR Source: struct AccountEntry { AccountID accountID; // master public key for this account int64 balance; // in stroops SequenceNumber seqNum; // last sequence number used for this account uint32 numSubEntries; // number of sub-entries this account has // drives the reserve AccountID* inflationDest; // Account to vote for during inflation uint32 flags; // see AccountFlags

string32 homeDomain; // can be used for reverse federation and memo lookup

// fields used for signatures
// thresholds stores unsigned bytes: [weight of master|low|medium|high]
Thresholds thresholds;

Signer signers; // possible signers for this account

// reserved for future use
union switch (int v)
{
case 0:
    void;
case 1:
    AccountEntryExtensionV1 v1;
}
ext;

};

Constructors

Link copied to clipboard
constructor(accountId: AccountIDXdr, balance: Int64Xdr, seqNum: SequenceNumberXdr, numSubEntries: Uint32Xdr, inflationDest: AccountIDXdr?, flags: Uint32Xdr, homeDomain: String32Xdr, thresholds: ThresholdsXdr, signers: List<SignerXdr>, ext: AccountEntryExtXdr)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

master public key for this account

Link copied to clipboard

in stroops

Link copied to clipboard
Link copied to clipboard

see AccountFlags

Link copied to clipboard

can be used for reverse federation and memo lookup

Link copied to clipboard

drives the reserve Account to vote for during inflation

Link copied to clipboard

number of sub-entries this account has

Link copied to clipboard

last sequence number used for this account

Link copied to clipboard
Link copied to clipboard

fields used for signatures thresholds stores unsigned bytes: weight of master|low|medium|high

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)