> For the complete documentation index, see [llms.txt](https://sending-network.gitbook.io/sending.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sending-network.gitbook.io/sending.network/sdk-documentation/java-sdk/did.md).

# DID

### Login DID

```java
public LoginData loginDID(String address, String privateKey)
```

Parameters：

| Name       | Type   | Description                | Required |
| ---------- | ------ | -------------------------- | -------- |
| address    | string | wallet account address     | true     |
| privateKey | string | wallet account private key | true     |

Returns：

| Name                    | Type   | Description  | Required |
| ----------------------- | ------ | ------------ | -------- |
| LoginData.user\_id      | string | user did     | true     |
| LoginData.access\_token | string | access token | true     |
| LoginData.device\_id    | string | device id    | true     |
