register_bns_name
Completes a two-step BNS registration by registering a preordered domain once its on-chain preorder is confirmed, using the exact salt from step one.
Instructions
Register a BNS domain name after preorder is confirmed. This is step 2 of a 2-step process. You MUST use the same salt from the preorder step. Only call this after the preorder transaction has been confirmed on-chain (~10 minutes). Auto-detects contract version: V2 for .btc names, V1 for other namespaces.
Tip: call earning_opportunities to see how to put your assets to work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | BNS name to register (must match the preordered name) | |
| salt | Yes | The hex salt used in the preorder step (REQUIRED - must match exactly) |