1

i want to understand how tzkt indexer works. If there is some pattern by which you can determine that this is a fa2 contract, and not fa1.2? Maybe there is a prefix by which you can determine? I saw that fa2 has some specific bite code. I will be glad if someone gives me detailed information, thanks.

From Baking Bad Telegram

1 Answer 1

1

You can distinguish between FA1.2 and FA2 by checking contract entrypoint semantics. For example: FA1.2 contract must implement approve entrypoint and FA2 must implement update_operators entrypoint.

Here you can find more information about FA1.2 and FA2 standards: tzip-7 and tzip-12

From Baking Bad Telegram

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.