> For the complete documentation index, see [llms.txt](https://docs.nulink.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nulink.org/products/dapp_builders/sdk_api/modules.md).

# API Reference

[NuLink SDK - v0.5.31](/products/dapp_builders/sdk_api.md) / Modules

## NuLink SDK - v0.5.31

### Table of contents

#### Enumerations

* [DataType](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/enums/DataType.md)
* [DataCategory](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/enums/DataCategory.md)

#### Classes

* [Strategy](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/classes/Strategy.md)
* [Account](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/classes/Account.md)
* [AccountManager](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/classes/AccountManager.md)
* [NuLinkHDWallet](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/classes/NuLinkHDWallet.md)

#### Type Aliases

* [DataInfo](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/types/DataInfo.md)
* [GasInfo](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/types/GasInfo.md)

#### Data Apply Details Functions

* [getApplyDetails](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getApplyDetails.md)
* [getMultiApplyDetails](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getMultiApplyDetails.md)

#### Data Publisher(Alice) Approval Functions

* [getPolicyServerFee](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getPolicyServerFee.md)
* [getPolicyGasFee](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getPolicyGasFee.md)
* [ApprovalUseData](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/ApprovalUseData.md)
* [getPolicyTokenCost](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getPolicyTokenCost.md)
* [estimatePolicyGas](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/estimatePolicyGas.md)
* [approvalApplicationForUseData](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/approvalApplicationForUseData.md)
* [refusalApplicationForUseData](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/refusalApplicationForUseData.md)

#### Data Publisher(Alice) Approval (Multi) Functions

* [getPolicysServerFee](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getPolicysServerFee.md)
* [getPolicysGasFee](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getPolicysGasFee.md)
* [ApprovalMultiUseData](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/ApprovalMultiUseData.md)
* [getPolicysTokenCost](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getPolicysTokenCost.md)
* [estimatePolicysGas](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/estimatePolicysGas.md)
* [approvalApplicationsForUseData](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/approvalApplicationsForUseData.md)
* [refusalApplicationsForUseData](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/refusalApplicationsForUseData.md)

#### Data Publisher(Alice) Approval Details Functions

* [getDataForApprovedAsPublisher](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataForApprovedAsPublisher.md)
* [getDataForAllStatusAsPublisher](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataForAllStatusAsPublisher.md)
* [getDataByStatusForAllApplyAsPublisher](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataByStatusForAllApplyAsPublisher.md)
* [getDataAllStatusAsPublisher](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataAllStatusAsPublisher.md)
* [getDataByApplyStatusAsPublisher](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataByApplyStatusAsPublisher.md)
* [getDataPendingApprovalAsPublisher](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataPendingApprovalAsPublisher.md)
* [getApprovedDataAsPublisher](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getApprovedDataAsPublisher.md)
* [getDataForRefusedAsPublisher](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataForRefusedAsPublisher.md)
* [getDataByStatus](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataByStatus.md)

#### Data Publisher(Alice) Data Details Functions

* [checkDataApprovalStatusIsUnderReviewOrApproved](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/checkDataApprovalStatusIsUnderReviewOrApproved.md)
* [getDataInfoByStatus](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataInfoByStatus.md)
* [getUploadedData](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getUploadedData.md)
* [getDataInfosByAccount](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataInfosByAccount.md)
* [deleteUploadedData](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/deleteUploadedData.md)
* [checkDataApprovalStatusIsApprovedOrApproving](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/checkDataApprovalStatusIsApprovedOrApproving.md)
* [checkMultiDataApprovalStatusIsApprovedOrApproving](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/checkMultiDataApprovalStatusIsApprovedOrApproving.md)
* [getDataInfosByPolicyId](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataInfosByPolicyId.md)
* [getDataDetails](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataDetails.md)

#### Data Publisher(Alice) Download Data Functions

* [getDataContentAsPublisher](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataContentAsPublisher.md)
* [getDataContentByDataIdAsPublisher](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataContentByDataIdAsPublisher.md)

#### Data Publisher(Alice) Policys Functions

* [getPublishedPolicyInfos](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getPublishedPolicyInfos.md)
* [getDataInfoOfPolicy](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataInfoOfPolicy.md)
* [getAllDataInfoOfPolicy](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getAllDataInfoOfPolicy.md)
* [getPublishedPoliciesInfo](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getPublishedPoliciesInfo.md)
* [getPoliciesInfo](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getPoliciesInfo.md)

#### Data Publisher(Alice) Upload Data Functions

* [uploadDataByCreatePolicy](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/uploadDataByCreatePolicy.md)
* [uploadDataBySelectPolicy](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/uploadDataBySelectPolicy.md)

#### Data User(Bob) Approval Details Functions

* [getDataAllStatusAsUser](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataAllStatusAsUser.md)
* [getDataByApplyStatusAsUser](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataByApplyStatusAsUser.md)
* [getDataPendingApprovalAsUser](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataPendingApprovalAsUser.md)
* [getApprovedDataAsUser](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getApprovedDataAsUser.md)
* [getUnapprovedDataAsUser](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getUnapprovedDataAsUser.md)
* [getDataByStatus](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataByStatus.md)

#### Data User(Bob) Data Details Functions

* [checkDataApprovalStatusIsUnderReviewOrApproved](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/checkDataApprovalStatusIsUnderReviewOrApproved.md)
* [getDataApprovedForApplicantAsUser](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataApprovedForApplicantAsUser.md)
* [getDataByStatusForAllApplyAsUser](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataByStatusForAllApplyAsUser.md)
* [getDataInfoByStatus](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataInfoByStatus.md)
* [getOtherShareData](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getOtherShareData.md)
* [checkDataApprovalStatusIsApprovedOrApproving](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/checkDataApprovalStatusIsApprovedOrApproving.md)
* [checkMultiDataApprovalStatusIsApprovedOrApproving](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/checkMultiDataApprovalStatusIsApprovedOrApproving.md)
* [getDataDetails](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataDetails.md)

#### Data User(Bob) Download Data Functions

* [getDataForApprovedAsUser](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataForApprovedAsUser.md)
* [getApprovedFileContentUrl](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getApprovedFileContentUrl.md)
* [getApprovedDataContent](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getApprovedDataContent.md)
* [getDataContentAsUser](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataContentAsUser.md)
* [getDataContentByDataIdAsUser](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataContentByDataIdAsUser.md)

#### Data User(Bob) Policys Functions

* [getPolicyInfosAsUser](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getPolicyInfosAsUser.md)
* [getDataInfoOfPolicy](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDataInfoOfPolicy.md)
* [getAllDataInfoOfPolicy](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getAllDataInfoOfPolicy.md)
* [getInUsePoliciesInfo](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getInUsePoliciesInfo.md)
* [getPoliciesInfo](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getPoliciesInfo.md)

#### Data User(Bob) Request Data Functions

* [applyForDataUsagesPermission](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/applyForDataUsagesPermission.md)
* [applyForDataUsagePermission](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/applyForDataUsagePermission.md)
* [revokePermissionApplicationOfData](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/revokePermissionApplicationOfData.md)

#### Send Raw Transaction Functions

* [sendCustomTransaction](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/sendCustomTransaction.md)
* [estimateCustomTransactionGas](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/estimateCustomTransactionGas.md)

#### Wallet Account Functions

* [getLoginedUserInfo](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getLoginedUserInfo.md)
* [isUserLogined](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/isUserLogined.md)
* [getUserDetails](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getUserDetails.md)
* [getUserByAccountId](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getUserByAccountId.md)
* [updateUserInfo](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/updateUserInfo.md)
* [restoreWalletDataByRootExtendedPrivateKey](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/restoreWalletDataByRootExtendedPrivateKey.md)
* [restoreWalletDataByMnemonic](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/restoreWalletDataByMnemonic.md)
* [restoreWalletData](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/restoreWalletData.md)
* [exportWalletData](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/exportWalletData.md)
* [createWallet](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/createWallet.md)
* [loadWallet](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/loadWallet.md)
* [verifyPassword](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/verifyPassword.md)
* [existDefaultAccount](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/existDefaultAccount.md)
* [logoutWallet](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/logoutWallet.md)
* [getWalletDefaultAccount](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getWalletDefaultAccount.md)
* [unlockWallet](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/unlockWallet.md)
* [getMnemonic](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getMnemonic.md)
* [getDefaultAccountPrivateKey](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getDefaultAccountPrivateKey.md)
* [createAccountIfNotExist](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/createAccountIfNotExist.md)
* [IsExistAccount](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/IsExistAccount.md)
* [createAccount](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/createAccount.md)
* [getAccountInfo](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getAccountInfo.md)
* [getAccountInfos](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/getAccountInfos.md)
* [updateAccountInfo](https://github.com/NuLink-network/docs/blob/main/product/builder/sdk_api/functions/updateAccountInfo.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.nulink.org/products/dapp_builders/sdk_api/modules.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
