Owner-approved local Anvil vault onboarding
curl --request POST \
--url http://localhost:4100/v1/yield/vault/create/prepare \
--header 'Content-Type: application/json' \
--data '
{
"owner": "<string>",
"index": "<string>",
"profileId": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({owner: '<string>', index: '<string>', profileId: '<string>'})
};
fetch('http://localhost:4100/v1/yield/vault/create/prepare', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"draftId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"chainId": "8453",
"owner": "<string>",
"account": "<string>",
"factory": "<string>",
"profileId": "<string>",
"index": "<string>",
"nonce": "<string>",
"expiresAt": "<string>",
"intentDigest": "<string>",
"alreadyDeployed": true
}Yield
Owner-approved local Anvil vault onboarding
No public-chain writes. Preparations expire after five minutes. Duplicate submissions refuse. Deposit is an owner operation and never agent action evidence.
Owner-approved local Anvil vault onboarding
curl --request POST \
--url http://localhost:4100/v1/yield/vault/create/prepare \
--header 'Content-Type: application/json' \
--data '
{
"owner": "<string>",
"index": "<string>",
"profileId": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({owner: '<string>', index: '<string>', profileId: '<string>'})
};
fetch('http://localhost:4100/v1/yield/vault/create/prepare', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"draftId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"chainId": "8453",
"owner": "<string>",
"account": "<string>",
"factory": "<string>",
"profileId": "<string>",
"index": "<string>",
"nonce": "<string>",
"expiresAt": "<string>",
"intentDigest": "<string>",
"alreadyDeployed": true
}Body
application/json
Response
Verified owner onboarding result