Input contract for creating a new note record.
Consumers map their domain types into this shape before persisting.
Hex string fields (commitment, nullifier, tokenSubID) accept values
with or without a 0x prefix; all other fields are passed through unchanged.
tokenType is the integer token-class enum (0 = ERC20, 1 = ERC721).
tokenSubID is a 32-byte sub-identifier; for ERC20 it is the canonical
256-bit null (64 zero hex chars).
Input contract for creating a new note record. Consumers map their domain types into this shape before persisting. Hex string fields (
commitment,nullifier,tokenSubID) accept values with or without a0xprefix; all other fields are passed through unchanged.tokenTypeis the integer token-class enum (0 = ERC20, 1 = ERC721).tokenSubIDis a 32-byte sub-identifier; for ERC20 it is the canonical 256-bit null (64 zero hex chars).