Skip to content
Document

Integrating to Partisia Blockchain

We have collected articles that help you integrate your application with the rest of Partisia Blockchain in this section. There are different ways of integrating with the Partisia Blockchain and figuring out what tool to use is explained in the next sets of articles. If you cant find what you need, feel free to engage with the dev-community on our discord.

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 reader node.

If you need access to a reader node for integration purposes we recommend you to run your own node.
If you don't want to run your own, you can ask for help in the community Discord.

If you just want to test the API or only need occasional access, then a good approach is to use the public reader node. Notice, that the public reader is rate limited.

The public reader node is available at

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

Open API specification

The reader nodes and baker nodes expose an API that is defined by an OpenAPI spec. You can view the endpoints available here: OpenAPI UI.

Transaction information

https://reader.partisiablockchain.com/shards/Shard1/blockchain/transaction/11d09178b39c10520aec717200a4a5cd229e948bc15c4a87e65d682008f86db5

Where

  • Shard1 is the shard
  • 11d09178b39c10520aec717200a4a5cd229e948bc15c4a87e65d682008f86db5 is the transaction identifier

List of transactions from point in time

https://reader.partisiablockchain.com/shards/Shard0/blockchain/transaction/latest/10/2018112

Where

  • Shard0 is the shard
  • 10is the number of transactions to return
  • 2018112 is the block number on the shard

Block Information

https://reader.partisiablockchain.com/shards/Shard0/blockchain/blocks/6132deae77e2f2576e450b82cc681a363e064637443b736f841f2b99256f5926

Where

  • Shard0 is the shard
  • 6132deae77e2f2576e450b82cc681a363e064637443b736f841f2b99256f5926 is the block identifier

Smart Contract Information

https://reader.partisiablockchain.com/chain/contracts/02c63dc725bfce5abc5b019d14ac84b4aaf8747e9f

Where

  • 02c63dc725bfce5abc5b019d14ac84b4aaf8747e9f is the smart contract address

Account Information

https://reader.partisiablockchain.com/chain/accounts/00803c974202d4dd8db22bd3833b8d123f89ea199b

Where

  • 00803c974202d4dd8db22bd3833b8d123f89ea199b is the address of the account

Blockchain global information

https://reader.partisiablockchain.com/chain