Prepare exact policy and Nexus owner digest for review
curl --request POST \
--url http://localhost:4100/v1/yield/onboarding/mandate/prepare \
--header 'Content-Type: application/json' \
--data '
{
"account": "<string>",
"profileId": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({account: '<string>', profileId: '<string>'})
};
fetch('http://localhost:4100/v1/yield/onboarding/mandate/prepare', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"draftId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mandateId": "<string>",
"policy": "<string>",
"ownerDigest": "<string>",
"ownerDomain": {
"name": "<string>",
"version": "<string>",
"chainId": "8453",
"verifyingContract": "<string>"
},
"terms": {}
}Yield
Prepare exact policy and Nexus owner digest for review
Prepare exact policy and Nexus owner digest for review
curl --request POST \
--url http://localhost:4100/v1/yield/onboarding/mandate/prepare \
--header 'Content-Type: application/json' \
--data '
{
"account": "<string>",
"profileId": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({account: '<string>', profileId: '<string>'})
};
fetch('http://localhost:4100/v1/yield/onboarding/mandate/prepare', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"draftId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mandateId": "<string>",
"policy": "<string>",
"ownerDigest": "<string>",
"ownerDomain": {
"name": "<string>",
"version": "<string>",
"chainId": "8453",
"verifyingContract": "<string>"
},
"terms": {}
}Body
application/json
Response
Sealed mandate draft to check before owner signing