Skip to main content
POST
Records a market that has been deployed on-chain. Call this once the transaction from Deploy Market is mined. The factory call is verified before anything is written: the receipt must target the factory, call deployMarket, and name the same stock token you pass here. The market is then read back from the factory, stored against your instance, and returned with its configuration checklist.

Body Parameters

string
required
ERC-20 stock token the market collateralises. Must match the token in the deployment transaction.
string
required
Hash of the mined factory deployment transaction.
string
required
Issuer wallet holding ISSUER_ROLE. Used to build the configuration steps.
string
required
Admin wallet holding DEFAULT_ADMIN_ROLE. Used to build the configuration steps.

Response Fields

object
The market is not usable until the stock token issuer authorises both the market and the liquidation router on the token via addAuthorizedContract. Those steps come back in configurationSteps with calldata in configurationCalldata.

Errors