# TrustSetFlagsInterface | xrpl
Documentation for xrpl

# Interface TrustSetFlagsInterface

Map of flags to boolean values representing TrustSet transaction flags.

### Example

    const trustSetTx: TrustSet = {
     TransactionType: 'TrustSet',
     Account: wallet2.getClassicAddress(),
     LimitAmount: {
       currency: 'FOO',
       issuer: wallet1.getClassicAddress(),
       value: '10000000000',
     },
     Flags: {
       tfSetNoRipple: true
     }
    }

    // Autofill the tx to see how flags actually look compared to the interface usage.
    const autofilledTx = await client.autofill(trustSetTx)
    console.log(autofilledTx)
    // {
    //  TransactionType: 'TrustSet',
    //  Account: 'r9dAdQQCBcGajVSeC9CqW3LCugjPDnAkEb',
    //  LimitAmount: {
    //   currency: 'FOO',
    //   issuer: 'rWZzUjo5xGiAoRBqzsndyzonXz47UV8u1',
    //   value: '10000000000'
    //  },
    //  Flags: 131072,
    //  Sequence: 21971483,
    //  Fee: '12',
    //  LastLedgerSequence: 21971503
    // }

#### Hierarchy

- GlobalFlags
  - TrustSetFlagsInterface

- Defined in packages/xrpl/src/models/transactions/trustSet.ts:75

#####
Index

### Properties

tfClearFreeze?
tfClearNoRipple?
tfSetFreeze?
tfSetNoRipple?
tfSetfAuth?

## Properties

### `Optional` tfClearFreeze

tfClearFreeze?: boolean

Unfreeze the trust line.

- Defined in packages/xrpl/src/models/transactions/trustSet.ts:91

### `Optional` tfClearNoRipple

tfClearNoRipple?: boolean

Disable the No Ripple flag, allowing rippling on this trust line.

- Defined in packages/xrpl/src/models/transactions/trustSet.ts:87

### `Optional` tfSetFreeze

tfSetFreeze?: boolean

Freeze the trust line.

- Defined in packages/xrpl/src/models/transactions/trustSet.ts:89

### `Optional` tfSetNoRipple

tfSetNoRipple?: boolean

Enable the No Ripple flag, which blocks rippling between two trust lines of the same currency if this flag is enabled on both.

- Defined in packages/xrpl/src/models/transactions/trustSet.ts:85

### `Optional` tfSetfAuth

tfSetfAuth?: boolean

Authorize the other party to hold currency issued by this account. (No effect unless using the asfRequireAuth AccountSet flag.) Cannot be unset.

- Defined in packages/xrpl/src/models/transactions/trustSet.ts:80

Generated using TypeDoc