# length

Returns the number of bytes in a BLOB or BLOB-backed EVM value such as ADDRESS, BYTES32, UINT256, or INT256.

Canonical HTML: <https://determica.com/docs/functions/length>

- Kind: scalar function
- Category: [EVM utilities](/docs/category/evm-utilities.md)
- Tags: Bytes, Blob, Deterministic, Types

Returns the number of bytes in a BLOB or BLOB-backed EVM value such as ADDRESS, BYTES32, UINT256, or INT256.

## Overload 1: length(BYTES)

```sql
length(BYTES)
```

Returns the byte length of the input BLOB.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (BYTES; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 2: length(ADDRESS)

```sql
length(ADDRESS)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (ADDRESS; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 3: length(BYTES4)

```sql
length(BYTES4)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (BYTES4; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 4: length(BYTES32)

```sql
length(BYTES32)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (BYTES32; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 5: length(BYTES256)

```sql
length(BYTES256)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (BYTES256; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 6: length(UINT160)

```sql
length(UINT160)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT160; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 7: length(UINT256)

```sql
length(UINT256)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT256; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 8: length(UINT512)

```sql
length(UINT512)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT512; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 9: length(INT160)

```sql
length(INT160)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT160; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 10: length(INT256)

```sql
length(INT256)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT256; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 11: length(INT512)

```sql
length(INT512)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT512; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 12: length(UINT24)

```sql
length(UINT24)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT24; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 13: length(INT24)

```sql
length(INT24)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT24; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 14: length(UINT32)

```sql
length(UINT32)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT32; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 15: length(INT32)

```sql
length(INT32)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT32; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 16: length(UINT40)

```sql
length(UINT40)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT40; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 17: length(INT40)

```sql
length(INT40)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT40; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 18: length(UINT48)

```sql
length(UINT48)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT48; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 19: length(INT48)

```sql
length(INT48)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT48; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 20: length(UINT56)

```sql
length(UINT56)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT56; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 21: length(INT56)

```sql
length(INT56)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT56; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 22: length(UINT64)

```sql
length(UINT64)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT64; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 23: length(INT64)

```sql
length(INT64)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT64; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 24: length(UINT72)

```sql
length(UINT72)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT72; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 25: length(INT72)

```sql
length(INT72)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT72; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 26: length(UINT80)

```sql
length(UINT80)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT80; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 27: length(INT80)

```sql
length(INT80)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT80; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 28: length(UINT88)

```sql
length(UINT88)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT88; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 29: length(INT88)

```sql
length(INT88)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT88; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 30: length(UINT96)

```sql
length(UINT96)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT96; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 31: length(INT96)

```sql
length(INT96)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT96; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 32: length(UINT104)

```sql
length(UINT104)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT104; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 33: length(INT104)

```sql
length(INT104)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT104; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 34: length(UINT112)

```sql
length(UINT112)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT112; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 35: length(INT112)

```sql
length(INT112)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT112; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 36: length(UINT120)

```sql
length(UINT120)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT120; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 37: length(INT120)

```sql
length(INT120)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT120; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 38: length(UHUGEINT)

```sql
length(UHUGEINT)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UHUGEINT; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 39: length(HUGEINT)

```sql
length(HUGEINT)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (HUGEINT; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 40: length(UINT136)

```sql
length(UINT136)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT136; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 41: length(INT136)

```sql
length(INT136)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT136; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 42: length(UINT144)

```sql
length(UINT144)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT144; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 43: length(INT144)

```sql
length(INT144)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT144; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 44: length(UINT152)

```sql
length(UINT152)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT152; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 45: length(INT152)

```sql
length(INT152)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT152; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 46: length(UINT168)

```sql
length(UINT168)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT168; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 47: length(INT168)

```sql
length(INT168)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT168; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 48: length(UINT176)

```sql
length(UINT176)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT176; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 49: length(INT176)

```sql
length(INT176)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT176; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 50: length(UINT184)

```sql
length(UINT184)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT184; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 51: length(INT184)

```sql
length(INT184)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT184; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 52: length(UINT192)

```sql
length(UINT192)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT192; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 53: length(INT192)

```sql
length(INT192)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT192; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 54: length(UINT200)

```sql
length(UINT200)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT200; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 55: length(INT200)

```sql
length(INT200)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT200; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 56: length(UINT208)

```sql
length(UINT208)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT208; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 57: length(INT208)

```sql
length(INT208)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT208; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 58: length(UINT216)

```sql
length(UINT216)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT216; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 59: length(INT216)

```sql
length(INT216)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT216; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 60: length(UINT224)

```sql
length(UINT224)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT224; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 61: length(INT224)

```sql
length(INT224)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT224; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 62: length(UINT232)

```sql
length(UINT232)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT232; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 63: length(INT232)

```sql
length(INT232)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT232; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 64: length(UINT240)

```sql
length(UINT240)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT240; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 65: length(INT240)

```sql
length(INT240)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT240; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 66: length(UINT248)

```sql
length(UINT248)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (UINT248; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Overload 67: length(INT248)

```sql
length(INT248)
```

Returns the stored byte length of the BLOB-backed EVM alias value.

- Kind: scalar
- Execution context: Offline
- Behavior: Transform
- Execution modes: Offline
- Input shape: Scalar Arguments
- Planning contract: Runtime
- Cardinality: One Per Input
- Determinism: Deterministic
- Return shape: Scalar
- Schema stability: Fixed
- Stability: Stable
- Side effects: None documented

### Inputs

- `value` (INT248; required; positional) — BLOB or BLOB-backed EVM value. The result measures stored bytes, not display characters.

### Returns

Stored byte count

Returns BIGINT byte length. NULL input returns NULL.

- `bytes` (BIGINT)

Stored byte count. Returns BIGINT byte length. NULL input returns NULL.

## Additional examples

```sql
-- Compare variable payload, address, and EVM-word storage widths
SELECT
  length('0x123456'::BYTES) AS payload_bytes,
  length('0x0000000000000000000000000000000000000000'::ADDRESS) AS address_bytes,
  length(1::UINT256) AS word_bytes;
-- => [{"payload_bytes":3,"address_bytes":20,"word_bytes":32}]
```
