Skip to content

Instantly share code, notes, and snippets.

@dmulvi
Created February 9, 2024 20:08
Show Gist options
  • Save dmulvi/1205ae04426d1b1e04127de3e3848a06 to your computer and use it in GitHub Desktop.
Save dmulvi/1205ae04426d1b1e04127de3e3848a06 to your computer and use it in GitHub Desktop.
Create a Crossmint custodial wallet
const options = {
method: "POST",
headers: {
"X-API-KEY": "YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
chain: "ethereum",
email: "testy@test.xyz",
}),
};
fetch("https://staging.crossmint.com/api/v1-alpha1/wallets", options)
.then((response) => response.json())
.then((response) => console.log(response))
.catch((err) => console.error(err));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment