Skip to main content

createWallet

PlatformAPI

POST /v1/createWallet

CreateWallet creates a wallet. Wallets created will be EOA wallets. You are responsible for completing a sanity tests before using the wallet. While the response contains the public key, you are strongly discouraged from using it to generate the wallet address yourself. Instead, use the address returned in the response.
Body
vaultUuidstring
vault_uuid is the UUID of the vault that the wallet will be created in.You can find it in the settings page of your vault on the web.
callbackClientSignerPublicKeystring
callback_client_signer_public_key is the public key of the api client signer. It is used to identify the where we should send the callback to.
networkType NetworkType
network_type is the type of the network.
refstring
ref is the customer reference field for the wallet. It has to be unique if not empty.max length is 500 characters.
namestring
name is the name for the wallet. max length is 85 characters.
Example:
{
vaultUuid: 12789f5ee5fb-07f5-470c-a2ff-081e2d6d107a
callbackClientSignerPublicKey: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL3OzFAKNGHsMtBpTemiAI3V1AxRsdeghjcmkidagdk test
networkType: 1
ref: 0x4321567890abcdef4321567890abcdef123456
name: test wallet
}
Response
detailsWallet
errorError
Example:
{
details:
error:
}

enum_types

enum mpcvault.platform.v1.NetworkType

0
NETWORK_TYPE_UNKNOWN
1
NETWORK_TYPE_EVM
2
NETWORK_TYPE_BITCOIN
3
NETWORK_TYPE_TRON
4
NETWORK_TYPE_APTOS
5
NETWORK_TYPE_SUI
6
NETWORK_TYPE_SOLANA
7
NETWORK_TYPE_TON