Skip to content

Commit b1c9eb9

Browse files
authored
Update serialization-of-cairo-types.adoc
1 parent 9c2ae5e commit b1c9eb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/Starknet/modules/architecture-and-concepts/pages/smart-contracts/serialization-of-cairo-types.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[id="serialization_of_types_in_Cairo"]
22
= Serialization of Cairo types
33

4-
== Introduction
4+
== Overview
55

66
The field element (`felt252`), which contains 252 bits, is the only actual type in the Cairo VM, so xref:data_types_using_at_most_252_bits[all data types that fit in 252 bits] are represented by a single felt and xref:data_types_using_more_than_252_bits[all data types that are larger than 252 bits] are represented by a list of felts. Therefore, in order to interact with a contract, you must know how to xref:serialization_of_data_types_using_more_than_252_bits[serialize any arguments that are larger than 252 bits to lists of felts] so you can correctly formulate the calldata in the transaction.
77

0 commit comments

Comments
 (0)