You may use the POST /v1/custody/new_addresses/ endpoint to batch-generate addresses under a Custodial Wallet.
To batch-generate addresses under an MPC Wallet, you may use the POST /v1/custody/mpc/generate_addresses/ endpoint instead. A maximum of 200 addresses can be generated in a single request.
How to verify whether a withdraw address is legitimate?
Show Answer
You can use the GET /v1/custody/is_valid_address/ endpoint to query whether a withdraw address under a Custodial Wallet is legitimate.
For an MPC Wallet, please use the GET /v1/custody/mpc/is_valid_address/ endpoint instead. If the response returns an zero, it indicates that the address is deemed invalid. If you are using WaaS 2.0, validate addresses with the Check address validity operation instead. For more information, see Validate addresses.