# `FireblocksSdk.Api.Tokenization`
[🔗](https://github.com/csokun/fireblocks_sdk/blob/v0.2.0/lib/fireblocks_sdk/api/tokenization.ex#L1)

# `create`
[🔗](https://github.com/csokun/fireblocks_sdk/blob/v0.2.0/lib/fireblocks_sdk/api/tokenization.ex#L34)

Facilitates the creation of a new token, supporting both EVM-based and Stellar/Ripple platforms.
For EVM, it deploys the corresponding contract template to the blockchain and links the token to the workspace.
For Stellar/Ripple, it links a newly created token directly to the workspace without deploying a contract.
Returns the token link with status "PENDING" until the token is deployed or "SUCCESS" if no deployment is needed.

Options:
* `:blockchainId` (`t:String.t/0`)

* `:assetId` (`t:String.t/0`)

* `:vaultAccountId` (`t:String.t/0`) - Required. The id of the vault account that initiated the request to issue the token

* `:createParams` (`t:term/0`) - Required.

* `:displayName` (`t:String.t/0`)

* `:useGasless` (`t:boolean/0`)

* `:fee` (`t:String.t/0`)

* `:feeLevel` (`t:String.t/0`)

# `get`
[🔗](https://github.com/csokun/fireblocks_sdk/blob/v0.2.0/lib/fireblocks_sdk/api/tokenization.ex#L22)

  Return a linked token, with its status and metadata.

# `get_deterministic_address`
[🔗](https://github.com/csokun/fireblocks_sdk/blob/v0.2.0/lib/fireblocks_sdk/api/tokenization.ex#L119)

Get a deterministic address for contract deployment. The address is derived from the contract's bytecode and provided salt. This endpoint is used to get the address of a contract that will be deployed in the future.

Options:
* `:chainDescriptor` (`t:String.t/0`) - Required. The base asset identifier of the blockchain (legacyId) to calculate deterministic address. Example: 'ETH'

* `:templateId` (`t:String.t/0`) - Required. The template identifier (UUID). Example: 'b70701f4-d7b1-4795-a8ee-b09cdb5b850d'

* `:initParams` (list of `t:map/0`) - Required. The deploy function parameters and values of the contract template. See ParameterWithValue schema.

* `:salt` (`t:String.t/0`) - Required. The salt to calculate the deterministic address. Must be a number between 0 and 2^256 -1, for it to fit in the bytes32 parameter. Example: '123456789'

# `get_link`
[🔗](https://github.com/csokun/fireblocks_sdk/blob/v0.2.0/lib/fireblocks_sdk/api/tokenization.ex#L84)

Return a linked token, with its status and metadata.

# `link`
[🔗](https://github.com/csokun/fireblocks_sdk/blob/v0.2.0/lib/fireblocks_sdk/api/tokenization.ex#L64)

Link an existing token to the workspace.

Options:
* `:type` - Required. The type of token being link. Available values: `:fungible`, `:non_fungible_token`, `:token_utility`, `:token_extension`

* `:refId` (`t:String.t/0`) - The Fireblocks' token link reference id. For example, 'BQ5R_BDESC_ABC' if it's a fungible asset

* `:displayName` (`t:String.t/0`) - The token display name

* `:baseAssetId` (`t:String.t/0`) - The blockchain base assetId

* `:contractAddress` (`t:String.t/0`) - The contract's onchain address

# `list`
[🔗](https://github.com/csokun/fireblocks_sdk/blob/v0.2.0/lib/fireblocks_sdk/api/tokenization.ex#L13)

Return all linked tokens (paginated)

Options:
* `:pageCursor` (`t:String.t/0`)

* `:pageSize` (`t:non_neg_integer/0`) - The default value is `10`.

* `:status` (`t:String.t/0`) - The default value is `"COMPLETED"`.

# `unlink`
[🔗](https://github.com/csokun/fireblocks_sdk/blob/v0.2.0/lib/fireblocks_sdk/api/tokenization.ex#L77)

Unlink a token. The token will be unlinked from the workspace. The token will not be deleted on chain nor the refId, only the link to the workspace will be removed.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
