Skip to main content
POST
Returns the unsigned contract creation that deploys an ONCHAINID for a customer’s wallet. An ERC-3643 register looks up an identity contract per wallet, so a wallet needs one before it can be registered. Build Pending Registration asks for the same deployment in its DEPLOY_IDENTITY phase, and this endpoint lets you deploy ahead of time. Only an instance bound to an ERC-3643 register can use it. A Trusset register needs no ONCHAINID, and the call answers REGISTER_OPERATION_UNSUPPORTED.
This call asks only the register whether the wallet has an ONCHAINID. It does not see one you deployed and confirmed for a wallet that is not registered yet, and plans a second deployment. Confirming that one as well replaces the recorded identity with the newer one.The deployment names no customer wallet, so Confirm ONCHAINID cannot tell which wallet it was built for. Confirm each deployment with the walletAddress you requested it for.
The ONCHAINID is created with managementKey as its management key. That is an issuer wallet, not the customer’s. Confirm ONCHAINID refuses a management key that is not a wallet registered to your instance.

Body Parameters

string
required
The customer’s wallet.
string
The wallet to name as the management key. Omit it to use your instance’s primary registered wallet, or the most recently registered one when none is primary. Name a wallet registered to your instance, because the confirm refuses any other with MANAGEMENT_KEY_NOT_INSTANCE. A malformed address is ignored.

Broadcast the deployment

Send transaction.data as a contract creation, with no to. transaction.create marks it as one and is not a field to pass to your wallet library. Any wallet can send it. The confirm checks the management key the deployment names, not the sender. Then record it with Confirm ONCHAINID, using the same walletAddress. Until then, Build Pending Registration does not know the identity exists.

Response Fields

object

Error Codes