Owner-approved local Anvil vault onboarding
curl --request POST \
--url http://localhost:4100/v1/yield/vault/deposit/submit \
--header 'Content-Type: application/json' \
--data '
{
"draftId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"owner": "<string>",
"account": "<string>",
"signature": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
draftId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
owner: '<string>',
account: '<string>',
signature: '<string>'
})
};
fetch('http://localhost:4100/v1/yield/vault/deposit/submit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"kind": "owner_deposit",
"account": "<string>",
"vault": "<string>",
"asset": "<string>",
"amount": "<string>",
"shares": "<string>",
"userOpHash": "<string>",
"txHash": "<string>"
}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/deposit/submit \
--header 'Content-Type: application/json' \
--data '
{
"draftId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"owner": "<string>",
"account": "<string>",
"signature": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
draftId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
owner: '<string>',
account: '<string>',
signature: '<string>'
})
};
fetch('http://localhost:4100/v1/yield/vault/deposit/submit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"kind": "owner_deposit",
"account": "<string>",
"vault": "<string>",
"asset": "<string>",
"amount": "<string>",
"shares": "<string>",
"userOpHash": "<string>",
"txHash": "<string>"
}Body
application/json
Response
Verified owner onboarding result