0

In taquito What is the web service being called with what data and end point while originating? I couldn't figure it out, can you please help me ?

1 Answer 1

1

The endpoint for all operation types is the same. All operations go to https://<node-rpc-address>/injection/operation, with a different payload for each type.

If you are looking for help crafting the Taquito payload you can see examples on the taquito docs: https://tezostaquito.io/docs/originate

If you are looking to understand the RPC schema, you can check the openAPI spec for the simulation RPC, which lists all the possible operation types. Go here: https://gitlab.com/tezos/tezos/-/blob/master/docs/api/hangzhou-openapi.json and scroll down to helpers/scripts/run_operation. Expand it and expand the schema:

enter image description here

There are also some other protocol specific OPEnAPi's if you are interested, the root link to all of them is here: https://tezos.gitlab.io/api/openapi.html

2
  • Thank You so much for helping me. :D Dec 21, 2021 at 13:06
  • @Cerealkiller your welcome. If this solved your question, don't forget to mark this answer as the accepted answer to close the question
    – Simon McLoughlin
    Dec 21, 2021 at 14:34

Your Answer

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

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