Skip to main content

Application Binary Interface (ABI)

  • Chapter
  • First Online:
Ethereum Smart Contract Development in Solidity

Abstract

When we finish the Solidity coding and compiling successfully, the next step is to let EVM execute the bytecode generated. From EVM point of view, transaction calldata is just a byte array and we need to understand how EVM interprets the byte array. If all the programming language based on EVM use the same standard to interpret input data, then it will be easier for them to interact with each other. This is why we need Application Binary Interface (ABI). Just as Google Protocol Buffer, Application Binary Interface (ABI) is a general-purposed data exchange format specified by Ethereum. ABI is applied to the interaction between external call and contract.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://solidity.readthedocs.io/en/develop/abi-spec.html#abi-json.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Singapore Pte Ltd.

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Zheng, G., Gao, L., Huang, L., Guan, J. (2021). Application Binary Interface (ABI). In: Ethereum Smart Contract Development in Solidity. Springer, Singapore. https://doi.org/10.1007/978-981-15-6218-1_5

Download citation

  • DOI: https://doi.org/10.1007/978-981-15-6218-1_5

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-15-6217-4

  • Online ISBN: 978-981-15-6218-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics