# underlyingToPoolToken()

### Function underlyingToPoolToken()

{% code title="BancorNetworkInfo.sol" %}

```javascript
 function underlyingToPoolToken(Token pool, uint256 tokenAmount) external view returns (uint256)
```

{% endcode %}

{% hint style="success" %}
This function is located in the [BancorNetworkInfo](https://docs.bancor.network/contracts#bancor-v3-contracts) contract
{% endhint %}

This function is used to get the number of pool tokens (bnToken) a given number of tokens would be worth.

### Function Arguments

| Name        | Type    | Description                                                                                                                                                                                                                         |
| ----------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| pool        | Token   | <p>Input the contract address of a token. </p><p></p><p>For example for the <a href="https://etherscan.io/token/0x514910771af9ca656af840dff83e8264ecf986ca">LINK</a> token: <em>0x514910771AF9Ca656af840dff83E8264EcF986CA</em></p> |
| tokenAmount | uint256 | The number of tokens for which to check the value in pool tokens.                                                                                                                                                                   |

### Return Variables

| Type   | Description                                                                                                                                                         |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Number | <p>The number of pool tokens a given number of tokens are worth.<br><br>For example, the response will indicate the value of the input amount in bnLINK tokens.</p> |
