[**@notabene/javascript-sdk**](../../README.md)

***

[@notabene/javascript-sdk](../../modules.md) / [types](../README.md) / TransactionOptions

# Interface: TransactionOptions

Configuration options for Transaction components

## Properties

### agentSections?

> `optional` **agentSections?**: [`AgentSections`](AgentSections.md)

Explicit layout configuration for the agent selection step.
When provided, takes precedence over legacy fields (`proofs.fallbacks`, `vasps.addUnknown`).

***

### allowedAgentTypes?

> `optional` **allowedAgentTypes?**: [`AgentType`](../enumerations/AgentType.md)[]

***

### allowedCounterpartyTypes?

> `optional` **allowedCounterpartyTypes?**: [`PersonType`](../enumerations/PersonType.md)[]

***

### autoSubmit?

> `optional` **autoSubmit?**: `boolean`

***

### consent?

> `optional` **consent?**: [`ConsentConfig`](../type-aliases/ConsentConfig.md)

***

### contactSupport?

> `optional` **contactSupport?**: [`ContactSupportConfig`](ContactSupportConfig.md)

***

### counterpartyAssist?

> `optional` **counterpartyAssist?**: [`CounterpartyAssistConfig`](../type-aliases/CounterpartyAssistConfig.md)

***

### fields?

> `optional` **fields?**: [`FieldTypes`](../type-aliases/FieldTypes.md)

***

### hide?

> `optional` **hide?**: [`HideSection`](../type-aliases/HideSection.md)[]

Sections of the component to leave out. Hiding `'header'` is useful when the
surrounding page already states what the user is being asked to do, so ours
would repeat or contradict it.

***

### jurisdiction?

> `optional` **jurisdiction?**: `string`

***

### proofs?

> `optional` **proofs?**: `object`

#### deminimis?

> `optional` **deminimis?**: [`ThresholdOptions`](ThresholdOptions.md)

#### fallbacks?

> `optional` **fallbacks?**: [`ProofTypes`](../enumerations/ProofTypes.md)[]

#### microTransfer?

> `optional` **microTransfer?**: `object`

##### microTransfer.amountSubunits

> **amountSubunits**: `string`

##### microTransfer.destination

> **destination**: `string`

##### microTransfer.requireHash?

> `optional` **requireHash?**: `boolean`

#### reuseProof?

> `optional` **reuseProof?**: `boolean`

***

### vasps?

> `optional` **vasps?**: [`VASPOptions`](../type-aliases/VASPOptions.md)

***

### wallets?

> `optional` **wallets?**: `object`

Wallet connection behaviour.

#### allowedWalletConnectIds?

> `optional` **allowedWalletConnectIds?**: `string`[]

Restrict the mobile wallets offered over WalletConnect to this list.

Useful when you only support a fixed set of wallets, for example because your app
allowlists their deep links, or because your compliance policy approves specific
wallets.

Entries are WalletConnect Explorer wallet ids, 64-character hex strings. Wallet names
are not accepted, because the Explorer registry keys on these ids. Look them up in
Reown's Wallets List (https://docs.reown.com/cloud/wallets/wallet-list) or WalletGuide
(https://walletguide.walletconnect.network/).

A wallet can have more than one id. Coinbase, Binance, OKX and Talisman each have two
Explorer listings, so list every id for a wallet or one of its listings will still be
offered.

This restricts WalletConnect's own wallet list only. It does not restrict browser
extension wallets, does not affect hardware wallets, and does not control whether
WalletConnect is offered at all.

Absent or empty means no restriction.

##### Example

```ts
// MetaMask and both Coinbase listings
allowedWalletConnectIds: [
  'c57ca95b47569778a828d19178114f4db188b89b763c899ba0be274e97267d96',
  'fd20dc426fb37566d803205b19bbc1d4096b248ac04548e3cfb6b3a38bd033aa',
  'd0ca99ff52b99abc48743dad0f7fc891e041be73574f7fac4afe5d4bb83845c8'
]
```

#### experimentalPreferUniversalLinks?

> `optional` **experimentalPreferUniversalLinks?**: `boolean`

EXPERIMENTAL. No stability guarantee; may change or be removed in a minor release.

Prefer a wallet's `https://` universal link over its custom scheme (for example
`metamask://`) when connecting a mobile wallet. Useful when embedding inside a mobile
in-app webview, which cannot launch another app on its own and so needs the host app
to handle every custom scheme it might encounter.

Off by default. Has no effect for wallets whose registry entry declares no universal
link, which is most of them today. Where a wallet does declare one, this also changes
behaviour in an ordinary mobile browser, and a universal link can be worse there if
the wallet's Android app links are not verified.

Behaviour therefore depends on the wallet and on your host app. Verify against the
wallets your users actually use before enabling this in production.

##### Default Value

```ts
false
```

#### hidden?

> `optional` **hidden?**: [`WalletId`](../type-aliases/WalletId.md)[]

Never offer these wallets in the component's wallet picker, whatever the user's
browser has installed.

Useful when you don't want to present specific wallets, for example hardware wallets.
This only controls which connectors the component offers. It isn't a policy on
addresses: a user can still reach the same device another way, such as Ledger Live
over WalletConnect, or prove an address with a non-wallet proof type where you allow
one.

Entries are [WalletId](../type-aliases/WalletId.md)s and are matched case-insensitively. Hardware wallets and
the WalletConnect card have fixed ids, listed in [KnownWalletId](../type-aliases/KnownWalletId.md). Browser extension
wallets are matched by the id the component discovers them under.

Hiding `'wallet-connect'` removes the WalletConnect card entirely; to offer some
mobile wallets but not others, use `allowedWalletConnectIds` instead.

Absent or empty means every discovered wallet is offered.

##### Example

```ts
// No hardware wallets
hidden: ['ledger-usb-wallet', 'ledger-bluetooth-wallet', 'trezor']
```
