Skip to main content
POST
Create file version

Authorizations

x-api-key
string
header
required

ROOTKey API key (rk_live_... for production, rk_test_... for the test network).

Path Parameters

parentId
string
required

Body

multipart/form-data
file
file
required
ownerVault
string
required
Example:

"0xdf67CA8286510997567685c0385ECeAb11C23C92"

fileName
string
expirationDate
string<date-time>

Response

New version anchored

chainId
number
required
Example:

137

transactionHash
string
required

On-chain transaction hash of the anchoring transaction

Example:

"0xabc123..."