POST
/
creation
/
smart-contract
curl --request POST \
  --url https://dev-api.rootkey.ai/api-v1/creation/smart-contract \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --form 'ownerWallet=<string>' \
  --form type=rootkey \
  --form subType=sec1 \
  --form 'privateKey=<string>' \
  --form 'expirationDate=<string>'
This response does not have an example.

Authorizations

x-api-key
string
header
required

Body

multipart/form-data
ownerWallet
string

The name of the wallet

type
enum<string>

The description of the wallet to help you organize your data

Available options:
rootkey
subType
enum<string>

The description of the wallet to help you organize your data

Available options:
sec1
privateKey
string

The description of the wallet to help you organize your data

expirationDate
string

The description of the wallet to help you organize your data

file
file

Response

201
_mintlify/placeholder

Wallet created successfully