Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AccountSetFlagsInterface

Map of flags to boolean values representing AccountSet transaction flags.

example
 const accountSetTx: AccountSet = {
TransactionType: 'AccountSet',
Account: 'rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn',
Flags: {
tfOptionalDestTag: true,
tfRequireAuth: true
},
}

// Autofill the tx to see how flags actually look compared to the interface usage.
const autofilledTx = await client.autofill(accountSetTx)
console.log(autofilledTx)
// {
// TransactionType: 'AccountSet',
// Account: 'rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn',
// Flags: 393216,
// Sequence: 1,
// Fee: '12',
// LastLedgerSequence: 21971793
// }

Hierarchy

  • AccountSetFlagsInterface

Index

Properties

tfAllowXRP?: boolean
tfDisallowXRP?: boolean
tfOptionalAuth?: boolean
tfOptionalDestTag?: boolean
tfRequireAuth?: boolean
tfRequireDestTag?: boolean

Generated using TypeDoc