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 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 App. Please note that the availability of the products and services on the Crypto.com App is subject to jurisdictional limitations. Foris DAX Asia Pte. Ltd. (trading under the brand name “Crypto.com”) may only be able to offer certain products, features and/or services on the Crypto.com App due to potential or actual regulatory restrictions.The Crypto.com Visa Card is issued and distributed by Foris Asia Pte. Ltd. that holds a Major Payment Institution License approved by the Monetary Authority of Singapore (“MAS”), which allows it to provide e-money issuance services, account issuance services, cross border and domestic money transfer services. The Monetary Authority of Singapore (MAS) requires us to provide this risk warning to you as a customer of a digital payment token (DPT) service provider.


Before you:

(a) pay Foris DAX Asia Pte. Ltd. any money or DPT; or

(b) pay a third party any money or DPT under an arrangement by Foris DAX Asia Pte. Ltd.,


you should be aware of the following.

  1. Foris DAX Asia Pte. Ltd. is licensed by MAS to provide DPT services. Please note that this does not mean you will be able to recover all the money or DPTs you paid to Foris DAX Asia Pte. Ltd. or any other third party referred to above, if Foris DAX Asia Pte. Ltd’s or the third party’s business fails.1A. You should be aware that MAS does not supervise or regulate Foris DAX Asia Pte. Ltd. for the provision of unregulated services . This includes any service of trading digital payment token derivatives such as futures.
  2. You should not transact in the DPT if you are not familiar with this DPT. This includes how the DPT is created, and how the DPT you intend to transact is transferred or held by Foris DAX Asia Pte. Ltd.
  3. You should be aware that the value of DPTs may fluctuate greatly. You should buy DPTs only if you are prepared to accept the risk of losing all of the money you put into such tokens.
  4. You should be aware that Foris DAX Asia Pte. Ltd., as part of its licence to provide DPT services, may offer services related to DPTs which are promoted as having a stable value, commonly known as “stablecoin”.
AICPA SOCISO 27701ISO 22301PCI DSS
Crypto.com Logo
|

Cryptocurrency in Every Wallet™

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