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 withdrawal address is legitimate?
You can use the GET /v1/custody/is_valid_address/ endpoint to query whether a withdrawal 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.