onchainid.issueRoleClaim(IssueRoleClaim)
Generate and sign a Role claim (Machine Regulator or Machine Issuer) for an ONCHAINID identity. This does not broadcast a transaction; it returns the encoded claim payload and the issuer’s signature that can be submitted or verified off-chain/on-chain by downstream contracts.
IssueRoleClaim Type Parameters
Returns
Usage
TypeScript
JavaScript
Example outputs
roleTopic and roleDescription are encoded into the claim data according to the RWA Role specification. Ensure your claimIssuerSigner and claimIssuerContract are recognized by your registry/verification flow for successful validation.
