Wallet API
Create Watch-Only Account

Create Watch-Only Account#

Bind multiple addresses to create a watch-only account, enabling aggregated queries of assets and transaction history.

The number of addresses supported for aggregation in a watch-only account is capped based on the number of our supported networks.

Additionally, for asset query functions, the watch-only account cannot add custom tokens of interest and defaults to displaying asset supported by OnchainOS.

Request Path#

POST https://www.okx.com/api/v5/waas/wallet/account/create-watch-only-account

Request Parameters#

addressesArrayYesList of addresses. (Maximum 50 addresses per call, for subsequent additions, use Update Account)
>chainIndexStringYesUnique identifier of the chain

Response Parameters#

accountIdStringUnique identifier of the wallet account

Request Example#

curl --location --request POST 'https://www.okx.com/api/v5/waas/wallet/account/create-watch-only-account' \
--header 'Content-Type: application/json' \
--header 'OK-ACCESS-PROJECT: 86af********d1bc' \
--header 'OK-ACCESS-KEY: 37c541a1-****-****-****-10fe7a038418' \
--header 'OK-ACCESS-SIGN: leaV********3uw=' \
--header 'OK-ACCESS-PASSPHRASE: 1****6' \
--header 'OK-ACCESS-TIMESTAMP: 2023-10-18T12:21:41.274Z' \
--data-raw '{
    "addresses": [

Response Example#

    "code": "0",
    "data": [
            "accountId": "13886e05-1265-4b79-8ac3-b7ab46217655"
    "msg": "success"