0

I deployed a FA2.0 Smart Contract and would need to interact with it through Java. I tried to use Tezosj (enter link description here) but it does not support FA2.0 smart contracts...hence, I would like to use directly RPC Calls to interact with nodes but I cannot see any documentation about it. I also tried to look as tezos-client option but same thing I can only see details on FA1.2 Smart Contracts interaction.

I know that the usual way is to use Taquito for interaction but is there any other way ?

1 Answer 1

0

Octez nodes API doc is here https://tezos.gitlab.io/api/openapi.html

Marigold's nodes expose all endpoints:

4
  • great ! thanks, will look at it.
    – tiamat
    Nov 8, 2022 at 4:02
  • which end point can be used to interact with a FA2.0 Smart Contract ? I can see endpoints to view the endpoints but nothing related to exectution ? on the other hand, is it possible to call FA2.0 smart contract end points with tezos-client ?
    – tiamat
    Nov 9, 2022 at 14:54
  • Current API gitlab.com/tezos/tezos/-/blob/master/docs/api/… To request an onchain VIEW POST /helpers/scripts/run_script_view
    – Thomas
    Nov 12, 2022 at 17:59
  • Calling an endpoint of a smartcontract is a transaction, you need to forge the relevant transation. It may be complex and there is SDK that help. I never try the JavaSDK but you have exemple here github.com/TezosRio/TezosJ_plainJava/blob/…
    – Thomas
    Nov 12, 2022 at 18:07

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.