AttributeInputs
AttributeInputs =
Readonly<Record<string,ValueInput>>
Defined in: src/attr/attributes.ts:36
The attributes written on an entity, as a plain object keyed by attribute name.
Values may be tagged (ValueInput) or bare where the type is unambiguous — see toValue for the bare-form defaults.
Example
Section titled “Example”const attributes = { level: i32(10), balance: u256(1_000_000n), score: dec("3.5"), parent: key(parentKey), name: "Bob", // bare string -> str flagged: true, // bare boolean -> bool} satisfies AttributeInputs