Back to Sui

Module `std::address`

external-crates/move/crates/move-stdlib/docs/std/address.md

latest805 B
Original Source

<a name="std_address"></a>

Module std::address

Provides a way to get address length since it's a platform-specific parameter.

<pre><code></code></pre>

<a name="std_address_length"></a>

Function length

Should be converted to a native function. Current implementation only works for Sui.

<pre><code><b>public</b> <b>fun</b> <a href="../std/address.md#std_address_length">length</a>(): <a href="../std/u64.md#std_u64">u64</a> </code></pre> <details> <summary>Implementation</summary> <pre><code><b>public</b> <b>fun</b> <a href="../std/address.md#std_address_length">length</a>(): <a href="../std/u64.md#std_u64">u64</a> { 32 } </code></pre> </details>