Constructs an account block.
userData defaults to 0. The code is validated against the stable
reject-code set.
Throws ParamError when code is not a recognized reject code.
Optionaluser_data: null | bigintReadonlycodeThe reject code.
ReadonlydetailsCase-specific block details.
ReadonlypolicyThe name of the policy that produced the block.
ReadonlyreasonThe human-readable block reason.
ReadonlyuserThe opaque caller-defined token as a bigint.
The core token is usize, so on wasm32 it must fit u32; a larger
value is rejected when the block is converted to its core form.
Returns a fresh copy of this account block.
Account block returned by a custom policy's kill-switch path.