xrpl
    Preparing search index...

    Interface AccountSetFlagsInterface

    Map of flags to boolean values representing AccountSet transaction flags.

     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
    // }
    interface AccountSetFlagsInterface {
        tfAllowXRP?: boolean;
        tfDisallowXRP?: boolean;
        tfInnerBatchTxn?: boolean;
        tfOptionalAuth?: boolean;
        tfOptionalDestTag?: boolean;
        tfRequireAuth?: boolean;
        tfRequireDestTag?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

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