Blockchain Addresses Explained: How Public Keys Become Wallet Addresses (Part 2)

This type has several members that can be used to interact with and query the contracts.

These members are described here: Balance: The balance member returns the balance of the address in Wei.

How Public Keys Become Wallet Addresses (Part 2)

Send: This member is used to send an amount of ether to an address (Ethereum’s 160-bit address) and returns true or false depending on the result of the transaction, following: address to = 0x6414cc08d148dce9ebf5a2d0b7c220ed2d3203da; address from = this; if (to.balance < 10 && from.balance > 50) to.send(20); Call functions: The call, callcode, and delegatecall calls are provided in order to interact with functions that do not have ABI.

These functions should be used with caution as they are not safe to use due to the impact on type safety and security of the contracts.

Array value types (fixed size and dynamically sized byte arrays): Solidity has fixed size and dynamically sized byte arrays.

Fixed size keywords range from bytes1 to bytes32, whereas dynamically sized keywords include bytes and string.

The bytes keyword is used for raw byte data and string is used for strings encoded in UTF-8.

As these arrays are returned by the value, calling them will incur gas cost.

Why This Matters for Blockchain Technology

An example of a static (fixed size) array is as follows: bytes32[10] bankAccounts; An example of a dynamically sized array is as follows: bytes32[] trades; Get length of trades by using the following code: trades.length;

Address This data type holds a 160-bit long (20 byte) value. This type has several members that can be used to interact with and query the contracts. These members are described here: Balance: The balance member returns the balance of the address in Wei. Send: This member is used to send an amount of ether to an address (Ethereum’s 160-bit address) and returns true or false depending on the result of the transaction, following: address to = 0x6414cc08d148dce9ebf5a2d0b7c220ed2d3203da; address from = this; if (to.balance < 10 && from.balance > 50) to.send(20); Call functions: The call, callcode, and delegatecall calls are provided in order to interact with functions that do not have ABI. These functions should be used with caution as they are not safe to use due to the impact on type safety and security of the contracts. Array value types (fixed size and dynamically sized byte arrays): Solidity has fixed size and dynamically sized byte arrays. Fixed size keywords range from bytes1 to bytes32, whereas dynamically sized keywords include bytes and string. The bytes keyword is used for raw byte data and string is used for strings encoded in UTF-8. As these arrays are returned by the value, calling them will incur gas cost. length is a member of array value types and returns the length of the byte array. An example of a static (fixed size) array is as follows: bytes32[10] bankAccounts; An example of a dynamically sized array is as follows: bytes32[] trades; Get length of trades by using the following code: trades.length;

Key Points to Remember

  • This type has several members that can be used to interact with and query the contracts.
  • These members are described here: Balance: The balance member returns the balance of the address in Wei.
  • These functions should be used with caution as they are not safe to use due to the impact on type safety and security of the contracts.
  • Array value types (fixed size and dynamically sized byte arrays): Solidity has fixed size and dynamically sized byte arrays.

Conclusion

Address represents one of the many innovative layers that make blockchain technology so powerful and transformative. As distributed systems continue to evolve, a solid understanding of these core concepts becomes increasingly valuable — not just for developers, but for anyone building, investing in, or working alongside blockchain-powered systems.

Whether you are just starting your blockchain journey or deepening existing expertise, mastering these fundamentals gives you the tools to think clearly about decentralized systems and make smarter decisions in this rapidly evolving space.