{ "opencollection": "1.0.0", "info": { "name": "Web3 Partner API v3 account external_wallets API", "version": "3.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "external_wallets", "type": "folder" }, "items": [ { "info": { "name": "Get wallet verification to sign", "type": "http" }, "http": { "method": "GET", "url": "https://api.unstoppabledomains.com/partner/v3/account/wallets/:address/verification", "params": [ { "name": "address", "value": "", "type": "path" } ] }, "docs": "In order to use an self-custody wallet within the API, you must first use it to sign a verification message. This endpoint will provide the specific substring that needs to be signed.\n\nThe response `message` is meant to be included in `personal_sign` request for the wallet owner to sign. The exact message that is signed simply needs to include the response `message`, so you can include some human-friendly text, as well.\n" }, { "info": { "name": "Submit signed wallet verification", "type": "http" }, "http": { "method": "POST", "url": "https://api.unstoppabledomains.com/partner/v3/account/wallets/:address/verification", "params": [ { "name": "address", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "After signing the [verification message](/openapi/partner/v3/#operation/getExternalWalletVerification), submit the signature to have the self-custody wallet registered as a verified external wallet for management operations.\n\nIf the message the owner signed was not the exact `message` from the [verification response](/openapi/partner/v3/#operation/getExternalWalletVerification), you must also provide the exact message in the request body. It should be the non-hex string used in the `personal_sig" }, { "info": { "name": "Get list of self-custody wallets", "type": "http" }, "http": { "method": "GET", "url": "https://api.unstoppabledomains.com/partner/v3/external/wallets", "params": [ { "name": "$cursor", "value": "", "type": "query" }, { "name": "type", "value": "", "type": "query" }, { "name": "$expand", "value": "", "type": "query" } ] }, "docs": "These wallets are verified `EXTERNAL` wallets that you can use for initiating self-custody domain operations. Any operation initiated for one of these wallets requires an external signature.\n" }, { "info": { "name": "Get self-custody wallet", "type": "http" }, "http": { "method": "GET", "url": "https://api.unstoppabledomains.com/partner/v3/external/wallets/:address", "params": [ { "name": "address", "value": "", "type": "path" }, { "name": "$expand", "value": "", "type": "query" } ] }, "docs": "Get details for a single self-custody wallet that has verified for your account.\n\nInclude the `?$expand=primaryDomain` to include the wallet's Primary Domain (also known as the Reverse Resolution) in the response.\n" }, { "info": { "name": "Update self-custody wallet", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.unstoppabledomains.com/partner/v3/external/wallets/:address", "params": [ { "name": "address", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update details for a specific self-custody wallet in your account.\n\nThis can be used to set (or clear) the Primary Domain (also known as the Reverse Resolution) for a domain.\n\nTo clear the Primary Domain for a wallet, pass a `null` value for the `primaryDomain` property within the request body.\n\n**Note**: This will create an operation that requires a signature from the self-custody wallet owner.\n" } ] } ], "bundled": true }