Skip to content

Commit

Permalink
add extra note about tokenId being bytes32
Browse files Browse the repository at this point in the history
  • Loading branch information
CJ42 committed Jan 12, 2024
1 parent 4fd69f5 commit d05ee4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/learn/dapp-developer/set-nft-metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ Here we will use the following parameters as examples:
- `dataKey`: [`LSP4Metadata`](../../standards/tokens/LSP4-Digital-Asset-Metadata.md#lsp4metadata)
- `metadataValue`: some placeholder value as a [`VerifiableURI`](https://github.com/lukso-network/LIPs/blob/main/LSPs/LSP-2-ERC725YJSONSchema.md#verifiableuri).

> Note that the `tokenId` is a `bytes32` value (hex)
:::info

You can use the `encodeData` function from the [_erc725.js_](../../tools/erc725js/classes/ERC725.md#encodedata) library to encode a `VerifiableURI` easily.
Expand Down

0 comments on commit d05ee4d

Please sign in to comment.