# Token Bridge Smart Contract Interface

SupraNova’s Token Bridge contract is a service layer contract integrated within Supranova. It exposes key functions that allow users and developers to interact with the bridge directly. The functions are as follows:

* `sendNative()`: Locks native ETH on Ethereum and emits a bridge event for Supra to process.
* `sendTokens(address tokenAddress, uint256 amount)`: Locks an approved ERC20 token for cross-chain bridging.
* `calculateTokenBridgeFee(address token, uint256 amount)`: Returns the service fee applicable for a given asset and amount.
* `isRegistered(address tokenAddress)`: Checks if a token is approved for bridging.
* `isChainIdRegistered(uint256 chainId)`: Checks if a destination chain is supported.

These methods provide a flexible, decentralized interface for both end-users and cross-chain applications interacting with SupraNova.<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://supraoracles.gitbook.io/supra/supranova/token-bridge-smart-contract-interface.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
