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
detailsobject
vaultUuidstring
vault_uuid is the UUID of the vault that the wallet was created in.
keyType KeyType
key_type is the type of the key.
keyPathstring
key_path is the path of the key.
publicKeybytes
public_key is the public key of the key.
networkType NetworkType
network_type is the type of the network.
addressstring
address is the address of the wallet in the network.
refstring
ref is unique identifier for the wallet as configured by the user.
status is the status of the wallet.
namestring
name is the name for the wallet.
errorError
Example:
{
details:
{
vaultUuid: 12789f5ee5fb-07f5-470c-a2ff-081e2d6d107a
keyType: 1
keyPath: path/to/key
publicKey: 0x71C7656EC7ab88bd32g47dgdhhssq245f6d8976F
networkType: 1
address: 8HrKVJeFNGSJ2T2wSU6MxfMvua2MYgwH1FbRs d f r g t h j
ref: 0x4321567890abcdef4321567890abcdef123456
status: 1
name: test wallet
}
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

enum mpcvault.platform.v1.KeyType

0
KEY_TYPE_UNSPECIFIED
1
KEY_TYPE_ECC_SECP256K1
2
KEY_TYPE_ECC_ED25519

enum mpcvault.platform.v1.Wallet.Status

0
STATUS_UNSPECIFIED
1
STATUS_PENDING
2
STATUS_ACTIVE
3
STATUS_ARCHIVED