# LinkToken v0.2.3 API Reference
Source: https://docs.chain.link/chainlink-local/api-reference/v0.2.3/link-token

> For the complete documentation index, see [llms.txt](/llms.txt).

<Common callout="importPackage023" />

## LinkToken

A contract that implements the ChainLink Token (LINK) using the ERC677 standard.

[`LinkToken`](https://github.com/smartcontractkit/chainlink-local/blob/7d8b2f888e1f10c8841ccd9e0f4af0f5baf11dab/src/shared/LinkToken.sol)

> \*\*NOTE\*\*
>
>
>
> This contract inherits from ERC677 token contract and initializes with a fixed total supply and standard token
> details.

## Functions

### constructor

Initializes the contract with fixed token details.

```solidity
constructor()
```

> \*\*NOTE\*\*
>
>
>
> Constructor to initialize the LinkToken contract with a fixed total supply, name, and symbol. Calls the ERC677
> constructor with the name "ChainLink Token" and symbol "LINK", then mints the total supply (10^27 tokens) to the
> contract deployer.

### \_onCreate

Internal hook called during contract creation.

```solidity
function _onCreate() internal virtual
```

> \*\*NOTE\*\*
>
>
>
> Hook that is called when this contract is created. Useful to override constructor behaviour in child contracts (e.g.,
> LINK bridge tokens). The default implementation mints 10^27 tokens to the contract deployer.