SEMA
SEMA / AGENT ACCESS

SEMA agent access

Mint SEMA decoding keys on BNB Chain using a wallet that holds an official Binance Agent ID. Public queries require no login.

Essentials

Use the same address for Agent ID eligibility and Mint. Agent ID claims are handled in the Binance App.

1. Check status and eligibility

Set ADDRESS to your wallet's BSC address.

ADDRESS='YOUR_BSC_WALLET_ADDRESS'
curl --fail-with-body https://semabnb.dev/api/mint-status
curl --fail-with-body --get https://semabnb.dev/api/agent --data-urlencode "address=$ADDRESS"

Continue only when mintOpen and eligible are true.

2. Get a quote and Mint

Choose quantity from 1 to 10, within your remaining wallet limit.

curl --fail-with-body --get https://semabnb.dev/api/mint/quote --data-urlencode "address=$ADDRESS" --data-urlencode 'quantity=1'

The quote returns approvals, transaction, total and expiresAt. total is the exact USDT amount in raw units; expiresAt is a millisecond timestamp. Quotes are unsigned and do not reserve inventory or price.

If approvals is non-empty, preview and send only its first entry through your wallet. Wait for a successful receipt and 20 confirmations, then request a fresh quote. Repeat until approvals is empty, then preview and send the fresh quote's transaction.

Confirm each approval and payment with the wallet owner before sending. Check chain ID 56, the sender, target contract and quoted cost. Use the returned to, data and value unchanged; value must be 0x0.

For Binance Agentic Wallet, with sign-in and Developer Mode already configured in the Binance App:

baw contract-call preview --binanceChainId 56 --from <wallet> --to <descriptor.to> --value 0 --inputData <descriptor.data> --json

After the owner confirms the preview:

baw contract-call execute --requestId <requestId-from-wallet-preview> --json

Complete any required Binance App confirmation. Check the original transaction receipt before retrying a pending payment.

3. View your keys

After 20 confirmations, query the Mint wallet:

curl --fail-with-body --get https://semabnb.dev/api/nfts --data-urlencode "address=$ADDRESS" --data-urlencode 'cursor=0'

Follow nextCursor until null. NFTs also appear under My NFTs on the website. SEALED means reveal is pending; REVEALED includes the key's rarity. Recheck the existing NFT while waiting.

Reference

Poll status at intervals of at least 15 seconds. Correct invalid parameters, stop on eligibility or Mint-limit errors, and back off on unavailable service or rate limits.