# PARTNER: 1inch Bridge

### Overview

The 1inch Bridge allows you to perform token bridge using the 1inch aggregation protocol directly inside a Decimal workflow. It enables automated, cross-chain token bridge while leveraging 1inch’s routing and liquidity optimisation.

This integration is designed for Web3-native workflows where swaps need to be executed programmatically, conditionally, or as part of a larger automation.

Common use cases include:

* Cross-chain asset movement
* Treasury and fund management workflows
* Strategy-based DeFi automation

***

### Available Module

#### 1inch Bridge

Executes a token bridge using 1inch based on the configured source token, destination token, chain, and amount.

***

### When to use 1inch Bridge

Use the 1inch node when:

* You need to bridge tokens programmatically
* Swaps are part of a larger automated workflow
* You want best-route aggregation without manual execution
* You need cross-chain token movement

This node is typically used after wallet connection and before downstream actions like transfers or contract calls.

***

### Adding 1inch to a Workflow

1. Open the Decimal workflow editor
2. Add a Trigger node
3. From Web3, select 1inch Bridge
4. Connect the node to the trigger or previous step

Once added, the 1inch Settings panel opens automatically.

***

### Module Configuration

#### From Token

Select the source token to bridge from.

Example:

*<mark style="color:$primary;">ETH (Ether)</mark>*

Note: Native tokens (e.g. ETH) may not be supported as source tokens directly. In such cases, use the wrapped version (e.g. WETH).

***

#### Destination Chain

Select the destination chain for the bridge.

Example:

*<mark style="color:$primary;">Base</mark>*

For cross-chain swaps, the destination chain must be different from the source chain.

***

#### To Token

Select the destination token to receive.

Example:

*<mark style="color:$primary;">WETH (Wrapped Ether)</mark>*

***

#### Amount

Enter the human-readable amount to bridge.

Example:

*<mark style="color:$primary;">0.1</mark>*

Decimal automatically handles token decimals during execution.

This field is required.

***

#### Recipient (Optional)

Specify a recipient wallet address for the bridge tokens.

* If left empty, tokens are received in the connected wallet
* Useful for routing funds to external wallets or contracts<br>

Example:

*<mark style="color:$primary;">0x...</mark>*

***

### Output & Execution

When executed, the 1inch node:

* Fetches the optimal bridge route
* Executes the bridge onchain
* Returns execution details to the workflow

Typical output includes:

* Transaction hash
* Source and destination tokens
* Amounts swapped
* Execution status

These results can be used in downstream nodes for validation, logging, or follow-up actions.

***

### Example Workflow

Use Case: Bridge ETH to WETH automatically.

Workflow:

1. Trigger
2. Wallet Connection
3. 1inch Bridge
4. If Else (validate execution)
5. Transfer or store result

This enables fully automated swap workflows without manual intervention.

***

**Here are the official 1inch references**&#x20;

* 1inch Documentation:[ https://docs.1inch.io](https://docs.1inch.io)
* 1inch Developer Docs (API & Protocol):[ https://portal.1inch.dev](https://portal.1inch.dev)
* 1inch on X (Twitter):[ https://x.com/1inch](https://x.com/1inch)
