cURL
curl --request POST \
--url http://localhost:4100/v1/delegations/{id}/revoke \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4100/v1/delegations/{id}/revoke', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"intentType": "delegation_freeze",
"userOp": {
"chainId": 8453,
"sender": "<string>",
"nonce": "<string>",
"callData": "<string>",
"callGasLimit": "<string>",
"verificationGasLimit": "<string>",
"preVerificationGas": "<string>",
"maxFeePerGas": "<string>",
"maxPriorityFeePerGas": "<string>",
"signature": "0x",
"entryPoint": "<string>",
"factory": "<string>",
"factoryData": "<string>",
"paymaster": "<string>",
"paymasterVerificationGasLimit": "<string>",
"paymasterPostOpGasLimit": "<string>",
"paymasterData": "<string>"
},
"userOpHash": "<string>",
"humanSummary": "<string>",
"riskReducing": true,
"instant": true,
"gasless": true
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}Delegations
Post v1delegations revoke
cURL
curl --request POST \
--url http://localhost:4100/v1/delegations/{id}/revoke \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4100/v1/delegations/{id}/revoke', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"intentType": "delegation_freeze",
"userOp": {
"chainId": 8453,
"sender": "<string>",
"nonce": "<string>",
"callData": "<string>",
"callGasLimit": "<string>",
"verificationGasLimit": "<string>",
"preVerificationGas": "<string>",
"maxFeePerGas": "<string>",
"maxPriorityFeePerGas": "<string>",
"signature": "0x",
"entryPoint": "<string>",
"factory": "<string>",
"factoryData": "<string>",
"paymaster": "<string>",
"paymasterVerificationGasLimit": "<string>",
"paymasterPostOpGasLimit": "<string>",
"paymasterData": "<string>"
},
"userOpHash": "<string>",
"humanSummary": "<string>",
"riskReducing": true,
"instant": true,
"gasless": true
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}Authorizations
Response
Success.