/updatePositionPermit
POST
/updatePositionPermitRequest
Body Params application/json
chainId
enum<number>
required
The chain id of the network. Must be one of the chains supported by Aperture.
Allowed values:
1421615421613
Example:
1
tokenId
string
required
The nonfungible token id of the position.
>= 1 characters
permitInfo
object
required
Information about a "permit" message signed by the position owner authorizing Aperture UniV3 Automan contract to trigger actions on the position. See https://eips.ethereum.org/EIPS/eip-4494 for information on the "permit" approval flow.
signature
string
required
A raw signature of the ERC-712 typed message described in ERC-4494; the signature can be generated, for example, by https://docs.ethers.org/v5/api/signer/#Signer-signTypedData.
>= 1 characters
deadline
string
required
Unix timestamp in seconds indicating deadline for the signed "permit".
>= 1 characters
Example
{
"chainId": 1,
"tokenId": "string",
"permitInfo": {
"signature": "string",
"deadline": "string"
}
}
Request samples
Responses
Position permit updated successfully.(200)
Bad Request(400)
Internal Server Error(500)
Position permit updated successfully.
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: a year ago