Field | Type | Description |
---|---|---|
form | uint8 | Format or encoding type |
mime | string31 | MIME type (31-byte, zero-padded) |
content | bytes | The actual media or content |
Field | Type | Description |
---|---|---|
token | uint64 | Index of the registered token contract |
reserved | uint64 | Reserved (must be zero) |
amount | uint128 | Amount of tokens wrapped (max: 2¹²⁸ − 1) |
uint256
for balances. However, uint128
is sufficient for almost all practical use cases.
Field | Type | Description |
---|---|---|
token | uint64 | Index of the registered NFT contract |
id | uint64 | Token ID of the NFT |
amount | uint128 | Quantity (must be 1 for ERC721-style NFTs) |