You can create assets on omniChain in a number of ways:

  1. Using admin interface.
  2. Using omniSite custom page.
  3. Using Omnibasis API.

There are a number of steps you need to take create asset using Omnibasis API.


Step 1: Get Asset Definition

Note: If loginRequired set to true, user needs to be login to submit the asset. You need to provide login information via Authorization: Bearer in request header.


Note: If passwordRequired set to true, you need to submit the password to get asset definition.


Step 2:  Parse asset template

Asset template return in the Step 1 will be under form. Template is JSON object. You will need to parse all the component to identify the fields required for submission.


Step 3: Submit the asset

Step 4: Create Asset Workflow

Depending on your application workflow, you can use return values to display the message, or redirect to the next page in workflow.