B137
Mint DIDProfile
  • General
    • Infographic
    • B137 Protocol
    • Why Composable DID?
    • Use Cases
    • Tokenomics
  • User Guide
    • Minting Soul Dust (DID)
    • Deploying Inscription Book (TLD)
    • Joining Community (Bind)
  • Advanced
    • Introduction
    • Core Concept
    • Operations
    • Batch
  • Integration
    • Introduction
    • API
      • Resolution
        • Get wallet address (forward resolution)
        • Get DID name (reverse resolution)
        • Get DID Details
        • Get TLD Details
      • Social Graph
        • Get Primary DID name
        • Get associated TLD of a DID
        • Get "Link to" List of a DID
        • Get "Linked by" list of a DID
        • Get Twitter handle of an address
      • Marketplace (unavailable)
      • Social Assets Management (unavailable)
    • Indexer
  • Links
    • Website
    • Discord
    • Medium
    • Twitter
Powered by GitBook
On this page
  1. Integration
  2. API
  3. Social Graph

Get Primary DID name

PreviousSocial GraphNextGet associated TLD of a DID

Last updated 9 months ago

Get Primary DID of a Bitcoin address, which is setted on B137 Profile page.

get

Retrieve the primary DIDs corresponding to the requested wallet address.

Query parameters
addressstringRequired

The wallet address to resolve.

Example: bc1plhw3qceajqpv2q96zt365z278ce5jyecz0d5zjrnrad96y7c34msk4v7u6
Responses
200
Successful operation
application/json
get
GET /v1/getPrimary HTTP/1.1
Host: open-api.b137.io
Accept: */*
200

Successful operation

{
  "code": 0,
  "data": "gene"
}