CreateWalletAddress
Changed onGenerates a new address in a wallet for the specificied blockchain network.
The address is derived from the appropriate MPC key that is used by that blockchain, i.e. ECDSA for Bitcoin and Ethereum, and EdDSA for Solana. The MPC key will be selected automatically for you. If a key is not available, an error will be returned.
Currently, creation of multiple addresses is supported only for UTXO-based blockchains.
Addresses in the EVM protocol family (Ethereum, Binance Smart Chain, etc.) generated in the same wallet will share the same address. This abstraction is useful for DeFi applications, where identical addresses are used across multiple blockchains.
Request
- Base URLhttps://api.utila.io
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/utila/apis/utila-api/docs/v2/vaults/:vault_id/wallets/:wallet_id/addresses/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
Request body
Example request
{
"name": "vaults/1b25635a5b3f/wallets/67af44031584/addresses/519c67ddae33",
"displayName": "Hal's Address 3",
"network": "networks/bitcoin-mainnet",
"address": "bc1q04pum57enmfgcu3tu5gwqlmza5n7tchky0gjvu",
"key": "vaults/1b25635a5b3f/keys/95257c5a522f",
"keyDerivationPath": [
44,
0,
0,
0,
3
],
"note": "This is a note"
}Response
A successful response.
Example response
{
"walletAddress": {
"name": "vaults/1b25635a5b3f/wallets/67af44031584/addresses/519c67ddae33",
"displayName": "Hal's Address 3",
"network": "networks/bitcoin-mainnet",
"address": "bc1q04pum57enmfgcu3tu5gwqlmza5n7tchky0gjvu",
"key": "vaults/1b25635a5b3f/keys/95257c5a522f",
"keyDerivationPath": [
44,
0,
0,
0,
3
],
"note": "This is a note"
}
}Changes
- info
added the new optional request property
- info
added the optional property
/to the response with the status
- info