Utility

All commands are listed below and detailed on their own section.

Search for transactions, addresses or tokens

post
/search

This endpoint searches for one of the following with the given "value" parameter in the PIRI network:

  • Token

  • Address

  • Transaction

Body
valuestringRequired

Search content | Address, Token Name, Transaction ID

Responses
chevron-right
200

OK

application/json; charset=utf-8
typestringRequired
post
/search
200

OK

Get test PIRI tokens

post
/givemePiri

Get test PIRI tokens for development purposes. This endpoint is typically used on testnet environments for testing purposes.

Body
addressstringRequired

PIRI address to receive test tokens

Responses
chevron-right
200

Test PIRI sent successfully

application/json; charset=utf-8
errorinteger ยท int32Optional

Error code, 0 for success

messagestringOptional

Response message indicating the result

txHashstringOptional

Transaction hash of the test PIRI transfer

post
/givemePiri
200

Test PIRI sent successfully

Reload network configuration settings

post
/reloadSetting

This endpoint allows reloading of network configuration settings on the blockchain network. By providing the hanOwnerSHA3 parameter (which is the SHA3 hash obtained during the blockchain network setup), the network settings can be reloaded and refreshed.

Body
hanOwnerSHA3stringOptional

SHA3 hash obtained during blockchain network setup, required for authentication to reload network settings

Responses
chevron-right
200

Response from reload settings operation

application/json; charset=utf-8
errorinteger ยท enumRequired

Error code: 0 for success, 1 for failure

Possible values:
datastringOptional

Error message when operation fails (only present when error is 1)

post
/reloadSetting
200

Response from reload settings operation

Last updated