Skip to content

Integrating to Partisia Platform

We have collected articles that help you integrate your application with the rest of Partisia Platform in this section.

Connecting your application with your private deployment is possible by interacting the REST server, that reader nodes runs, while getting the updates from the block producer nodes.

The following sections explains some of the endpoints you can use to get info about the transactions and events that is executed on your private deployment. You can also get the current state of your deployed smart contracts and MPC smart contracts.

Rest endpoint examples and libraries

You can get information about blocks, transactions, contract state and more through the REST API. The REST API is also be used for sending signed transactions to the blockchain.

The REST API is available on any block producing node, you can also spin up a reader node, to minimize the load on your block producing nodes.

We also publish a number of libraries that help create transactions and using the REST API.

REST API endpoints

Below is a collection of commonly used rest endpoints.

In our rest server source repo, you can find all the different endpoints and all returned data types.

Transaction Information

Event Information

  • Get a specified event from the event hash:
    • http://localhost/blockchain/event/{{eventIdentifier}}
      • Insert the Hash of the event instead of {{eventIdentifier}}, e.g. for the event with the hash 7e3b8b053d5078af01de73f0c474fda1f9f01d97f9d850fcce0682a1431d2da2 the request would be http://docker:9432/blockchain/transaction/7e3b8b053d5078af01de73f0c474fda1f9f01d97f9d850fcce0682a1431d2da2

Block Information

Smart Contract Information

Account Information

Blockchain Chain Id

Partisia All Rights Reserved © 2023