Crypto.com Logo
GLOSSARYCalldata

Calldata


Calldata refers to a temporary data storage location in a smart contract platform where data is sent along with a transaction when calling a function in a smart contract. Calldata is a non-persistent and read-only part of the transaction data, and once it is sent with a transaction, it cannot be modified by the smart contract.

The term is most commonly associated with Ethereum and the Ethereum Virtual Machine (EVM), and it is essential for interacting with smart contracts, as it carries all the necessary information (such as function arguments) to execute specific functions within the smart contract.

When a user or another contract calls a function of a smart contract, the parameters for that function are encoded and sent via the calldata field. The smart contract then decodes the calldata to retrieve the function parameters for processing.

Unlike contract storage (which is expensive in terms of gas fees), calldata is not stored on-chain after the transaction is processed. It is only used during the execution of the transaction and discarded afterward.

Calldata is more gas-efficient than other forms of storage on the blockchain, making it a preferable choice for passing large amounts of data when users don’t need to permanently store the data on-chain.

Key Takeaway

Calldata is an essential component for passing inputs to smart contract functions, optimising for cost by being temporary and non-modifiable during execution.

Related Words

The purpose of this website is solely to display information regarding the products and services available on the Crypto.com Korea App. It is not intended to offer access to any of such products and services. You may obtain access to such products and services on the Crypto.com Korea App.


Please note that the availability of the products and services on the Crypto.com Korea App is subject to jurisdictional limitations. Crypto.com Korea may not offer certain products, features and/or services on the Crypto.com Korea App in certain jurisdictions due to potential or actual regulatory restrictions.

The Crypto.com Korea website and app in the Republic of Korea jurisdiction are provided by Foris DAX Korea Limited.


Foris DAX Korea Limited

Suite 802, 8F, Jongno 3gil 17, Jongno gu, Seoul, South Korea

CEO: Eric Anziani

Business Registration Number: 885-88-00694

Contact information: 1588-9520

24/7 Live Chat
AICPA SOCISO 27701ISO 22301PCI DSS
Crypto.com Logo
|

Cryptocurrency in Every Wallet™

Copyright © 2018 - 2026 Crypto.com. All rights reserved.
Privacy NoticeStatus