Create Wallets
POST {{baseUrl}}/developer/wallets
Once again, idempotency key and entity secret ciphertext are automatically generated by the included scripts. Additionally, the variable for wallet set ID allows me to associate this wallet with the set I just created. The only things I need to specify are the names and blockchains.
Generates a new developer-controlled wallet or batch of wallets within a wallet set, specifying blockchain and wallet name.
https://developers.circle.com/w3s/reference/createdeveloperwallet
Request Body
{"blockchains"=>["ETH-SEPOLIA", "AVAX-FUJI"], "metadata"=>[{"name"=>"sample name", "refId"=>"abc123"}], "count"=>1, "entitySecretCiphertext"=>"{{entitySecretCiphertext}}", "accountType"=>"SCA", "idempotencyKey"=>"{{$guid}}", "walletSetId"=>"{{walletSetId}}"}
RESPONSES
status: Created
{"data":{"wallets":[{"id":"f3b3cd4c-0bf0-56a0-8624-de1e92bfe49b","state":"LIVE","walletSetId":"018d42a6-a2ca-7d83-821a-f5230953b6f2","custodyType":"DEVELOPER","refId":"abc123","name":"sample name","address":"0xb4adc5f0b7f542329b9a3afdb06bfc1655acbdb7","blockchain":"ETH-GOERLI","accountType":"EOA","updateDate":"2024-01-25T22:05:27Z","createDate":"2024-01-25T22:05:27Z"},{"id":"8eb49015-eead-5c4d-95ee-e352f9fcfd7a","state":"LIVE","walletSetId":"018d42a6-a2ca-7d83-821a-f5230953b6f2","custodyType":"DEVELOPER","refId":"abc123","name":"sample name","address":"0xb4adc5f0b7f542329b9a3afdb06bfc1655acbdb7","blockchain":"AVAX-FUJI","accountType":"EOA","updateDate":"2024-01-25T22:05:27Z","createDate":"2024-01-25T22:05:27Z"}]}}