Last updated 3 months ago
Retrieve the primary DIDs corresponding to the requested wallet address.
Successful operation
0: Success, -1: Error
0
The primary DID name.
"gene"
const response = await fetch('https://open-api.b137.io/v1/getPrimary?address=text', { method: 'GET', headers: {}, }); const data = await response.json();
{ "code": 0, "data": "gene" }