Viction DA RPC API
Viction DA, the interconnecting data layer for Web3, breaking down communication barriers between blockchain platforms.
Last updated
Viction DA, the interconnecting data layer for Web3, breaking down communication barriers between blockchain platforms.
Last updated
You can make JSON RPC calls to Viction via those following URLs:
DA-Testnet: https://da-testnet.viction.xyz
DA-Mainnet: https://da.viction.xyz
POST
/commit
Commit data to the DA Layer & returns Commitment for each given Blob
RequestBody: The argument is byte array
Response
Success response should return an array of commitments of the byte array
GET
/get
Return Blob for each given ID
RequestBody
Response
!!! In case there is no data in storage(means nothing was submitted before) it returns empty bytes array
GET
/get_proofs
Return Proofs for each given ID
RequestBody
Response
POST
/submit
Submit data to Data layer & returns tuple of ID and Commitment for each given Blob
RequestBody
Response
POST
/validate
Request body 1st params argument is a "hello" string Id and Commitment("${Id}-{Commitment}")
Kindly view Submit
example 2nd onw is a data with corrupted proof byte array
RequestBody
ERROR RESPONSE
In case the request has invalid params
Response
Success response should return true and false
!!! In case there is no data in storage(means nothing was submitted before) it returns false
validation result