Identity Verification
Confirm ONCHAINID
Check a mined ONCHAINID deployment and record it for a wallet
POST
Checks a mined ONCHAINID deployment and records the identity against a customer’s wallet. Build Pending Registration then uses it instead of asking for another deployment. Recording does not register the wallet or verify it.
Body Parameters
string
required
The customer’s wallet that the deployment was requested for.
string
required
The hash of the deployment transaction, from Deploy ONCHAINID or a
DEPLOY_IDENTITY phase. Verify Identity, Batch Verify and Build Pending Registration all return one.What the confirm checks
The checks run in this order, and the first that fails answers.- Your instance writes to an ERC-3643 register.
- The transaction is mined, succeeded, and created a contract.
- Its calldata is the deployment this API plans: the vendored
IdentityProxyinitcode, followed by an implementation authority and a management key. An ONCHAINID deployed with other tooling is refused. - The new contract answers as an ONCHAINID, reports the implementation authority its deployment named, and holds the named management key. A key that cannot be read does not fail this check.
- The management key is a wallet registered to your instance, whenever the instance has one.
- The wallet is not on the register with a different ONCHAINID, and no other customer of your instance has this one recorded.
from and written to the audit log, and a sender that is not a registered wallet is only logged.
What it records
- The customer record of the wallet gets
metadata.onchainIdandmetadata.onchainIdTxHash. A wallet without a record gets one, with statuspending. - Every
PENDINGqueue row of the wallet getsmetadata.onchainId, so the next build uses it. - The customer audit log gets
ONCHAINID_DEPLOYED, with the identity, the transaction, its sender, the management key and the implementation authority.
alreadyRecorded: true and writes nothing.
Response Fields
object
