Run anchor build to generate an IDL for the program.

The IDL is a JSON file that describes the structure and interface of a Solana program, including:

  1. Program methods (instructions)
  2. Account structures
  3. Data types
  4. Arguments for each instruction

It similar to ABIs in Solidity contracts

You can find the abi in target/idl