Derive (and persist) a smart wallet address from (owner, salt, factory)
Changed onIdempotent "ensure exists". Returns the deterministic CREATE2-derived address. POST (not GET) because it persists a wallet record server-side as a side effect of the derivation. Authorize with a user Bearer JWT or a partner assertion (scope: read) whose sub is the owner EOA.
Request
- Base URLhttps://api.avaprotocol.org/api/v1
- Auth
- HTTP bearer
- or API key in header X-Partner-Assertion
Request body
Example request
{
"factoryAddress": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB",
"chainId": 11155111
}Response
Wallet derived (existing record returned if already present).
Example response
{
"address": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB",
"factoryAddress": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB",
"delegate": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB"
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info